Comparing version 1.0.1 to 1.0.2
@@ -9,3 +9,3 @@ { | ||
"description": "wbm is an API to send bulk message.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "src/index.js", | ||
@@ -12,0 +12,0 @@ "devDependencies": {}, |
@@ -6,3 +6,3 @@ | ||
<p align="center"> | ||
<img src="https://github.com/Briuor/wbm/tree/master/assets/demo.gif"> | ||
<img style="border-radius: 5px" src="https://raw.githubusercontent.com/Briuor/wbm/master/assets/demo.gif"> | ||
</p> | ||
@@ -16,3 +16,3 @@ | ||
## Usage | ||
:tw-26a0: **At the beginning it will display a QR Code on terminal, just scan it using whatsapp app.** | ||
**At the beginning it will display a QR Code on terminal, just scan it using whatsapp app.** | ||
@@ -25,3 +25,3 @@ ### Send same message to every contact | ||
wbm.start().then(async () => { | ||
const phones = ['5535988841854']; // phone numbers ['5535988841854', ...] | ||
const phones = ['5535988841854']; | ||
const message = "good morning"; | ||
@@ -53,7 +53,7 @@ await wbm.send(phones, message); | ||
##### phones | ||
Array of phone numbers: ['5535988841854', ...] | ||
Array of phone numbers: ['5535988841854', ...].<br /> | ||
Type: `array` | ||
##### message | ||
Message to send to every phone number | ||
Message to send to every phone number.<br /> | ||
Type: `string` | ||
@@ -66,3 +66,3 @@ | ||
##### phone | ||
Phone number: '5535988841854'. | ||
Phone number: '5535988841854'.<br /> | ||
Type: `string` | ||
@@ -72,3 +72,3 @@ | ||
##### message | ||
Message to send to phone number. | ||
Message to send to phone number.<br /> | ||
Type: `string` | ||
@@ -78,2 +78,2 @@ | ||
[MIT](https://choosealicense.com/licenses/mit/) | ||
[MIT](https://choosealicense.com/licenses/mit/) |
57802
7
73