Skip to content

Commit

Permalink
whatsapp-web.js: use pre-release v1.22.2-alpha.0
Browse files Browse the repository at this point in the history
"version": "0.22.1-alpha.0",

changelog:
- update package.json
- add puppeteer level log verbose

Signed-off-by: Salman Wahib <[email protected]>
  • Loading branch information
sxlmnwb committed Aug 30, 2023
1 parent 7565ba9 commit e725e48
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (C) 2023 Salman Wahib (sxlmnwb)
// Copyright (C) 2023 sxlzptprjkt And NodeX Emperor, LLC
//

require('dotenv').config();
Expand Down
17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
{
"name": "cosmos_wabot",
"version": "0.0.1",
"description": "",
"version": "0.22.1-alpha.0",
"description": "A whatsapp monitoring bot build on NodeJS for Cosmos-Hub Universe",
"main": "./index.js",
"scripts": {
"build": "babel src -d dist",
"start": "node index.js"
},
"author": "sxlmnwb",
"author": "Salman Wahib",
"license": "MIT License",
"bugs": {
"url": "https://github.com/nodexemperor/cosmos_wabot/issues"
},
"dependencies": {
"axios": "^1.4.0",
"axios-retry": "^3.6.0",
"chalk": "^4.1.2",
"dotenv": "^16.3.1",
"is-root": "^3.0.0",
"ping": "^0.4.4",
"puppeteer": "^21.1.1",
"qrcode-terminal": "^0.12.0",
"validator": "^13.9.0",
"whatsapp-web.js": "^1.22.1"
"whatsapp-web.js": "^1.22.2-alpha.0"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.9"
},
"engines": {
"node": ">=18.0.0"
}
}
3 changes: 2 additions & 1 deletion src/startWhatsapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ module.exports = async function startWhatsapp() {
const client = new Client({
puppeteer: {
args: puppeteerArgs
}
},
logLevel: 'verbose'
});

client.on('qr', async (qr) => {
Expand Down

0 comments on commit e725e48

Please sign in to comment.