@xmtp/wasm-bindings 1.4.0-rc2 → 1.4.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.
@@ -265,6 +265,7 @@ export class ConversationDebugInfo {
265
265
  get isCommitLogForked(): boolean | undefined;
266
266
  set isCommitLogForked(value: boolean | null | undefined);
267
267
  localCommitLog: string;
268
+ remoteCommitLog: string;
268
269
  cursor: bigint;
269
270
  }
270
271
  export class ConversationListItem {
@@ -648,6 +649,8 @@ export interface InitOutput {
648
649
  readonly __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
649
650
  readonly __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
650
651
  readonly __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
652
+ readonly __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
653
+ readonly __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
651
654
  readonly __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
652
655
  readonly __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
653
656
  readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
@@ -740,6 +743,27 @@ export interface InitOutput {
740
743
  readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
741
744
  readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
742
745
  readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
746
+ readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
747
+ readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
748
+ readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
749
+ readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
750
+ readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
751
+ readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
752
+ readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
753
+ readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
754
+ readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
755
+ readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
756
+ readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
757
+ readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
758
+ readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
759
+ readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
760
+ readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
761
+ readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
762
+ readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
763
+ readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
764
+ readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
765
+ readonly grouppermissions_policyType: (a: number) => [number, number, number];
766
+ readonly grouppermissions_policySet: (a: number) => [number, number, number];
743
767
  readonly __wbg_apistats_free: (a: number, b: number) => void;
744
768
  readonly __wbg_get_apistats_upload_key_package: (a: number) => bigint;
745
769
  readonly __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
@@ -760,19 +784,6 @@ export interface InitOutput {
760
784
  readonly __wbg_identitystats_free: (a: number, b: number) => void;
761
785
  readonly getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
762
786
  readonly generateInboxId: (a: any) => [number, number, number, number];
763
- readonly __wbg_opfs_free: (a: number, b: number) => void;
764
- readonly opfs_init_sqlite_opfs: () => any;
765
- readonly opfs_exists: () => number;
766
- readonly opfs_error: () => [number, number];
767
- readonly opfs_wipeFiles: () => any;
768
- readonly opfs_rm: (a: number, b: number) => [number, number, number];
769
- readonly opfs_getFileNames: () => [number, number];
770
- readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
771
- readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
772
- readonly opfs_getFileCount: () => number;
773
- readonly opfs_getCapacity: () => number;
774
- readonly opfs_addCapacity: (a: number) => any;
775
- readonly opfs_reduceCapacity: (a: number) => any;
776
787
  readonly __wbg_streamcloser_free: (a: number, b: number) => void;
777
788
  readonly streamcloser_end: (a: number) => void;
778
789
  readonly streamcloser_endAndWait: (a: number) => any;
@@ -786,27 +797,6 @@ export interface InitOutput {
786
797
  readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
787
798
  readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
788
799
  readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
789
- readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
790
- readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
791
- readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
792
- readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
793
- readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
794
- readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
795
- readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
796
- readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
797
- readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
798
- readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
799
- readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
800
- readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
801
- readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
802
- readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
803
- readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
804
- readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
805
- readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
806
- readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
807
- readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
808
- readonly grouppermissions_policyType: (a: number) => [number, number, number];
809
- readonly grouppermissions_policySet: (a: number) => [number, number, number];
810
800
  readonly __wbg_client_free: (a: number, b: number) => void;
811
801
  readonly __wbg_logoptions_free: (a: number, b: number) => void;
812
802
  readonly __wbg_get_logoptions_structured: (a: number) => number;
@@ -1016,6 +1006,19 @@ export interface InitOutput {
1016
1006
  readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
1017
1007
  readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
1018
1008
  readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
1009
+ readonly __wbg_opfs_free: (a: number, b: number) => void;
1010
+ readonly opfs_init_sqlite_opfs: () => any;
1011
+ readonly opfs_exists: () => number;
1012
+ readonly opfs_error: () => [number, number];
1013
+ readonly opfs_wipeFiles: () => any;
1014
+ readonly opfs_rm: (a: number, b: number) => [number, number, number];
1015
+ readonly opfs_getFileNames: () => [number, number];
1016
+ readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
1017
+ readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
1018
+ readonly opfs_getFileCount: () => number;
1019
+ readonly opfs_getCapacity: () => number;
1020
+ readonly opfs_addCapacity: (a: number) => any;
1021
+ readonly opfs_reduceCapacity: (a: number) => any;
1019
1022
  readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
1020
1023
  readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
1021
1024
  readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -1060,8 +1063,8 @@ export interface InitOutput {
1060
1063
  readonly __externref_table_dealloc: (a: number) => void;
1061
1064
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
1062
1065
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1: (a: number, b: number) => void;
1063
- readonly closure5188_externref_shim: (a: number, b: number, c: any) => void;
1064
- readonly closure6115_externref_shim: (a: number, b: number, c: any, d: any) => void;
1066
+ readonly closure5204_externref_shim: (a: number, b: number, c: any) => void;
1067
+ readonly closure6131_externref_shim: (a: number, b: number, c: any, d: any) => void;
1065
1068
  readonly __wbindgen_start: () => void;
1066
1069
  }
1067
1070
 
@@ -444,11 +444,11 @@ function __wbg_adapter_53(arg0, arg1) {
444
444
  }
445
445
 
446
446
  function __wbg_adapter_56(arg0, arg1, arg2) {
447
- wasm.closure5188_externref_shim(arg0, arg1, arg2);
447
+ wasm.closure5204_externref_shim(arg0, arg1, arg2);
448
448
  }
449
449
 
450
- function __wbg_adapter_791(arg0, arg1, arg2, arg3) {
451
- wasm.closure6115_externref_shim(arg0, arg1, arg2, arg3);
450
+ function __wbg_adapter_793(arg0, arg1, arg2, arg3) {
451
+ wasm.closure6131_externref_shim(arg0, arg1, arg2, arg3);
452
452
  }
453
453
 
454
454
  /**
@@ -1929,6 +1929,29 @@ export class ConversationDebugInfo {
1929
1929
  const len0 = WASM_VECTOR_LEN;
1930
1930
  wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
1931
1931
  }
1932
+ /**
1933
+ * @returns {string}
1934
+ */
1935
+ get remoteCommitLog() {
1936
+ let deferred1_0;
1937
+ let deferred1_1;
1938
+ try {
1939
+ const ret = wasm.__wbg_get_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr);
1940
+ deferred1_0 = ret[0];
1941
+ deferred1_1 = ret[1];
1942
+ return getStringFromWasm0(ret[0], ret[1]);
1943
+ } finally {
1944
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1945
+ }
1946
+ }
1947
+ /**
1948
+ * @param {string} arg0
1949
+ */
1950
+ set remoteCommitLog(arg0) {
1951
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1952
+ const len0 = WASM_VECTOR_LEN;
1953
+ wasm.__wbg_set_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr, ptr0, len0);
1954
+ }
1932
1955
  /**
1933
1956
  * @returns {bigint}
1934
1957
  */
@@ -5380,7 +5403,7 @@ function __wbg_get_imports() {
5380
5403
  const a = state0.a;
5381
5404
  state0.a = 0;
5382
5405
  try {
5383
- return __wbg_adapter_791(a, state0.b, arg0, arg1);
5406
+ return __wbg_adapter_793(a, state0.b, arg0, arg1);
5384
5407
  } finally {
5385
5408
  state0.a = a;
5386
5409
  }
@@ -5488,22 +5511,22 @@ function __wbg_get_imports() {
5488
5511
  const ret = arg0.now();
5489
5512
  return ret;
5490
5513
  };
5491
- imports.wbg.__wbg_onclose_7d18d767375a80e8 = function(arg0) {
5514
+ imports.wbg.__wbg_onclose_41c0e518c248c385 = function(arg0) {
5492
5515
  arg0.on_close();
5493
5516
  };
5494
- imports.wbg.__wbg_onconsentupdate_f0714066eb67dbfc = function(arg0, arg1) {
5517
+ imports.wbg.__wbg_onconsentupdate_db1d3557f75e3dcb = function(arg0, arg1) {
5495
5518
  arg0.on_consent_update(arg1);
5496
5519
  };
5497
- imports.wbg.__wbg_onconversation_8944d536d3d6df1a = function(arg0, arg1) {
5520
+ imports.wbg.__wbg_onconversation_db4f9c3d8e604f5d = function(arg0, arg1) {
5498
5521
  arg0.on_conversation(Conversation.__wrap(arg1));
5499
5522
  };
5500
- imports.wbg.__wbg_onerror_375f7d83c5a2f377 = function(arg0, arg1) {
5523
+ imports.wbg.__wbg_onerror_2796011afc1733e7 = function(arg0, arg1) {
5501
5524
  arg0.on_error(arg1);
5502
5525
  };
5503
- imports.wbg.__wbg_onmessage_1827d39fdf94fe31 = function(arg0, arg1) {
5526
+ imports.wbg.__wbg_onmessage_887b149a5a48d19c = function(arg0, arg1) {
5504
5527
  arg0.on_message(Message.__wrap(arg1));
5505
5528
  };
5506
- imports.wbg.__wbg_onuserpreferenceupdate_7ecb525805cd1aac = function(arg0, arg1, arg2) {
5529
+ imports.wbg.__wbg_onuserpreferenceupdate_fd1d58e970305771 = function(arg0, arg1, arg2) {
5507
5530
  var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
5508
5531
  wasm.__wbindgen_free(arg1, arg2 * 4, 4);
5509
5532
  arg0.on_user_preference_update(v0);
@@ -5792,16 +5815,16 @@ function __wbg_get_imports() {
5792
5815
  const ret = false;
5793
5816
  return ret;
5794
5817
  };
5795
- imports.wbg.__wbindgen_closure_wrapper20235 = function(arg0, arg1, arg2) {
5796
- const ret = makeMutClosure(arg0, arg1, 4891, __wbg_adapter_50);
5818
+ imports.wbg.__wbindgen_closure_wrapper20273 = function(arg0, arg1, arg2) {
5819
+ const ret = makeMutClosure(arg0, arg1, 4907, __wbg_adapter_50);
5797
5820
  return ret;
5798
5821
  };
5799
- imports.wbg.__wbindgen_closure_wrapper22355 = function(arg0, arg1, arg2) {
5800
- const ret = makeMutClosure(arg0, arg1, 5165, __wbg_adapter_53);
5822
+ imports.wbg.__wbindgen_closure_wrapper22394 = function(arg0, arg1, arg2) {
5823
+ const ret = makeMutClosure(arg0, arg1, 5181, __wbg_adapter_53);
5801
5824
  return ret;
5802
5825
  };
5803
- imports.wbg.__wbindgen_closure_wrapper23010 = function(arg0, arg1, arg2) {
5804
- const ret = makeMutClosure(arg0, arg1, 5189, __wbg_adapter_56);
5826
+ imports.wbg.__wbindgen_closure_wrapper23049 = function(arg0, arg1, arg2) {
5827
+ const ret = makeMutClosure(arg0, arg1, 5205, __wbg_adapter_56);
5805
5828
  return ret;
5806
5829
  };
5807
5830
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -28,6 +28,8 @@ export const __wbg_get_conversationdebuginfo_isCommitLogForked: (a: number) => n
28
28
  export const __wbg_set_conversationdebuginfo_isCommitLogForked: (a: number, b: number) => void;
29
29
  export const __wbg_get_conversationdebuginfo_localCommitLog: (a: number) => [number, number];
30
30
  export const __wbg_set_conversationdebuginfo_localCommitLog: (a: number, b: number, c: number) => void;
31
+ export const __wbg_get_conversationdebuginfo_remoteCommitLog: (a: number) => [number, number];
32
+ export const __wbg_set_conversationdebuginfo_remoteCommitLog: (a: number, b: number, c: number) => void;
31
33
  export const __wbg_get_conversationdebuginfo_cursor: (a: number) => bigint;
32
34
  export const __wbg_set_conversationdebuginfo_cursor: (a: number, b: bigint) => void;
33
35
  export const __wbg_creategroupoptions_free: (a: number, b: number) => void;
@@ -120,6 +122,27 @@ export const __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
120
122
  export const __wbg_get_hmackey_epoch: (a: number) => bigint;
121
123
  export const __wbg_get_message_sentAtNs: (a: number) => bigint;
122
124
  export const __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
125
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
126
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
127
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
128
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
129
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
130
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
131
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
132
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
133
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
134
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
135
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
136
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
137
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
138
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
139
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
140
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
141
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
142
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
143
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
144
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
145
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
123
146
  export const __wbg_apistats_free: (a: number, b: number) => void;
124
147
  export const __wbg_get_apistats_upload_key_package: (a: number) => bigint;
125
148
  export const __wbg_set_apistats_upload_key_package: (a: number, b: bigint) => void;
@@ -140,19 +163,6 @@ export const __wbg_set_apistats_subscribe_welcomes: (a: number, b: bigint) => vo
140
163
  export const __wbg_identitystats_free: (a: number, b: number) => void;
141
164
  export const getInboxIdForIdentifier: (a: number, b: number, c: any) => any;
142
165
  export const generateInboxId: (a: any) => [number, number, number, number];
143
- export const __wbg_opfs_free: (a: number, b: number) => void;
144
- export const opfs_init_sqlite_opfs: () => any;
145
- export const opfs_exists: () => number;
146
- export const opfs_error: () => [number, number];
147
- export const opfs_wipeFiles: () => any;
148
- export const opfs_rm: (a: number, b: number) => [number, number, number];
149
- export const opfs_getFileNames: () => [number, number];
150
- export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
151
- export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
152
- export const opfs_getFileCount: () => number;
153
- export const opfs_getCapacity: () => number;
154
- export const opfs_addCapacity: (a: number) => any;
155
- export const opfs_reduceCapacity: (a: number) => any;
156
166
  export const __wbg_streamcloser_free: (a: number, b: number) => void;
157
167
  export const streamcloser_end: (a: number) => void;
158
168
  export const streamcloser_endAndWait: (a: number) => any;
@@ -166,27 +176,6 @@ export const __wbg_get_identitystats_publish_identity_update: (a: number) => big
166
176
  export const __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
167
177
  export const __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
168
178
  export const __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
169
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
170
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
171
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
172
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
173
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
174
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
175
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
176
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
177
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
178
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
179
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
180
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
181
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
182
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
183
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
184
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
185
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
186
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
187
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
188
- export const grouppermissions_policyType: (a: number) => [number, number, number];
189
- export const grouppermissions_policySet: (a: number) => [number, number, number];
190
179
  export const __wbg_client_free: (a: number, b: number) => void;
191
180
  export const __wbg_logoptions_free: (a: number, b: number) => void;
192
181
  export const __wbg_get_logoptions_structured: (a: number) => number;
@@ -396,6 +385,19 @@ export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: numb
396
385
  export const __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
397
386
  export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
398
387
  export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
388
+ export const __wbg_opfs_free: (a: number, b: number) => void;
389
+ export const opfs_init_sqlite_opfs: () => any;
390
+ export const opfs_exists: () => number;
391
+ export const opfs_error: () => [number, number];
392
+ export const opfs_wipeFiles: () => any;
393
+ export const opfs_rm: (a: number, b: number) => [number, number, number];
394
+ export const opfs_getFileNames: () => [number, number];
395
+ export const opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
396
+ export const opfs_exportFile: (a: number, b: number) => [number, number, number, number];
397
+ export const opfs_getFileCount: () => number;
398
+ export const opfs_getCapacity: () => number;
399
+ export const opfs_addCapacity: (a: number) => any;
400
+ export const opfs_reduceCapacity: (a: number) => any;
399
401
  export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
400
402
  export const rust_zstd_wasm_shim_malloc: (a: number) => number;
401
403
  export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
@@ -440,6 +442,6 @@ export const __wbindgen_export_7: WebAssembly.Table;
440
442
  export const __externref_table_dealloc: (a: number) => void;
441
443
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6b9ddcbfcc08eea: (a: number, b: number) => void;
442
444
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd0e40dce3ea5bca1: (a: number, b: number) => void;
443
- export const closure5188_externref_shim: (a: number, b: number, c: any) => void;
444
- export const closure6115_externref_shim: (a: number, b: number, c: any, d: any) => void;
445
+ export const closure5204_externref_shim: (a: number, b: number, c: any) => void;
446
+ export const closure6131_externref_shim: (a: number, b: number, c: any, d: any) => void;
445
447
  export const __wbindgen_start: () => void;
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "cv/v1.4-rc2",
3
- "version": "a47100a",
4
- "date": "2025-08-17 23:07:54 +0000"
2
+ "branch": "HEAD",
3
+ "version": "a9d19aa",
4
+ "date": "2025-08-25 21:45:01 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.4.0-rc2",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",