@oxidezap/whatsapp-rust-bridge 0.10.0 → 0.11.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.
@@ -272,7 +272,7 @@ export interface CallLogSync {
272
272
  call_creator_jid: Jid;
273
273
  /** The call's identifier, from the mutation's index (the same value `record.call_id` carries when the record carries one). */
274
274
  call_id: string;
275
- /** Whether *this account* placed the call. Read this rather than `record.is_incoming`, which despite its name holds the same thing rather than its opposite: WA Web writes the record with `isIncoming: fromMe`, so a consumer taking the field at its word files every call backwards. */
275
+ /** Whether *this account* placed the call, from [`call_creator_jid`](Self::call_creator_jid) compared against this account. Read this rather than `record.is_incoming`, which is not reliable in either direction: it means the opposite of its name in mutations WA Web wrote and exactly its name in ones the phone wrote, so a consumer taking it at its word files some calls backwards. */
276
276
  from_me: boolean;
277
277
  /** When the mutation was written, not when the call happened — the call's own time is `record.start_time`. This is the field WA Web measures against the pairing timestamp to decide whether a record predates the device, so it is worth having; it is not a time to file the call under. A mutation that arrives without one falls back to the moment it was received, as every other app-state event does. */
278
278
  timestamp: string;
@@ -4637,8 +4637,8 @@ export interface InitOutput {
4637
4637
  readonly intounderlyingsource_cancel: (a: number) => void;
4638
4638
  readonly intounderlyingsource_pull: (a: number, b: number) => number;
4639
4639
  readonly __wasm_bindgen_func_elem_4319: (a: number, b: number, c: number) => void;
4640
- readonly __wasm_bindgen_func_elem_26158: (a: number, b: number, c: number, d: number) => void;
4641
- readonly __wasm_bindgen_func_elem_26160: (a: number, b: number, c: number, d: number) => void;
4640
+ readonly __wasm_bindgen_func_elem_26161: (a: number, b: number, c: number, d: number) => void;
4641
+ readonly __wasm_bindgen_func_elem_26163: (a: number, b: number, c: number, d: number) => void;
4642
4642
  readonly __wasm_bindgen_func_elem_9212: (a: number, b: number, c: number) => void;
4643
4643
  readonly __wasm_bindgen_func_elem_4318: (a: number, b: number, c: number) => void;
4644
4644
  readonly __wasm_bindgen_func_elem_4317: (a: number, b: number) => void;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxidezap/whatsapp-rust-bridge",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "A high-performance utilities for WhatsApp, powered by Rust and WebAssembly.",
5
5
  "author": "João Lucas <jlucaso@hotmail.com>",
6
6
  "license": "MIT",