@wppconnect-team/wppconnect 1.33.0 → 1.34.0
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 +8 -0
- package/dist/api/layers/ui.layer.js +1 -1
- package/dist/config/create-config.js +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 1.34.0 (2024-09-09)
|
|
2
|
+
|
|
3
|
+
- fix(deps): update dependency @wppconnect/wa-js to ^3.10.1 (#2336) ([cc29475](https://github.com/wppconnect-team/wppconnect/commit/cc29475)), closes [#2336](https://github.com/wppconnect-team/wppconnect/issues/2336)
|
|
4
|
+
|
|
5
|
+
## <small>1.33.1 (2024-08-30)</small>
|
|
6
|
+
|
|
7
|
+
- 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)
|
|
8
|
+
|
|
1
9
|
## 1.33.0 (2024-08-05)
|
|
2
10
|
|
|
3
11
|
- 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.
|
|
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.
|
|
3
|
+
"version": "1.34.0",
|
|
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",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@babel/core": "^7.25.2",
|
|
58
58
|
"@babel/eslint-parser": "^7.25.1",
|
|
59
59
|
"@babel/eslint-plugin": "^7.25.1",
|
|
60
|
-
"@babel/preset-env": "^7.25.
|
|
61
|
-
"@commitlint/cli": "^19.
|
|
62
|
-
"@commitlint/config-conventional": "^19.
|
|
63
|
-
"@commitlint/cz-commitlint": "^19.
|
|
60
|
+
"@babel/preset-env": "^7.25.4",
|
|
61
|
+
"@commitlint/cli": "^19.4.1",
|
|
62
|
+
"@commitlint/config-conventional": "^19.4.1",
|
|
63
|
+
"@commitlint/cz-commitlint": "^19.4.0",
|
|
64
64
|
"@types/atob": "^2.1.4",
|
|
65
65
|
"@types/mime-types": "^2.1.4",
|
|
66
66
|
"@types/mocha": "^10.0.7",
|
|
67
|
-
"@types/node": "^18.19.
|
|
67
|
+
"@types/node": "^18.19.50",
|
|
68
68
|
"@types/shelljs": "^0.8.15",
|
|
69
69
|
"@types/tmp": "^0.2.6",
|
|
70
70
|
"@types/ws": "^8.5.12",
|
|
@@ -78,24 +78,24 @@
|
|
|
78
78
|
"eslint-config-prettier": "^9.1.0",
|
|
79
79
|
"eslint-plugin-header": "^3.1.1",
|
|
80
80
|
"eslint-plugin-prettier": "^4.2.1",
|
|
81
|
-
"husky": "^9.1.
|
|
82
|
-
"mocha": "^10.7.
|
|
81
|
+
"husky": "^9.1.5",
|
|
82
|
+
"mocha": "^10.7.3",
|
|
83
83
|
"prettier": "^2.8.8",
|
|
84
84
|
"pretty-quick": "^4.0.0",
|
|
85
85
|
"regenerator-runtime": "^0.14.1",
|
|
86
86
|
"release-it": "^17.6.0",
|
|
87
87
|
"shx": "^0.3.4",
|
|
88
88
|
"ts-node": "^10.9.2",
|
|
89
|
-
"typedoc": "^0.
|
|
89
|
+
"typedoc": "^0.26.6",
|
|
90
90
|
"typescript": "^5.5.4",
|
|
91
|
-
"webpack": "^5.
|
|
91
|
+
"webpack": "^5.94.0",
|
|
92
92
|
"webpack-cli": "^5.1.4"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@wppconnect/wa-js": "^3.
|
|
96
|
-
"@wppconnect/wa-version": "^1.5.
|
|
95
|
+
"@wppconnect/wa-js": "^3.10.1",
|
|
96
|
+
"@wppconnect/wa-version": "^1.5.323",
|
|
97
97
|
"atob": "^2.1.2",
|
|
98
|
-
"axios": "^1.7.
|
|
98
|
+
"axios": "^1.7.7",
|
|
99
99
|
"boxen": "^5.1.2",
|
|
100
100
|
"catch-exit": "^1.2.2",
|
|
101
101
|
"chalk": "~4.1.2",
|
|
@@ -116,14 +116,14 @@
|
|
|
116
116
|
"reflect-metadata": "^0.2.1",
|
|
117
117
|
"rimraf": "^3.0.2",
|
|
118
118
|
"sanitize-filename": "^1.6.3",
|
|
119
|
-
"sharp": "0.33.
|
|
119
|
+
"sharp": "0.33.5",
|
|
120
120
|
"tmp": "^0.2.3",
|
|
121
121
|
"tree-kill": "^1.2.2",
|
|
122
|
-
"winston": "^3.
|
|
122
|
+
"winston": "^3.14.2",
|
|
123
123
|
"ws": "^8.18.0"
|
|
124
124
|
},
|
|
125
125
|
"optionalDependencies": {
|
|
126
|
-
"@img/sharp-win32-x64": "^0.33.
|
|
126
|
+
"@img/sharp-win32-x64": "^0.33.5",
|
|
127
127
|
"fsevents": "^2.3.3"
|
|
128
128
|
},
|
|
129
129
|
"directories": {
|