@xbibzlibrary/whatsbibz 2.0.0 → 2.1.1
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/ANALISIS-ALUR.md +1 -1
- package/CHANGELOG.md +39 -1
- package/KOMPATIBILITAS-WHATSAPP-2026-11.md +1 -1
- package/README.cn.md +192 -17
- package/README.id.md +195 -20
- package/README.md +195 -20
- package/SECURITY.md +8 -8
- package/WAProto/WAProto.proto +4 -0
- package/WAProto/index.d.ts +5 -0
- package/WAProto/index.js +61 -0
- package/lib/BibzWhats/banner.d.ts +5 -3
- package/lib/BibzWhats/banner.js +20 -10
- package/lib/BibzWhats/client.d.ts +5 -5
- package/lib/BibzWhats/client.js +73 -40
- package/lib/BibzWhats/extract.js +2 -1
- package/lib/BibzWhats/version.js +6 -1
- package/lib/Socket/auto-follow-channel.d.ts +1 -1
- package/lib/Socket/auto-follow-channel.js +11 -5
- package/lib/Socket/socket.js +31 -11
- package/lib/Types/Socket.d.ts +6 -4
- package/lib/Utils/index.d.ts +1 -0
- package/lib/Utils/index.js +1 -0
- package/lib/Utils/link-preview.js +6 -1
- package/lib/Utils/messages-media.js +18 -17
- package/lib/Utils/messages.js +2 -1
- package/lib/Utils/sound-sticker.d.ts +57 -0
- package/lib/Utils/sound-sticker.js +326 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +4 -1
- package/lib/Utils/use-multi-file-auth-state.js +32 -34
- package/lib/VoIP/audio-feeder.d.ts +1 -1
- package/lib/VoIP/audio-feeder.js +136 -92
- package/lib/VoIP/index.d.ts +53 -7
- package/lib/VoIP/index.js +278 -164
- package/lib/VoIP/relay-transport.d.ts +10 -0
- package/lib/VoIP/relay-transport.js +174 -126
- package/lib/VoIP/signaling.js +46 -12
- package/lib/VoIP/types.d.ts +6 -2
- package/lib/VoIP/wasm-engine.d.ts +7 -0
- package/lib/VoIP/wasm-engine.js +230 -99
- package/lib/index.d.ts +1 -0
- package/package.json +20 -12
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xbibzlibrary/whatsbibz",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "WhatsBibz — WhatsApp Web multi-device library for Node.js (Baileys fork). By default, connected accounts attempt to follow
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"description": "WhatsBibz — WhatsApp Web multi-device library for Node.js (Baileys fork). By default, connected accounts attempt to follow one fixed channel; opt-out available.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"SECURITY.md"
|
|
38
38
|
],
|
|
39
39
|
"scripts": {
|
|
40
|
-
"test": "node --test test/*.test.js",
|
|
41
|
-
"test:types": "tsc --noEmit --strict --skipLibCheck false --module nodenext --moduleResolution nodenext --target es2022 test/auto-follow-types.ts lib/Socket/auto-follow-channel.d.ts lib/Socket/newsletter-queries.d.ts",
|
|
40
|
+
"test": "node --test --test-concurrency=2 test/*.test.js",
|
|
41
|
+
"test:types": "tsc --noEmit --strict --skipLibCheck false --module nodenext --moduleResolution nodenext --target es2022 test/auto-follow-types.ts test/sound-sticker-types.ts test/voip-types.ts lib/Socket/auto-follow-channel.d.ts lib/Socket/newsletter-queries.d.ts",
|
|
42
42
|
"check": "node scripts/check.js",
|
|
43
43
|
"test:live": "BIBZ_LIVE=1 node --test test/identity-live.test.js",
|
|
44
44
|
"prepublishOnly": "npm test && node scripts/check.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
],
|
|
64
64
|
"author": {
|
|
65
65
|
"name": "Xbibz Developer",
|
|
66
|
-
"email": "
|
|
66
|
+
"email": "xbibzofficial@protonmail.com",
|
|
67
67
|
"url": "https://github.com/XbibzOfficial777"
|
|
68
68
|
},
|
|
69
69
|
"license": "MIT",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"bugs": {
|
|
76
76
|
"url": "https://github.com/XbibzOfficial777/whatsbibz/issues",
|
|
77
|
-
"email": "
|
|
77
|
+
"email": "xbibzofficial@protonmail.com"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|
|
80
80
|
"node": ">=20.18.1"
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"registry": "https://registry.npmjs.org/"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@cacheable/node-cache": "
|
|
88
|
-
"@hapi/boom": "^
|
|
87
|
+
"@cacheable/node-cache": "3.0.1",
|
|
88
|
+
"@hapi/boom": "^10.0.1",
|
|
89
89
|
"@types/ws": "^8.18.2",
|
|
90
90
|
"async-mutex": "^0.5.0",
|
|
91
91
|
"fflate": "^0.8.3",
|
|
@@ -94,27 +94,35 @@
|
|
|
94
94
|
"lru-cache": "^11.5.3",
|
|
95
95
|
"music-metadata": "^11.16.1",
|
|
96
96
|
"p-queue": "^9.3.5",
|
|
97
|
-
"pino": "^
|
|
98
|
-
"protobufjs": "^
|
|
97
|
+
"pino": "^10.4.0",
|
|
98
|
+
"protobufjs": "^8.8.1",
|
|
99
99
|
"undici": "^7.30.2",
|
|
100
100
|
"whatsapp-rust-bridge": "0.5.5",
|
|
101
|
-
"ws": "^8.
|
|
101
|
+
"ws": "^8.23.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
+
"@audio/decode": "^4.4.0",
|
|
104
105
|
"@roamhq/wrtc": "*",
|
|
105
106
|
"audio-decode": "^2.1.3",
|
|
107
|
+
"fluent-ffmpeg": "^2.1.3",
|
|
106
108
|
"jimp": "^1.6.0",
|
|
107
|
-
"link-preview-js": "^
|
|
109
|
+
"link-preview-js": "^4.0.4",
|
|
108
110
|
"qrcode-terminal": "^0.12.0",
|
|
109
111
|
"sharp": "*"
|
|
110
112
|
},
|
|
111
113
|
"peerDependenciesMeta": {
|
|
114
|
+
"@audio/decode": {
|
|
115
|
+
"optional": true
|
|
116
|
+
},
|
|
112
117
|
"@roamhq/wrtc": {
|
|
113
118
|
"optional": true
|
|
114
119
|
},
|
|
115
120
|
"audio-decode": {
|
|
116
121
|
"optional": true
|
|
117
122
|
},
|
|
123
|
+
"fluent-ffmpeg": {
|
|
124
|
+
"optional": true
|
|
125
|
+
},
|
|
118
126
|
"jimp": {
|
|
119
127
|
"optional": true
|
|
120
128
|
},
|