Socket
Socket
Sign inDemoInstall

@juzi/whatsapp-web.js

Package Overview
Dependencies
215
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.21.2 to 1.21.3

2

package.json
{
"name": "@juzi/whatsapp-web.js",
"version": "1.21.2",
"version": "1.21.3",
"description": "Library for interacting with the WhatsApp Web API ",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -246,5 +246,4 @@ 'use strict';

window.qrChanged(mut.target.dataset.ref);
} else
} else if (mut.type === 'childList') {
// Listens to retry button, when found, click it
if (mut.type === 'childList') {
const retry_button = document.querySelector(selectors.QR_RETRY_BUTTON);

@@ -1212,3 +1211,7 @@ if (retry_button) retry_button.click();

const result = await window.Store.QueryExist(wid);
if (!result || result.wid === undefined) return null;
/**
* The number of the result may be different with the input number.
* See: https://github.com/juzibot/whatsapp-web.js/issues/23
*/
if (!result || result.wid === undefined || result.wid._serialized !== number) return null;
return result.wid;

@@ -1215,0 +1218,0 @@ }, number);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc