@open-wa/wa-automate 4.32.1 → 4.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/Client.js +1 -1
- package/package.json +1 -1
package/dist/api/Client.js
CHANGED
@@ -1148,7 +1148,7 @@ class Client {
|
|
1148
1148
|
*/
|
1149
1149
|
isPhoneDisconnected() {
|
1150
1150
|
return __awaiter(this, void 0, void 0, function* () {
|
1151
|
-
const phoneNotConnected = yield this._page.evaluate(() => WAPI.getLocaledString('
|
1151
|
+
const phoneNotConnected = yield this._page.evaluate(() => WAPI.getLocaledString('active Internet connection'));
|
1152
1152
|
return yield this.pup(`!![...document.querySelectorAll("div")].find(e=>{return e.innerHTML.toLowerCase().includes("${phoneNotConnected.toLowerCase()}")})`);
|
1153
1153
|
});
|
1154
1154
|
}
|
package/package.json
CHANGED