@oxidezap/whatsapp-rust-bridge 0.22.0 → 0.22.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.
@@ -934,6 +934,14 @@ export interface LidPnMappingEntry {
934
934
  learning_source: string;
935
935
  }
936
936
 
937
+ export interface LockChatUpdate {
938
+ /** The chat being locked or unlocked (chat lock, the hidden "locked chats" folder on the primary device). */
939
+ jid: Jid;
940
+ timestamp: string;
941
+ action: import('./proto-types.js').proto.SyncActionValue.ILockChatAction;
942
+ from_full_sync: boolean;
943
+ }
944
+
937
945
  export interface LoggedOut {
938
946
  on_connect: boolean;
939
947
  reason: ConnectFailureReason;
@@ -3573,6 +3581,7 @@ export type WhatsAppEvent =
3573
3581
  | { type: 'pin_update'; data: PinUpdate }
3574
3582
  | { type: 'mute_update'; data: MuteUpdate }
3575
3583
  | { type: 'archive_update'; data: ArchiveUpdate }
3584
+ | { type: 'lock_chat_update'; data: LockChatUpdate }
3576
3585
  | { type: 'star_update'; data: StarUpdate }
3577
3586
  | { type: 'mark_chat_as_read_update'; data: MarkChatAsReadUpdate }
3578
3587
  | { type: 'delete_chat_update'; data: DeleteChatUpdate }
@@ -4996,12 +5005,12 @@ export interface InitOutput {
4996
5005
  readonly intounderlyingsink_write: (a: number, b: number) => number;
4997
5006
  readonly intounderlyingsource_cancel: (a: number) => void;
4998
5007
  readonly intounderlyingsource_pull: (a: number, b: number) => number;
4999
- readonly __wasm_bindgen_func_elem_4659: (a: number, b: number, c: number) => void;
5000
- readonly __wasm_bindgen_func_elem_28605: (a: number, b: number, c: number, d: number) => void;
5001
- readonly __wasm_bindgen_func_elem_28607: (a: number, b: number, c: number, d: number) => void;
5002
- readonly __wasm_bindgen_func_elem_9899: (a: number, b: number, c: number) => void;
5003
- readonly __wasm_bindgen_func_elem_4658: (a: number, b: number, c: number) => void;
5004
- readonly __wasm_bindgen_func_elem_4657: (a: number, b: number) => void;
5008
+ readonly __wasm_bindgen_func_elem_4670: (a: number, b: number, c: number) => void;
5009
+ readonly __wasm_bindgen_func_elem_28628: (a: number, b: number, c: number, d: number) => void;
5010
+ readonly __wasm_bindgen_func_elem_28630: (a: number, b: number, c: number, d: number) => void;
5011
+ readonly __wasm_bindgen_func_elem_9914: (a: number, b: number, c: number) => void;
5012
+ readonly __wasm_bindgen_func_elem_4669: (a: number, b: number, c: number) => void;
5013
+ readonly __wasm_bindgen_func_elem_4668: (a: number, b: number) => void;
5005
5014
  readonly __wbindgen_export: (a: number, b: number) => number;
5006
5015
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
5007
5016
  readonly __wbindgen_export3: (a: number) => void;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxidezap/whatsapp-rust-bridge",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
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",