@realvare/based 2.7.61 → 2.7.70
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 +25 -114
- 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 +1 -1
- package/lib/Defaults/index.js +5 -5
- package/lib/Socket/chats.js +53 -16
- package/lib/Socket/groups.js +53 -9
- package/lib/Socket/messages-recv.js +1298 -1237
- package/lib/Socket/messages-send.js +350 -456
- package/lib/Socket/socket.js +1 -1
- package/lib/Socket/usync.js +57 -4
- package/lib/Store/make-in-memory-store.js +28 -15
- package/lib/Types/Message.d.ts +316 -6
- package/lib/Types/Message.js +1 -1
- package/lib/Utils/cache-manager.d.ts +16 -0
- package/lib/Utils/cache-manager.js +20 -4
- 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 +4 -5
- 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 +36 -5
- package/lib/Utils/link-preview.js +38 -28
- package/lib/Utils/messages-media.js +21 -52
- package/lib/Utils/messages.js +540 -23
- 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/jid-utils.js +257 -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 -2
- package/package.json +7 -13
- package/WAProto/index.ts.ts +0 -53473
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realvare/based",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.70",
|
|
4
4
|
"description": "whatsapp api by sam",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"baileys",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"libsignal": "github:realvare/libsignal",
|
|
57
57
|
"lodash": "^4.17.21",
|
|
58
58
|
"music-metadata": "^11.7.0",
|
|
59
|
+
"node-cache": "^5.1.2",
|
|
59
60
|
"pino": "^10.1.0",
|
|
60
61
|
"protobufjs": "^7.5.4",
|
|
61
|
-
"sharp": "^0.33.5",
|
|
62
62
|
"uuid": "^13.0.0",
|
|
63
63
|
"ws": "^8.18.0"
|
|
64
64
|
},
|
|
@@ -67,28 +67,25 @@
|
|
|
67
67
|
"@types/got": "^9.6.11",
|
|
68
68
|
"@types/jest": "^29.5.12",
|
|
69
69
|
"@types/node": "^20.14.0",
|
|
70
|
-
"@types/sharp": "^0.32.0",
|
|
71
70
|
"@types/ws": "^8.5.10",
|
|
72
71
|
"conventional-changelog-cli": "^2.2.2",
|
|
73
72
|
"eslint": "^9.0.0",
|
|
74
73
|
"jest": "^29.7.0",
|
|
75
|
-
"jimp": "^1.6.0",
|
|
76
74
|
"json": "^11.0.0",
|
|
77
|
-
"link-preview-js": "^4.0.0",
|
|
78
75
|
"open": "^10.1.0",
|
|
76
|
+
"protobufjs-cli": "^2.0.0",
|
|
79
77
|
"qrcode-terminal": "^0.12.0",
|
|
80
78
|
"release-it": "^16.1.0",
|
|
81
|
-
"sharp": "^0.33.5",
|
|
82
79
|
"ts-jest": "^29.1.2",
|
|
83
80
|
"ts-node": "^10.9.2",
|
|
84
81
|
"typedoc": "^0.27.0",
|
|
85
|
-
"typescript": "^5.8.0"
|
|
82
|
+
"typescript": "^5.8.0",
|
|
83
|
+
"unfurl.js": "^6.4.0"
|
|
86
84
|
},
|
|
87
85
|
"peerDependencies": {
|
|
88
86
|
"audio-decode": "^2.1.3",
|
|
89
|
-
"link-preview-js": "^4.0.0",
|
|
90
87
|
"qrcode-terminal": "^0.12.0",
|
|
91
|
-
"
|
|
88
|
+
"unfurl.js": "^6.4.0"
|
|
92
89
|
},
|
|
93
90
|
"peerDependenciesMeta": {
|
|
94
91
|
"audio-decode": {
|
|
@@ -97,10 +94,7 @@
|
|
|
97
94
|
"jimp": {
|
|
98
95
|
"optional": true
|
|
99
96
|
},
|
|
100
|
-
"
|
|
101
|
-
"optional": true
|
|
102
|
-
},
|
|
103
|
-
"sharp": {
|
|
97
|
+
"unfurl.js": {
|
|
104
98
|
"optional": true
|
|
105
99
|
}
|
|
106
100
|
},
|