@queenanya/baileys 7.4.6 → 7.4.10
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/lib/Defaults/baileys-version.json +1 -1
- package/lib/Socket/business.d.ts +7 -11
- package/lib/Socket/chats.d.ts +9 -12
- package/lib/Socket/chats.js +50 -79
- package/lib/Socket/communities.d.ts +216 -0
- package/lib/Socket/communities.js +354 -0
- package/lib/Socket/groups.d.ts +7 -11
- package/lib/Socket/index.d.ts +37 -11
- package/lib/Socket/index.js +2 -2
- package/lib/Socket/messages-recv.d.ts +7 -11
- package/lib/Socket/messages-send.d.ts +7 -11
- package/lib/Socket/newsletter.d.ts +7 -11
- package/lib/Socket/socket.js +1 -0
- package/lib/Socket/usync.d.ts +38 -0
- package/lib/Socket/usync.js +70 -0
- package/lib/Types/Chat.d.ts +3 -0
- package/lib/Types/Contact.d.ts +5 -0
- package/lib/Types/USync.d.ts +25 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Utils/chat-utils.js +11 -0
- package/lib/Utils/generics.js +3 -2
- package/lib/Utils/index.d.ts +1 -0
- package/lib/Utils/index.js +1 -0
- package/lib/Utils/use-single-file-auth-state.d.ts +5 -0
- package/lib/Utils/use-single-file-auth-state.js +66 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +9 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +22 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +42 -0
- package/lib/WAUSync/Protocols/index.d.ts +4 -0
- package/lib/WAUSync/Protocols/index.js +20 -0
- package/lib/WAUSync/USyncQuery.d.ts +26 -0
- package/lib/WAUSync/USyncQuery.js +79 -0
- package/lib/WAUSync/USyncUser.d.ts +10 -0
- package/lib/WAUSync/USyncUser.js +22 -0
- package/lib/WAUSync/index.d.ts +3 -0
- package/lib/WAUSync/index.js +19 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Protocols"), exports);
|
|
18
|
+
__exportStar(require("./USyncQuery"), exports);
|
|
19
|
+
__exportStar(require("./USyncUser"), exports);
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -27,4 +27,5 @@ __exportStar(require("./Store"), exports);
|
|
|
27
27
|
__exportStar(require("./Defaults"), exports);
|
|
28
28
|
__exportStar(require("./WABinary"), exports);
|
|
29
29
|
__exportStar(require("./WAM"), exports);
|
|
30
|
+
__exportStar(require("./WAUSync"), exports);
|
|
30
31
|
exports.default = Socket_1.default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@queenanya/baileys",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.10",
|
|
4
4
|
"description": "WhatsApp API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|
|
@@ -28,12 +28,13 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@adiwajshing/keyed-db": "^0.2.4",
|
|
30
30
|
"@queenanya/eslint-config": "github:whiskeysockets/eslint-config",
|
|
31
|
-
"@hapi/boom": "
|
|
31
|
+
"@hapi/boom": "^10.0.1",
|
|
32
32
|
"async-lock": "^1.4.1",
|
|
33
33
|
"audio-decode": "^2.2.0",
|
|
34
|
-
"axios": "
|
|
34
|
+
"axios": "^1.7.3",
|
|
35
35
|
"cache-manager": "^5.7.6",
|
|
36
36
|
"futoin-hkdf": "^1.5.3",
|
|
37
|
+
"jimp": "^0.22.12",
|
|
37
38
|
"json": "^11.0.0",
|
|
38
39
|
"libphonenumber-js": "^1.11.4",
|
|
39
40
|
"libsignal": "npm:@queenanya/libsignal@latest",
|
|
@@ -55,7 +56,6 @@
|
|
|
55
56
|
"conventional-changelog-cli": "^5.0.0",
|
|
56
57
|
"eslint": "^9.7.0",
|
|
57
58
|
"jest": "^29.7.0",
|
|
58
|
-
"jimp": "^0.22.12",
|
|
59
59
|
"json": "^11.0.0",
|
|
60
60
|
"link-preview-js": "^3.0.5",
|
|
61
61
|
"open": "^10.1.0",
|