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"], }, });