@juzi/whatsapp-web.js
Advanced tools
Comparing version 1.16.13 to 1.16.14
@@ -613,2 +613,4 @@ | ||
author?: string, | ||
/** String that represents from which device type the message was sent */ | ||
deviceType: string, | ||
/** Message content */ | ||
@@ -714,3 +716,3 @@ body: string, | ||
/** React to this message with an emoji*/ | ||
react: (reaction: string) => Promise, | ||
react: (reaction: string) => Promise<void>, | ||
/** | ||
@@ -717,0 +719,0 @@ * Forwards this message to another chat |
{ | ||
"name": "@juzi/whatsapp-web.js", | ||
"version": "1.16.13", | ||
"version": "1.16.14", | ||
"description": "Library for interacting with the WhatsApp Web API ", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -1,2 +0,2 @@ | ||
[![npm](https://img.shields.io/npm/v/whatsapp-web.js.svg)](https://www.npmjs.com/package/whatsapp-web.js) [![Depfu](https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg)](https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765) ![WhatsApp_Web 2.2222.11](https://img.shields.io/badge/WhatsApp_Web-2.2222.11-brightgreen.svg) [![Discord Chat](https://img.shields.io/discord/698610475432411196.svg?logo=discord)](https://discord.gg/H7DqQs4) | ||
[![npm](https://img.shields.io/npm/v/whatsapp-web.js.svg)](https://www.npmjs.com/package/whatsapp-web.js) [![Depfu](https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg)](https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765) ![WhatsApp_Web 2.2224.8](https://img.shields.io/badge/WhatsApp_Web-2.2224.8-brightgreen.svg) [![Discord Chat](https://img.shields.io/discord/698610475432411196.svg?logo=discord)](https://discord.gg/H7DqQs4) | ||
@@ -83,2 +83,3 @@ # whatsapp-web.js | ||
| Set user status message | ✅ | | ||
| React to messages | ✅ | | ||
@@ -85,0 +86,0 @@ Something missing? Make an issue and let us know! |
@@ -140,3 +140,3 @@ 'use strict'; | ||
// Checks if an error ocurred on the first found selector. The second will be discarded and ignored by .race; | ||
// Checks if an error occurred on the first found selector. The second will be discarded and ignored by .race; | ||
if (needAuthentication instanceof Error) throw needAuthentication; | ||
@@ -968,3 +968,4 @@ | ||
return await this.pupPage.evaluate(async number => { | ||
const result = await window.Store.QueryExist(number); | ||
const wid = window.Store.WidFactory.createWid(number); | ||
const result = await window.Store.QueryExist(wid); | ||
if (!result || result.wid === undefined) return null; | ||
@@ -971,0 +972,0 @@ return result.wid; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
224170
5298
116