change qr code color

change the qr code color to better visibility and Scan
This commit is contained in:
aurik3
2022-11-29 10:02:39 -05:00
parent 477ecbae8b
commit b5323ed423
3 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ function sendQr(res) {
text: "${last_qr}",
radius: 0.5, // 0.0 to 0.5
ecLevel: "H", // L, M, Q, H
fill: "#536DFE", // foreground color
fill: "#000000", // foreground color
background: null, // color or null for transparent
size: 256, // in pixels
}, container);

16
package-lock.json generated
View File

@@ -7,7 +7,7 @@
"": {
"name": "whatsapp-node-api",
"version": "0.0.3",
"license": "CC-BY-NC",
"license": "GNLU3",
"dependencies": {
"axios": "^0.21.4",
"body-parser": "^1.19.2",
@@ -19,7 +19,7 @@
"request": "^2.88.2",
"shelljs": "^0.8.5",
"valid-url": "^1.0.9",
"whatsapp-web.js": "^1.18.0"
"whatsapp-web.js": "^1.18.4"
}
},
"node_modules/@pedroslopez/moduleraid": {
@@ -2519,9 +2519,9 @@
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
},
"node_modules/whatsapp-web.js": {
"version": "1.18.0",
"resolved": "https://registry.npmjs.org/whatsapp-web.js/-/whatsapp-web.js-1.18.0.tgz",
"integrity": "sha512-3cCW28/w7llZmTgiO9osumaopOuBBduvyuW02yfy3q9Rz4Wq9Oe1dRedE/kkq764zB8AZcuTs0tE8OKTq2Zobw==",
"version": "1.18.4",
"resolved": "https://registry.npmjs.org/whatsapp-web.js/-/whatsapp-web.js-1.18.4.tgz",
"integrity": "sha512-Dqu6Q37tDDAcVJ44aMdRE76sI/9rBCUG+NTz1Kxh2w4obX2WtpoRetilxqgx1r4+pFUl58Lf21wGOEwPZ1pT/A==",
"dependencies": {
"@pedroslopez/moduleraid": "^5.0.2",
"fluent-ffmpeg": "^2.1.2",
@@ -4550,9 +4550,9 @@
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
},
"whatsapp-web.js": {
"version": "1.18.0",
"resolved": "https://registry.npmjs.org/whatsapp-web.js/-/whatsapp-web.js-1.18.0.tgz",
"integrity": "sha512-3cCW28/w7llZmTgiO9osumaopOuBBduvyuW02yfy3q9Rz4Wq9Oe1dRedE/kkq764zB8AZcuTs0tE8OKTq2Zobw==",
"version": "1.18.4",
"resolved": "https://registry.npmjs.org/whatsapp-web.js/-/whatsapp-web.js-1.18.4.tgz",
"integrity": "sha512-Dqu6Q37tDDAcVJ44aMdRE76sI/9rBCUG+NTz1Kxh2w4obX2WtpoRetilxqgx1r4+pFUl58Lf21wGOEwPZ1pT/A==",
"requires": {
"@pedroslopez/moduleraid": "^5.0.2",
"archiver": "^5.3.1",

View File

@@ -34,6 +34,6 @@
"request": "^2.88.2",
"shelljs": "^0.8.5",
"valid-url": "^1.0.9",
"whatsapp-web.js": "^1.18.0"
"whatsapp-web.js": "^1.18.4"
}
}