From 7420807c02c2da45edfe3d48afe8ddb1fbf25f34 Mon Sep 17 00:00:00 2001
From: snyk-bot <snyk-bot@snyk.io>
Date: Mon, 1 Jul 2024 06:21:54 +0000
Subject: [PATCH] fix: upgrade whatsapp-web.js from 1.23.1-alpha.5 to 1.24.0

Snyk has created this PR to upgrade whatsapp-web.js from 1.23.1-alpha.5 to 1.24.0.

See this package in npm:
whatsapp-web.js

See this project in Snyk:
https://app.snyk.io/org/chrishubert/project/8df8ff77-c57c-4c15-83f4-18d791bf3bb3?utm_source=github&utm_medium=referral&page=upgrade-pr
---
 package-lock.json | 7 ++++---
 package.json      | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index e15b9ecd..3927e9f9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,7 +16,7 @@
         "qr-image": "^3.2.0",
         "qrcode-terminal": "^0.12.0",
         "swagger-ui-express": "^4.6.3",
-        "whatsapp-web.js": "pedroslopez/whatsapp-web.js#webpack-exodus"
+        "whatsapp-web.js": "^1.24.0"
       },
       "devDependencies": {
         "eslint": "^8.38.0",
@@ -7342,8 +7342,9 @@
       "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
     },
     "node_modules/whatsapp-web.js": {
-      "version": "1.23.1-alpha.5",
-      "resolved": "git+ssh://git@github.com/pedroslopez/whatsapp-web.js.git#269e44e117cd74af1714858a38d8168aeeae220b",
+      "version": "1.24.0",
+      "resolved": "https://registry.npmjs.org/whatsapp-web.js/-/whatsapp-web.js-1.24.0.tgz",
+      "integrity": "sha512-/SHwvZxUmGQJ/JU3CxGeWINCbOoKpFmr5/TFNrWnudWxJsBBofNoXBzgIEZIz4KZwO3EEdKnMtsABFp4jLjwUA==",
       "license": "Apache-2.0",
       "dependencies": {
         "@pedroslopez/moduleraid": "^5.0.2",
diff --git a/package.json b/package.json
index d78a8c7f..ec160a15 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
     "qr-image": "^3.2.0",
     "qrcode-terminal": "^0.12.0",
     "swagger-ui-express": "^4.6.3",
-    "whatsapp-web.js": "pedroslopez/whatsapp-web.js#webpack-exodus"
+    "whatsapp-web.js": "1.24.0"
   },
   "devDependencies": {
     "eslint": "^8.38.0",