From 9b1ba47ad9768e8ef096e3d34865dbce3d5ec7f5 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Mon, 1 Apr 2024 12:54:43 -0300 Subject: [PATCH] fix(basic.gblib): #411 neutralization. --- packages/whatsapp.gblib/services/WhatsappDirectLine.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 33c4dced..7c9be1dd 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -139,11 +139,13 @@ export class WhatsappDirectLine extends GBService { const minBoot = GBServer.globals.minBoot; // Initialize the browser using a local profile for each bot. const path = DialogKeywords.getGBAIPath(this.min.botId); + const webVersion = '2.2411.2'; const localName = Path.join('work', path, 'profile'); const createClient = () => { const client = (this.customClient = new Client({ puppeteer: GBSSR.preparePuppeteer(localName) - + , webVersionCache: { type: 'remote', + remotePath: `https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${webVersion}.html` } })); client.on( 'message',