From cccb959290a0b99325926b4fc623f769b82ec51e Mon Sep 17 00:00:00 2001 From: mimamch Date: Mon, 1 Jul 2024 12:49:05 +0700 Subject: [PATCH 1/2] upgrading wa-multi-session into ^3.5.0 --- package.json | 2 +- pnpm-lock.yaml | 25 +++++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 2c6dfec..7cd9919 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "moment": "^2.29.4", "morgan": "~1.9.1", "qrcode": "^1.5.1", - "wa-multi-session": "^3.4.0" + "wa-multi-session": "^3.5.0" }, "repository": { "type": "git", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 57a9ccc..5ad81a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ dependencies: specifier: ^1.5.1 version: 1.5.1 wa-multi-session: - specifier: ^3.4.0 - version: 3.4.0(debug@2.6.9) + specifier: ^3.5.0 + version: 3.5.0(debug@2.6.9) packages: @@ -167,8 +167,8 @@ packages: codec-parser: 2.4.3 dev: false - /@whiskeysockets/baileys@6.6.0(debug@2.6.9)(qrcode-terminal@0.12.0): - resolution: {integrity: sha512-4aIPHztdLZP24Qac7mudZTMR7qIsEDQxlpCBJE4atYHFAa5tlwCGPcUy249q3aaayxYtQAwheVG42L6AkRxAwg==} + /@whiskeysockets/baileys@6.7.5(debug@2.6.9)(qrcode-terminal@0.12.0): + resolution: {integrity: sha512-5kDwir6wT1BY0aIdsJXDAHoq7Gy3oYwRXj3qFoS6MOC0udzF4e2D4vTbA/LVLg7a54dtDxXj+iEnrWcaE9jQZA==} peerDependencies: jimp: ^0.16.1 link-preview-js: ^3.0.0 @@ -186,6 +186,7 @@ packages: dependencies: '@adiwajshing/keyed-db': 0.2.4 '@hapi/boom': 9.1.4 + async-lock: 1.4.1 audio-decode: 2.2.0 axios: 1.4.0(debug@2.6.9) cache-manager: 4.0.1 @@ -197,7 +198,7 @@ packages: pino: 7.11.0 protobufjs: 7.2.6 qrcode-terminal: 0.12.0 - uuid: 9.0.0 + uuid: 10.0.0 ws: 8.13.0 transitivePeerDependencies: - bufferutil @@ -237,6 +238,10 @@ packages: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} dev: false + /async-lock@1.4.1: + resolution: {integrity: sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==} + dev: false + /async@3.2.3: resolution: {integrity: sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==} dev: false @@ -1447,8 +1452,8 @@ packages: engines: {node: '>= 0.4.0'} dev: false - /uuid@9.0.0: - resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} + /uuid@10.0.0: + resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} hasBin: true dev: false @@ -1457,12 +1462,12 @@ packages: engines: {node: '>= 0.8'} dev: false - /wa-multi-session@3.4.0(debug@2.6.9): - resolution: {integrity: sha512-KmMnKWasrwg4lx/O1tu61NIv0xx0XL2zCPHoG7F2vOFf0w1E5vDz66vyMqT+J7c95cK0oebARWXmVhhj6CvViA==} + /wa-multi-session@3.5.0(debug@2.6.9): + resolution: {integrity: sha512-zoLj0j55KKrGxesNmnMnc2Uk9bYoNvGhD6J8KCZKwt/1LSVWxMn+FkaAtIpdArL5/FGa1AyQrrV+y4o12kldDQ==} dependencies: '@adiwajshing/keyed-db': 0.2.4 '@hapi/boom': 10.0.1 - '@whiskeysockets/baileys': 6.6.0(debug@2.6.9)(qrcode-terminal@0.12.0) + '@whiskeysockets/baileys': 6.7.5(debug@2.6.9)(qrcode-terminal@0.12.0) mime: 3.0.0 pino: 8.14.1 qrcode-terminal: 0.12.0 From 41dcfeaf2592e807151d988142761aba2fd36e9d Mon Sep 17 00:00:00 2001 From: mimamch Date: Mon, 1 Jul 2024 12:49:50 +0700 Subject: [PATCH 2/2] update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7cd9919..b34d2f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wa-gateway", - "version": "3.2.2", + "version": "3.5.0", "scripts": { "start": "node index.js", "dev": "nodemon index.js --ignore ./wa_credentials --ignore ./public",