From 53b57efdb7ab83a0b446dccb06d0ebe451502129 Mon Sep 17 00:00:00 2001 From: Igor Graziano Date: Thu, 19 Sep 2024 20:54:13 -0300 Subject: [PATCH] added version track --- package.json | 5 +++++ src/index.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 657f3e1..ba58965 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,11 @@ { "name": "whatsapp-sticker-bot", "module": "src/index.ts", + "version": "1.0.0", + "author": { + "name": "Igor Graziano", + "email": "igorrsgraziano@gmail.com" + }, "type": "module", "scripts": { "start": "node dist/index.js", diff --git a/src/index.ts b/src/index.ts index 98f47ff..21bd8c9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,6 @@ if (!fs.existsSync(process.env.TEMP_DIR)) { const client = new Client({ authStrategy: new WhatsApp.LocalAuth({ dataPath: process.env.TEMP_DIR + "/auth" }), puppeteer: { - headless: true, args: ["--no-sandbox", "--disable-setuid-sandbox"], }, });