New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

wbm

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wbm - npm Package Compare versions

Comparing version

to
1.1.9

@@ -10,3 +10,3 @@ {

"description": "wbm is an API to send bulk messages in whatsapp.",
"version": "1.1.8",
"version": "1.1.9",
"main": "src/index.js",

@@ -13,0 +13,0 @@ "devDependencies": {},

@@ -77,14 +77,14 @@ [![npm version](https://img.shields.io/npm/v/wbm.svg?color=%2378e08f)](https://www.npmjs.com/package/wbm)

### start(options)
* ##### options
* **options**<br />
Object containing optional parameters as attribute.<br />
Type: `object`<br />
* ##### showBrowser
* **showBrowser**<br />
Show browser running the script.<br />
Default: `false`<br />
Type: `boolean`<br />
* ##### qrCodeData
* **qrCodeData**<br />
Instead of generate the QR Code, returns the data used to generate the QR Code as promise.<br />
Default: `false`<br />
Type: `boolean`<br />
* ##### session
* **session**<br />
Keep user session, so the user must scan the QR Code once.<br />

@@ -108,5 +108,5 @@ Default: `true`<br />

Send same message to every phone number.
Send message to every phone number.
- ##### phoneOrContacts
- **phoneOrContacts**<br />
Array of phone numbers: ['5535988841854', ...].<br />

@@ -117,3 +117,3 @@ Or <br />

- ##### message
- **message**<br />
Message to send to every phone number.<br />

@@ -142,5 +142,4 @@ Text inside curly braces like {{attribute}} will be replaced by the contact object respective attribute.<br />

Send message to a single phone number.
*When using wbm.sendTo() make sure to use wbm.end() at the end of wbm.start().*
- ##### phoneOrContact
- **phoneOrContact**<br />
Phone number. Example '5535988841854'.<br />

@@ -152,3 +151,3 @@ Type: `string`<br />

- ##### message
- **message**<br />
Message to send to phone number.<br />

@@ -155,0 +154,0 @@ Text inside curly braces like {{attribute}} will be replaced by the contact object respective attribute.<br />