@oxidezap/baileyrs 0.4.0 → 0.4.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/README.md +3 -1
- package/lib/Bridge/schema.js +4 -0
- package/lib/Compatibility/field-aliases.d.ts +7 -0
- package/lib/Compatibility/field-aliases.js +12 -0
- package/lib/Compatibility/proto-runtime.js +39 -14
- package/lib/Media/content.js +41 -23
- package/lib/Socket/core.js +2 -1
- package/lib/Socket/events-core.js +10 -1
- package/lib/Socket/messages-core.js +12 -5
- package/lib/Socket/unsupported-config.d.ts +2 -2
- package/lib/Socket/unsupported-config.js +1 -2
- package/lib/Types/Message.d.ts +10 -0
- package/lib/Utils/messages-core.d.ts +3 -16
- package/lib/Utils/messages-core.js +50 -130
- package/lib/WAProto/compatibility-schema.d.ts +7 -1
- package/lib/WAProto/compatibility-schema.js +75 -4
- package/lib/WAProto/runtime.d.ts +12721 -3769
- package/lib/host-types.d.ts +1 -0
- package/package.json +8 -8
package/lib/host-types.d.ts
CHANGED
|
@@ -140,6 +140,7 @@ export type HostSocketConfig = {
|
|
|
140
140
|
linkPreviewImageThumbnailWidth?: number;
|
|
141
141
|
enableAutoSessionRecreation?: boolean;
|
|
142
142
|
enableRecentMessageCache?: boolean;
|
|
143
|
+
/** `false` sends `unavailable` on open and stops the engine from sending `available` on its own. */
|
|
143
144
|
markOnlineOnConnect?: boolean;
|
|
144
145
|
transactionOpts?: {
|
|
145
146
|
maxCommitRetries: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxidezap/baileyrs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"description": "A Rust-powered WhatsApp Web library for JavaScript, with a Baileys-compatible API",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"whatsapp",
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
"typecheck:bench": "tsc -p bench/tsconfig.json"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@oxidezap/whatsapp-rust-bridge": "0.
|
|
99
|
+
"@oxidezap/whatsapp-rust-bridge": "0.28.0",
|
|
100
100
|
"events": "^3.3.0",
|
|
101
|
-
"fs-native-extensions": "1.5.
|
|
101
|
+
"fs-native-extensions": "1.5.5",
|
|
102
102
|
"long": "^5.3.2"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"jimp": "^1.6.0",
|
|
111
111
|
"link-preview-js": "^6.0.0",
|
|
112
112
|
"music-metadata": "^12.2.2",
|
|
113
|
-
"oxfmt": "^0.
|
|
114
|
-
"oxlint": "1.
|
|
113
|
+
"oxfmt": "^0.80.0",
|
|
114
|
+
"oxlint": "1.95.0",
|
|
115
115
|
"pino": "^10.3.1",
|
|
116
116
|
"pino-pretty": "^13.1.3",
|
|
117
117
|
"pkg-pr-new": "^0.0.94",
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
"typescript": "^7.0.2",
|
|
121
121
|
"typescript-compat-auditor": "npm:typescript@6.0.3",
|
|
122
122
|
"undici": "7.30.2",
|
|
123
|
-
"vite": "8.
|
|
124
|
-
"vitest": "5.1.
|
|
125
|
-
"wrangler": "4.
|
|
123
|
+
"vite": "8.4.0",
|
|
124
|
+
"vitest": "5.1.2",
|
|
125
|
+
"wrangler": "4.169.0"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
128
|
"@hapi/boom": "^9.1.0 || ^10.0.0",
|