feat : Check if the given number is a whatsapp number (#54)

* feat : Check if the given number is a whatsapp number

- Avoids sending message to non whatsapp number
- Gets the id of the user from whatsapp server rather than generating on client
This commit is contained in:
sahalMoidu 2020-02-17 18:40:07 +05:30 • committed by GitHub
commit 1840826e2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 7 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "whatsapp-web.js",
"version": "0.3.2-post",
"version": "1.0.2-post",
"lockfileVersion": 1,
"requires": true,
"dependencies": {