@oxidezap/whatsapp-rust-bridge 0.6.0

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 ADDED
@@ -0,0 +1,17 @@
1
+ # @oxidezap/whatsapp-rust-bridge
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@oxidezap/whatsapp-rust-bridge)](https://www.npmjs.com/package/@oxidezap/whatsapp-rust-bridge)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@oxidezap/whatsapp-rust-bridge)](https://www.npmjs.com/package/@oxidezap/whatsapp-rust-bridge)
5
+
6
+ High-performance WhatsApp utilities powered by Rust and WebAssembly.
7
+
8
+ ## Features
9
+
10
+ | Feature | Status |
11
+ | ------------------------------ | ------ |
12
+ | Binary Protocol | ✅ |
13
+ | Libsignal | ✅ |
14
+ | App State Sync | ✅ |
15
+ | Audio (waveform, duration) | ✅ |
16
+ | Image (thumbnails, conversion) | ✅ |
17
+ | Sticker Metadata | ✅ |
@@ -0,0 +1,9 @@
1
+ export * from "./whatsapp_rust_bridge.js";
2
+ export { encodeProto, decodeProto, decodeProtoBatch } from "./proto";
3
+ export { BinaryReader } from "./proto-reader";
4
+ export { decodeMessageWireBatch, decodeReceiptWireBatch, decodeServerAckWireBatch, encodeMessageWireBatch, encodeReceiptWireBatch, encodeServerAckWireBatch, MESSAGE_WIRE_INFO_RECORD_WIDTH, type MessageWireBatchView, type MessageWireEntry, type MessageWireInfo, type PackedWireBatch, type ReceiptWireData, type ServerAckWireData, type WireJid, } from "./wire-info";
5
+ export { proto } from "./proto-namespace";
6
+ import type { WhatsAppEventHandler, JsTransportCallbacks, JsHttpClientConfig, JsStoreCallbacks, CacheConfig } from "./whatsapp_rust_bridge.js";
7
+ import type { WasmWhatsAppClient } from "./whatsapp_rust_bridge.js";
8
+ export declare const initWasmEngine: (logger?: any, crypto?: any) => void;
9
+ export declare const createWhatsAppClient: (transport: JsTransportCallbacks, httpClient: JsHttpClientConfig, onEvent?: WhatsAppEventHandler | null, store?: JsStoreCallbacks | null, cache?: CacheConfig | null, version?: readonly [number, number, number] | null, wantedPreKeyCount?: number | null) => Promise<WasmWhatsAppClient>;