@wppconnect-team/wppconnect 1.36.1 → 1.36.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/CHANGELOG.md +4 -0
- package/dist/api/layers/sender.layer.js +3 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## <small>1.36.2 (2025-03-26)</small>
|
|
2
|
+
|
|
3
|
+
- fix: Fixed lint errors ([73da91f](https://github.com/wppconnect-team/wppconnect/commit/73da91f))
|
|
4
|
+
|
|
1
5
|
## <small>1.36.1 (2025-03-21)</small>
|
|
2
6
|
|
|
3
7
|
- chore: update workflow for launch release ([7dd3739](https://github.com/wppconnect-team/wppconnect/commit/7dd3739))
|
|
@@ -299,7 +299,7 @@ var SenderLayer = /** @class */ (function (_super) {
|
|
|
299
299
|
if (!filename) {
|
|
300
300
|
filename = path.basename(filePath);
|
|
301
301
|
}
|
|
302
|
-
return [4 /*yield*/, this.sendImageFromBase64(to, base64, filename, caption, quotedMessageId, isViewOnce, options.mentionedList, options)];
|
|
302
|
+
return [4 /*yield*/, this.sendImageFromBase64(to, base64, filename, caption, quotedMessageId, isViewOnce, options === null || options === void 0 ? void 0 : options.mentionedList, options || {})];
|
|
303
303
|
case 4: return [2 /*return*/, _a.sent()];
|
|
304
304
|
}
|
|
305
305
|
});
|
|
@@ -349,7 +349,7 @@ var SenderLayer = /** @class */ (function (_super) {
|
|
|
349
349
|
return [4 /*yield*/, (0, helpers_1.evaluateAndReturn)(this.page, function (_a) { return __awaiter(_this, [_a], void 0, function (_b) {
|
|
350
350
|
var result;
|
|
351
351
|
var _c;
|
|
352
|
-
var to = _b.to, base64 = _b.base64, filename = _b.filename, caption = _b.caption, quotedMessageId = _b.quotedMessageId, isViewOnce = _b.isViewOnce, mentionedList = _b.mentionedList;
|
|
352
|
+
var to = _b.to, base64 = _b.base64, filename = _b.filename, caption = _b.caption, quotedMessageId = _b.quotedMessageId, isViewOnce = _b.isViewOnce, mentionedList = _b.mentionedList, options = _b.options;
|
|
353
353
|
return __generator(this, function (_d) {
|
|
354
354
|
switch (_d.label) {
|
|
355
355
|
case 0: return [4 /*yield*/, WPP.chat.sendFileMessage(to, base64, {
|
|
@@ -382,6 +382,7 @@ var SenderLayer = /** @class */ (function (_super) {
|
|
|
382
382
|
quotedMessageId: quotedMessageId,
|
|
383
383
|
isViewOnce: isViewOnce,
|
|
384
384
|
mentionedList: mentionedList,
|
|
385
|
+
options: options,
|
|
385
386
|
})];
|
|
386
387
|
case 1:
|
|
387
388
|
result = _a.sent();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect-team/wppconnect",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.2",
|
|
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,8 +93,8 @@
|
|
|
93
93
|
"webpack-cli": "^5.1.4"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@wppconnect/wa-js": "^3.16.
|
|
97
|
-
"@wppconnect/wa-version": "^1.5.
|
|
96
|
+
"@wppconnect/wa-js": "^3.16.8",
|
|
97
|
+
"@wppconnect/wa-version": "^1.5.1243",
|
|
98
98
|
"atob": "^2.1.2",
|
|
99
99
|
"axios": "^1.8.4",
|
|
100
100
|
"boxen": "^5.1.2",
|