@wppconnect-team/wppconnect 1.33.0 → 1.33.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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## <small>1.33.1 (2024-08-30)</small>
2
+
3
+ - fix: Fixed client.openChatAt (close #2293) ([68e011c](https://github.com/wppconnect-team/wppconnect/commit/68e011c)), closes [#2293](https://github.com/wppconnect-team/wppconnect/issues/2293)
4
+
1
5
  ## 1.33.0 (2024-08-05)
2
6
 
3
7
  - feat: Added client.closeChat function (close #2271) (#2290) ([539e5d9](https://github.com/wppconnect-team/wppconnect/commit/539e5d9)), closes [#2271](https://github.com/wppconnect-team/wppconnect/issues/2271) [#2290](https://github.com/wppconnect-team/wppconnect/issues/2290)
@@ -99,7 +99,7 @@ var UILayer = /** @class */ (function (_super) {
99
99
  UILayer.prototype.openChatAt = function (chatId, messageId) {
100
100
  return __awaiter(this, void 0, void 0, function () {
101
101
  return __generator(this, function (_a) {
102
- return [2 /*return*/, (0, helpers_1.evaluateAndReturn)(this.page, function (chatId) { return WPP.chat.openChatAt(chatId, messageId); }, chatId)];
102
+ return [2 /*return*/, (0, helpers_1.evaluateAndReturn)(this.page, function (chatId, messageId) { return WPP.chat.openChatAt(chatId, messageId); }, chatId, messageId)];
103
103
  });
104
104
  });
105
105
  };
@@ -20,7 +20,7 @@ exports.defaultOptions = {
20
20
  waitForLogin: true,
21
21
  logger: logger_1.defaultLogger,
22
22
  tokenStore: 'file',
23
- whatsappVersion: '2.3000.10152x',
23
+ whatsappVersion: '2.3000.10156x',
24
24
  deviceName: false,
25
25
  linkPreviewApiServers: null,
26
26
  disableGoogleAnalytics: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect-team/wppconnect",
3
- "version": "1.33.0",
3
+ "version": "1.33.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",
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "dependencies": {
95
95
  "@wppconnect/wa-js": "^3.8.1",
96
- "@wppconnect/wa-version": "^1.5.154",
96
+ "@wppconnect/wa-version": "^1.5.288",
97
97
  "atob": "^2.1.2",
98
98
  "axios": "^1.7.3",
99
99
  "boxen": "^5.1.2",