Comparing version 0.1.10 to 0.1.11
{ | ||
"name": "waweb-phi", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "control whatsapp web with nodejs", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -105,2 +105,5 @@ # WAWEB-phi | ||
## Update | ||
- 17/01/2020 fix selector qr/qrvalue/keep phoneimage update | ||
## Todo | ||
@@ -112,4 +115,3 @@ - [x] add checkNumberStatus | ||
- [x] getBatteryLevel (this things is already embeded on event `On Message`") | ||
- [ ] Implement all WAPI.js Function | ||
- [ ] and more | ||
- [ ] Implement all WAPI.js Function : Discontinue, just using client instance | ||
@@ -116,0 +118,0 @@ |
@@ -46,3 +46,3 @@ 'use strict'; | ||
const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '._1wSzK'; | ||
const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '._1Jzz1'; | ||
@@ -67,4 +67,4 @@ if (this.options.session) { | ||
const QR_CONTAINER_SELECTOR = '._2d3Jz'; | ||
const QR_VALUE_SELECTOR = '._1pw2F'; | ||
const QR_CONTAINER_SELECTOR = '._3YhvY'; | ||
const QR_VALUE_SELECTOR = '._2RT36'; | ||
@@ -75,3 +75,3 @@ await page.waitForSelector(QR_CONTAINER_SELECTOR); | ||
this.emit(Events.QR_RECEIVED, qr); | ||
// Wait for code scan | ||
@@ -103,3 +103,2 @@ await page.waitForSelector(KEEP_PHONE_CONNECTED_IMG_SELECTOR, { timeout: 0 }); | ||
} | ||
this.emit(Events.AUTHENTICATED, session); | ||
@@ -106,0 +105,0 @@ |
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
76609
126