@wppconnect-team/wppconnect 1.32.0 → 1.32.1
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/CHANGELOG.md +4 -0
- package/dist/controllers/browser.js +14 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## <small>1.32.1 (2024-06-17)</small>
|
|
2
|
+
|
|
3
|
+
- fix: Fixed emitting events ([95e934d](https://github.com/wppconnect-team/wppconnect/commit/95e934d))
|
|
4
|
+
|
|
1
5
|
## 1.32.0 (2024-06-12)
|
|
2
6
|
|
|
3
7
|
- fix: Improovment whatsappVersion to 2.3000.10139x ([d246c58](https://github.com/wppconnect-team/wppconnect/commit/d246c58))
|
|
@@ -321,7 +321,20 @@ function injectApi(page, onLoadingScreenCallBack) {
|
|
|
321
321
|
})];
|
|
322
322
|
case 4:
|
|
323
323
|
_a.sent();
|
|
324
|
-
onLoadingScreen(page, onLoadingScreenCallBack);
|
|
324
|
+
return [4 /*yield*/, onLoadingScreen(page, onLoadingScreenCallBack)];
|
|
325
|
+
case 5:
|
|
326
|
+
_a.sent();
|
|
327
|
+
// Make sure WAPI is initialized
|
|
328
|
+
return [4 /*yield*/, page
|
|
329
|
+
.waitForFunction(function () {
|
|
330
|
+
return (typeof window.WAPI !== 'undefined' &&
|
|
331
|
+
typeof window.Store !== 'undefined' &&
|
|
332
|
+
window.WPP.isReady);
|
|
333
|
+
})
|
|
334
|
+
.catch(function () { return false; })];
|
|
335
|
+
case 6:
|
|
336
|
+
// Make sure WAPI is initialized
|
|
337
|
+
_a.sent();
|
|
325
338
|
return [2 /*return*/];
|
|
326
339
|
}
|
|
327
340
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect-team/wppconnect",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.1",
|
|
4
4
|
"description": "WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination... 😀🤔💭",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|