diff --git a/package.json b/package.json index 020d03e16c..8a53f26c5c 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ } }, "dependencies": { - "@wppconnect-team/wppconnect": "^1.22.0", + "@wppconnect-team/wppconnect": "^1.23.0", "axios": "^1.3.4", "bcrypt": "^5.1.0", "buffer-to-stream": "1.0.0", diff --git a/yarn.lock b/yarn.lock index fd4b200547..dff3b0c869 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2487,15 +2487,15 @@ resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.1.tgz#34bdc31727a1889198855913db2f270ace6d7bf8" integrity sha512-0G7tNyS+yW8TdgHwZKlDWYXFA6OJQnoLCQvYKkQP0Q2X205PSQ6RNUj0M+1OB/9gRQaUZ/ccYfaxd0nhaWKfjw== -"@wppconnect-team/wppconnect@^1.22.0": - version "1.22.0" - resolved "https://registry.yarnpkg.com/@wppconnect-team/wppconnect/-/wppconnect-1.22.0.tgz#9875eaca1f0a5c70154e8aa670b1f06f5c9cee8b" - integrity sha512-nTTLNQ+4Sjt40+ySf0yJku5gBY8NMWArtQyEbbRqRb/yMcfSV8EH0yr4VcFJCFcygA8LAvUsO+I1gzARPOLq1A== +"@wppconnect-team/wppconnect@^1.23.0": + version "1.23.0" + resolved "https://registry.yarnpkg.com/@wppconnect-team/wppconnect/-/wppconnect-1.23.0.tgz#ac4ec3c103eb261d011f09a79f2ea91152e46f99" + integrity sha512-thqHkqxw0smYsWU4BSCbwAdWztiNbikmhg/Il+Lzz4zMTtp4s48p18J0DF77RG2i2dZvSPUqt6VVbdBMrPo6eQ== dependencies: - "@wppconnect/wa-js" "^2.19.1" - "@wppconnect/wa-version" "^1.1.257" + "@wppconnect/wa-js" "^2.22.0" + "@wppconnect/wa-version" "^1.2.5" atob "^2.1.2" - axios "^1.3.3" + axios "^1.3.4" boxen "^5.1.2" catch-exit "^1.2.2" chalk "~4.1.2" @@ -2507,11 +2507,11 @@ logform "^2.5.1" lookpath "^1.2.2" mime-types "^2.1.35" - puppeteer "^19.7.1" - puppeteer-extra "^3.3.4" - puppeteer-extra-plugin-stealth "^2.11.1" - puppeteer-extra-plugin-user-data-dir "^2.4.0" - puppeteer-extra-plugin-user-preferences "^2.4.0" + puppeteer "^19.7.3" + puppeteer-extra "^3.3.6" + puppeteer-extra-plugin-stealth "^2.11.2" + puppeteer-extra-plugin-user-data-dir "^2.4.1" + puppeteer-extra-plugin-user-preferences "^2.4.1" qrcode-terminal "^0.12.0" reflect-metadata "^0.1.13" rimraf "^3.0.2" @@ -2520,19 +2520,19 @@ tmp "^0.2.1" tree-kill "^1.2.2" winston "^3.8.2" - ws "^8.12.0" + ws "^8.12.1" optionalDependencies: fsevents "^2.3.2" -"@wppconnect/wa-js@^2.19.1": - version "2.19.1" - resolved "https://registry.yarnpkg.com/@wppconnect/wa-js/-/wa-js-2.19.1.tgz#c66b7aa6638b7523222fa7438fa1d412d96338aa" - integrity sha512-jJqd6hHA9pfifwnTf+C896QVLMmV31bV3c7FAg1h7W2tB/pxzfCU6Y0RpqpFCX3rtu4e3Wc3eQvCf1dJZY7G1Q== +"@wppconnect/wa-js@^2.22.0": + version "2.22.0" + resolved "https://registry.yarnpkg.com/@wppconnect/wa-js/-/wa-js-2.22.0.tgz#a3845fc10bd3a30b4cb4da353422bfed2aa6736b" + integrity sha512-TWwVkYEyG+IftPCQbKag7nuN0dE30pp2jmVIjs5KRW1R1Eq9X85qy0KJpMW9teWlKzTU0awFQvHn/t0L6k8iXw== -"@wppconnect/wa-version@^1.1.257": - version "1.1.257" - resolved "https://registry.yarnpkg.com/@wppconnect/wa-version/-/wa-version-1.1.257.tgz#348a54ae3440286e5a99265ae76d4c7c135605ea" - integrity sha512-3Gxel+f0f2FYu4LQVnv6aUa/ubTtRSZtzOU3PF7lyXlSuxnvVsQhYWeEMN4y7yYr88VDm6ezuNq4yI/9xLmQuA== +"@wppconnect/wa-version@^1.2.5": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@wppconnect/wa-version/-/wa-version-1.2.5.tgz#8a4bc78f24d917a1e72fd1bd469182e93aa39aac" + integrity sha512-Fxg+CirLQn7fPwi43E7LtnLeVGbltGPtkzB/snwJ2dKWYL5CG5JM6QMRPlKKFBEO1PVI+PVcxHF0QLxmWb5NGg== dependencies: node-fetch "^2.6.9" semver "^7.3.8" @@ -2808,15 +2808,6 @@ aws-sdk@^2.1333.0: uuid "8.0.0" xml2js "0.4.19" -axios@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.3.3.tgz#e7011384ba839b885007c9c9fae1ff23dceb295b" - integrity sha512-eYq77dYIFS77AQlhzEL937yUBSepBfPIe8FcgEDN35vMNZKMrs81pgnyrQpwfy4NF4b4XWX1Zgx7yX+25w8QJA== - dependencies: - follow-redirects "^1.15.0" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - axios@^1.3.4: version "1.3.4" resolved "https://registry.yarnpkg.com/axios/-/axios-1.3.4.tgz#f5760cefd9cfb51fd2481acf88c05f67c4523024" @@ -3222,6 +3213,13 @@ chrome-launcher@^0.15.1: is-wsl "^2.2.0" lighthouse-logger "^1.0.0" +chromium-bidi@0.4.4: + version "0.4.4" + resolved "https://registry.yarnpkg.com/chromium-bidi/-/chromium-bidi-0.4.4.tgz#44f25d4fa5d2f3debc3fc3948d0657194cac4407" + integrity sha512-4BX5cSaponuvVT1+SbLYTOAgDoVtX/Khoc9UsbFJ/AsPVUeFAM3RiIDFI6XFhLYMi9WmVJqh1ZH+dRpNKkKwiQ== + dependencies: + mitt "3.0.0" + ci-info@^3.2.0: version "3.8.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" @@ -3725,20 +3723,20 @@ cosmiconfig-typescript-loader@^4.0.0: resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz#c4259ce474c9df0f32274ed162c0447c951ef073" integrity sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q== -cosmiconfig@8.0.0, cosmiconfig@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.0.0.tgz#e9feae014eab580f858f8a0288f38997a7bebe97" - integrity sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ== +cosmiconfig@8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.1.0.tgz#947e174c796483ccf0a48476c24e4fefb7e1aea8" + integrity sha512-0tLZ9URlPGU7JsKq0DQOQ3FoRsYX8xDZ7xMiATQfaiGMz7EHowNkbU9u1coAOmnh9p/1ySpm0RB3JNWRXM5GCg== dependencies: import-fresh "^3.2.1" js-yaml "^4.1.0" parse-json "^5.0.0" path-type "^4.0.0" -cosmiconfig@8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.1.0.tgz#947e174c796483ccf0a48476c24e4fefb7e1aea8" - integrity sha512-0tLZ9URlPGU7JsKq0DQOQ3FoRsYX8xDZ7xMiATQfaiGMz7EHowNkbU9u1coAOmnh9p/1ySpm0RB3JNWRXM5GCg== +cosmiconfig@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.0.0.tgz#e9feae014eab580f858f8a0288f38997a7bebe97" + integrity sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ== dependencies: import-fresh "^3.2.1" js-yaml "^4.1.0" @@ -6440,6 +6438,11 @@ minizlib@^2.1.1: minipass "^3.0.0" yallist "^4.0.0" +mitt@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/mitt/-/mitt-3.0.0.tgz#69ef9bd5c80ff6f57473e8d89326d01c414be0bd" + integrity sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ== + mixin-object@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/mixin-object/-/mixin-object-2.0.1.tgz#4fb949441dab182540f1fe035ba60e1947a5e57e" @@ -7312,79 +7315,80 @@ pupa@^3.1.0: dependencies: escape-goat "^4.0.0" -puppeteer-core@19.7.1: - version "19.7.1" - resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-19.7.1.tgz#6f5326ba0a97a7ba63f8f986c3971e31ef42d871" - integrity sha512-4b5Go25IA+0xrUIw0Qtqi4nxc0qwdu/C7VT1+tFPl1W27207YT+7bxfANC3PjXMlS6bcbzinCf5YfGqMl8tfyQ== +puppeteer-core@19.7.4: + version "19.7.4" + resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-19.7.4.tgz#00706955bad1d651450c662a9e91662c29200d5f" + integrity sha512-E8nVhqGF0ZM7s9pb5849gzKFG7282WYZaeGXo/eYDkpUpcPUgmkj7QrAoa8SpFXXyqHHilHJZPbfVBb4foDazQ== dependencies: + chromium-bidi "0.4.4" cross-fetch "3.1.5" debug "4.3.4" devtools-protocol "0.0.1094867" extract-zip "2.0.1" https-proxy-agent "5.0.1" proxy-from-env "1.1.0" - rimraf "3.0.2" + rimraf "4.4.0" tar-fs "2.1.1" unbzip2-stream "1.4.3" - ws "8.11.0" + ws "8.12.1" -puppeteer-extra-plugin-stealth@^2.11.1: - version "2.11.1" - resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin-stealth/-/puppeteer-extra-plugin-stealth-2.11.1.tgz#7d56a27a986cb5eb69dca3c65695ad6444f4e822" - integrity sha512-n0wdC0Ilc9tk5L6FWLyd0P2gT8b2fp+2NuB+KB0oTSw3wXaZ0D6WNakjJsayJ4waGzIJFCUHkmK9zgx5NKMoFw== +puppeteer-extra-plugin-stealth@^2.11.2: + version "2.11.2" + resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin-stealth/-/puppeteer-extra-plugin-stealth-2.11.2.tgz#bd3f5a1781cac8a98c983d148086585a84fcc8f1" + integrity sha512-bUemM5XmTj9i2ZerBzsk2AN5is0wHMNE6K0hXBzBXOzP5m5G3Wl0RHhiqKeHToe/uIH8AoZiGhc1tCkLZQPKTQ== dependencies: debug "^4.1.1" - puppeteer-extra-plugin "^3.2.2" - puppeteer-extra-plugin-user-preferences "^2.4.0" + puppeteer-extra-plugin "^3.2.3" + puppeteer-extra-plugin-user-preferences "^2.4.1" -puppeteer-extra-plugin-user-data-dir@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin-user-data-dir/-/puppeteer-extra-plugin-user-data-dir-2.4.0.tgz#20e87582482b61e497abd96fec452f63bd2d9123" - integrity sha512-qrhYPTGIqzL2hpeJ5DXjf8xMy5rt1UvcqSgpGTTOUOjIMz1ROWnKHjBoE9fNBJ4+ToRZbP8MzIDXWlEk/e1zJA== +puppeteer-extra-plugin-user-data-dir@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin-user-data-dir/-/puppeteer-extra-plugin-user-data-dir-2.4.1.tgz#4ea9d56d20455672a54fe086309a102a5126411c" + integrity sha512-kH1GnCcqEDoBXO7epAse4TBPJh9tEpVEK/vkedKfjOVOhZAvLkHGc9swMs5ChrJbRnf8Hdpug6TJlEuimXNQ+g== dependencies: debug "^4.1.1" fs-extra "^10.0.0" - puppeteer-extra-plugin "^3.2.2" + puppeteer-extra-plugin "^3.2.3" rimraf "^3.0.2" -puppeteer-extra-plugin-user-preferences@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin-user-preferences/-/puppeteer-extra-plugin-user-preferences-2.4.0.tgz#8b75bc39c3de9913e236ae1d982a24711d84ba6f" - integrity sha512-4XxMhMkJ+qqLsPY9ULF90qS9Bj1Qrwwgp1TY9zTdp1dJuy7QSgYE7xlyamq3cKrRuzg3QUOqygJo52sVeXSg5A== +puppeteer-extra-plugin-user-preferences@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin-user-preferences/-/puppeteer-extra-plugin-user-preferences-2.4.1.tgz#db8ec63c04a6a10a8f8997e15fdffdf13272161d" + integrity sha512-i1oAZxRbc1bk8MZufKCruCEC3CCafO9RKMkkodZltI4OqibLFXF3tj6HZ4LZ9C5vCXZjYcDWazgtY69mnmrQ9A== dependencies: debug "^4.1.1" deepmerge "^4.2.2" - puppeteer-extra-plugin "^3.2.2" - puppeteer-extra-plugin-user-data-dir "^2.4.0" + puppeteer-extra-plugin "^3.2.3" + puppeteer-extra-plugin-user-data-dir "^2.4.1" -puppeteer-extra-plugin@^3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin/-/puppeteer-extra-plugin-3.2.2.tgz#3c02c0a10f8eadf32e7debb7ee24105a53afc17b" - integrity sha512-0uatQxzuVn8yegbrEwSk03wvwpMB5jNs7uTTnermylLZzoT+1rmAQaJXwlS3+vADUbw6ELNgNEHC7Skm0RqHbQ== +puppeteer-extra-plugin@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/puppeteer-extra-plugin/-/puppeteer-extra-plugin-3.2.3.tgz#50c9f0749c005bbc7b8b208bcd00a9d46a15b585" + integrity sha512-6RNy0e6pH8vaS3akPIKGg28xcryKscczt4wIl0ePciZENGE2yoaQJNd17UiEbdmh5/6WW6dPcfRWT9lxBwCi2Q== dependencies: "@types/debug" "^4.1.0" debug "^4.1.1" merge-deep "^3.0.1" -puppeteer-extra@^3.3.4: - version "3.3.4" - resolved "https://registry.yarnpkg.com/puppeteer-extra/-/puppeteer-extra-3.3.4.tgz#e0ecf021783d1112b6b0db20546d5022e632ed55" - integrity sha512-fN5pHvSMJ8d1o7Z8wLLTQOUBpORD2BcFn+KDs7QnkGZs9SV69hcUcce67vX4L4bNSEG3A0P6Osrv+vWNhhdm8w== +puppeteer-extra@^3.3.6: + version "3.3.6" + resolved "https://registry.yarnpkg.com/puppeteer-extra/-/puppeteer-extra-3.3.6.tgz#fc16ff396aae52664842da9a557ea8fa51eaa8b7" + integrity sha512-rsLBE/6mMxAjlLd06LuGacrukP2bqbzKCLzV1vrhHFavqQE/taQ2UXv3H5P0Ls7nsrASa+6x3bDbXHpqMwq+7A== dependencies: "@types/debug" "^4.1.0" debug "^4.1.1" deepmerge "^4.2.2" -puppeteer@^19.7.1: - version "19.7.1" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-19.7.1.tgz#53c0234cac96f28934da139b0239237ccef3251a" - integrity sha512-Hampj7jHlicySL1sSLHCwoFoRCi6RcEbnZmRE5brtbk0mp6Td33+9kWQD2eFs09772JIt00ybPKr50Gt7Y18Xg== +puppeteer@^19.7.3: + version "19.7.4" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-19.7.4.tgz#2a978778de02e620ca295d561e94e6bab7c921ac" + integrity sha512-TdiNEG27BahPab4B/xfUth/L8yWV8ZT4D+/n01DWjK6pPQ2HgCGJGbL3dlSxUvor6dtxFBe16CEQ9JWXh0SCaQ== dependencies: - cosmiconfig "8.0.0" + cosmiconfig "8.1.0" https-proxy-agent "5.0.1" progress "2.0.3" proxy-from-env "1.1.0" - puppeteer-core "19.7.1" + puppeteer-core "19.7.4" q@^1.5.1: version "1.5.1" @@ -7792,7 +7796,14 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-4.4.0.tgz#c7a9f45bb2ec058d2e60ef9aca5167974313d605" + integrity sha512-X36S+qpCUR0HjXlkDe4NAOhS//aHH0Z+h8Ckf2auGJk3PTnx5rLmrHkwNdbVQuCSUhOyFrlRvFEllZOYE+yZGQ== + dependencies: + glob "^9.2.0" + +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -9094,16 +9105,21 @@ write-file-atomic@^3.0.3: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -ws@8.11.0, ws@~8.11.0: - version "8.11.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" - integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== - -ws@^8.12.0: +ws@8.12.1: version "8.12.1" resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.1.tgz#c51e583d79140b5e42e39be48c934131942d4a8f" integrity sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew== +ws@^8.12.1: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== + +ws@~8.11.0: + version "8.11.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" + integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== + xdg-basedir@^5.0.1, xdg-basedir@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-5.1.0.tgz#1efba19425e73be1bc6f2a6ceb52a3d2c884c0c9"