@realvare/based 2.7.62 → 2.7.71
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/README.MD +1062 -282
- package/WAProto/WAProto.proto +1073 -244
- package/WAProto/index.d.ts +16282 -8183
- package/WAProto/index.js +76605 -50628
- package/engine-requirements.js +10 -10
- package/lib/Defaults/baileys-version.json +1 -1
- package/lib/Defaults/index.d.ts +4 -2
- package/lib/Defaults/index.js +8 -6
- package/lib/Signal/Group/ciphertext-message.d.ts +1 -1
- package/lib/Signal/Group/ciphertext-message.js +1 -1
- package/lib/Signal/Group/sender-message-key.d.ts +1 -1
- package/lib/Signal/Group/sender-message-key.js +1 -1
- package/lib/Signal/libsignal.d.ts +1 -1
- package/lib/Socket/business.d.ts +1 -1
- package/lib/Socket/business.js +1 -1
- package/lib/Socket/chats.d.ts +4 -1
- package/lib/Socket/chats.js +213 -36
- package/lib/Socket/groups.js +87 -15
- package/lib/Socket/index.js +9 -0
- package/lib/Socket/messages-interactive.js +259 -0
- package/lib/Socket/messages-recv.js +1473 -1228
- package/lib/Socket/messages-send.js +437 -469
- package/lib/Socket/socket.js +143 -26
- package/lib/Socket/usync.js +57 -4
- package/lib/Store/make-in-memory-store.js +28 -15
- package/lib/Types/Auth.d.ts +4 -0
- package/lib/Types/Message.d.ts +316 -6
- package/lib/Types/Message.js +1 -1
- package/lib/Types/Socket.d.ts +2 -0
- package/lib/Utils/cache-manager.d.ts +16 -0
- package/lib/Utils/cache-manager.js +22 -5
- package/lib/Utils/chat-utils.js +17 -13
- package/lib/Utils/decode-wa-message.js +1 -11
- package/lib/Utils/event-buffer.js +103 -2
- package/lib/Utils/generics.js +5 -6
- package/lib/Utils/index.d.ts +5 -0
- package/lib/Utils/index.js +3 -0
- package/lib/Utils/jid-validation.d.ts +2 -0
- package/lib/Utils/jid-validation.js +43 -10
- package/lib/Utils/link-preview.js +38 -28
- package/lib/Utils/messages-media.d.ts +1 -1
- package/lib/Utils/messages-media.js +22 -53
- package/lib/Utils/messages.js +653 -65
- package/lib/Utils/performance-config.d.ts +2 -0
- package/lib/Utils/performance-config.js +16 -7
- package/lib/Utils/process-message.js +124 -12
- package/lib/Utils/rate-limiter.js +15 -20
- package/lib/WABinary/generic-utils.js +5 -1
- package/lib/WABinary/jid-utils.d.ts +1 -0
- package/lib/WABinary/jid-utils.js +265 -5
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +75 -5
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +59 -6
- package/lib/WAUSync/USyncQuery.js +64 -6
- package/lib/index.d.ts +1 -0
- package/lib/index.js +5 -4
- package/package.json +10 -15
- package/WAProto/index.ts.ts +0 -53473
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realvare/based",
|
|
3
|
-
"version": "2.7.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.7.71",
|
|
4
|
+
"description": "Whatsapp api by Sam",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"baileys",
|
|
7
7
|
"whatsapp",
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
"whatsapp-bot",
|
|
11
11
|
"automation",
|
|
12
12
|
"multi-device",
|
|
13
|
+
"samakavare",
|
|
14
|
+
"realvare",
|
|
13
15
|
"based",
|
|
14
16
|
"varebot"
|
|
15
17
|
],
|
|
@@ -50,15 +52,14 @@
|
|
|
50
52
|
"cache-manager": "^7.2.5",
|
|
51
53
|
"chalk": "^4.1.2",
|
|
52
54
|
"cheerio": "^1.1.2",
|
|
53
|
-
"gradient-string": "^2.0.2",
|
|
54
55
|
"jimp": "^0.22.10",
|
|
55
56
|
"libphonenumber-js": "^1.12.31",
|
|
56
57
|
"libsignal": "github:realvare/libsignal",
|
|
57
58
|
"lodash": "^4.17.21",
|
|
58
59
|
"music-metadata": "^11.7.0",
|
|
60
|
+
"node-cache": "^5.1.2",
|
|
59
61
|
"pino": "^10.1.0",
|
|
60
62
|
"protobufjs": "^7.5.4",
|
|
61
|
-
"sharp": "^0.33.5",
|
|
62
63
|
"uuid": "^13.0.0",
|
|
63
64
|
"ws": "^8.18.0"
|
|
64
65
|
},
|
|
@@ -67,28 +68,25 @@
|
|
|
67
68
|
"@types/got": "^9.6.11",
|
|
68
69
|
"@types/jest": "^29.5.12",
|
|
69
70
|
"@types/node": "^20.14.0",
|
|
70
|
-
"@types/sharp": "^0.32.0",
|
|
71
71
|
"@types/ws": "^8.5.10",
|
|
72
72
|
"conventional-changelog-cli": "^2.2.2",
|
|
73
73
|
"eslint": "^9.0.0",
|
|
74
74
|
"jest": "^29.7.0",
|
|
75
|
-
"jimp": "^1.6.0",
|
|
76
75
|
"json": "^11.0.0",
|
|
77
|
-
"link-preview-js": "^4.0.0",
|
|
78
76
|
"open": "^10.1.0",
|
|
77
|
+
"protobufjs-cli": "^2.0.0",
|
|
79
78
|
"qrcode-terminal": "^0.12.0",
|
|
80
79
|
"release-it": "^16.1.0",
|
|
81
|
-
"sharp": "^0.33.5",
|
|
82
80
|
"ts-jest": "^29.1.2",
|
|
83
81
|
"ts-node": "^10.9.2",
|
|
84
82
|
"typedoc": "^0.27.0",
|
|
85
|
-
"typescript": "^5.8.0"
|
|
83
|
+
"typescript": "^5.8.0",
|
|
84
|
+
"unfurl.js": "^6.4.0"
|
|
86
85
|
},
|
|
87
86
|
"peerDependencies": {
|
|
88
87
|
"audio-decode": "^2.1.3",
|
|
89
|
-
"link-preview-js": "^4.0.0",
|
|
90
88
|
"qrcode-terminal": "^0.12.0",
|
|
91
|
-
"
|
|
89
|
+
"unfurl.js": "^6.4.0"
|
|
92
90
|
},
|
|
93
91
|
"peerDependenciesMeta": {
|
|
94
92
|
"audio-decode": {
|
|
@@ -97,10 +95,7 @@
|
|
|
97
95
|
"jimp": {
|
|
98
96
|
"optional": true
|
|
99
97
|
},
|
|
100
|
-
"
|
|
101
|
-
"optional": true
|
|
102
|
-
},
|
|
103
|
-
"sharp": {
|
|
98
|
+
"unfurl.js": {
|
|
104
99
|
"optional": true
|
|
105
100
|
}
|
|
106
101
|
},
|