@xmtp/wasm-bindings 1.1.2 → 1.1.3

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.
@@ -131,8 +131,6 @@ export class Client {
131
131
  applySignatureRequests(): Promise<void>;
132
132
  signWithInstallationKey(signature_text: string): Uint8Array;
133
133
  verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
134
- setConsentStates(records: Consent[]): Promise<void>;
135
- getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
136
134
  /**
137
135
  * Output booleans should be zipped with the index of input identifiers
138
136
  */
@@ -153,6 +151,8 @@ export class Client {
153
151
  */
154
152
  inboxState(refresh_from_network: boolean): Promise<InboxState>;
155
153
  getLatestInboxState(inbox_id: string): Promise<InboxState>;
154
+ setConsentStates(records: Consent[]): Promise<void>;
155
+ getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
156
156
  readonly accountIdentifier: Identifier;
157
157
  readonly inboxId: string;
158
158
  readonly isRegistered: boolean;
@@ -648,39 +648,6 @@ export interface InitOutput {
648
648
  readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
649
649
  readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
650
650
  readonly __wbg_get_reaction_reference: (a: number) => [number, number];
651
- readonly __wbg_consent_free: (a: number, b: number) => void;
652
- readonly __wbg_get_consent_entityType: (a: number) => number;
653
- readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
654
- readonly __wbg_get_consent_state: (a: number) => number;
655
- readonly __wbg_set_consent_state: (a: number, b: number) => void;
656
- readonly __wbg_get_consent_entity: (a: number) => [number, number];
657
- readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
658
- readonly consent_new: (a: number, b: number, c: number, d: number) => number;
659
- readonly client_setConsentStates: (a: number, b: number, c: number) => any;
660
- readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
661
- readonly conversation_consentState: (a: number) => [number, number, number];
662
- readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
663
- readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
664
- readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
665
- readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
666
- readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
667
- readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
668
- readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
669
- readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
670
- readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
671
- readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
672
- readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
673
- readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
674
- readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
675
- readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
676
- readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
677
- readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
678
- readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
679
- readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
680
- readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
681
- readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
682
- readonly grouppermissions_policyType: (a: number) => [number, number, number];
683
- readonly grouppermissions_policySet: (a: number) => [number, number, number];
684
651
  readonly __wbg_streamcloser_free: (a: number, b: number) => void;
685
652
  readonly streamcloser_end: (a: number) => void;
686
653
  readonly streamcloser_endAndWait: (a: number) => any;
@@ -728,6 +695,39 @@ export interface InitOutput {
728
695
  readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
729
696
  readonly client_inboxState: (a: number, b: number) => any;
730
697
  readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
698
+ readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
699
+ readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
700
+ readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
701
+ readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
702
+ readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
703
+ readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
704
+ readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
705
+ readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
706
+ readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
707
+ readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
708
+ readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
709
+ readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
710
+ readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
711
+ readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
712
+ readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
713
+ readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
714
+ readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
715
+ readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
716
+ readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
717
+ readonly grouppermissions_policyType: (a: number) => [number, number, number];
718
+ readonly grouppermissions_policySet: (a: number) => [number, number, number];
719
+ readonly __wbg_consent_free: (a: number, b: number) => void;
720
+ readonly __wbg_get_consent_entityType: (a: number) => number;
721
+ readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
722
+ readonly __wbg_get_consent_state: (a: number) => number;
723
+ readonly __wbg_set_consent_state: (a: number, b: number) => void;
724
+ readonly __wbg_get_consent_entity: (a: number) => [number, number];
725
+ readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
726
+ readonly consent_new: (a: number, b: number, c: number, d: number) => number;
727
+ readonly client_setConsentStates: (a: number, b: number, c: number) => any;
728
+ readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
729
+ readonly conversation_consentState: (a: number) => [number, number, number];
730
+ readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
731
731
  readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
732
732
  readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
733
733
  readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
@@ -792,8 +792,6 @@ export interface InitOutput {
792
792
  readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
793
793
  readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
794
794
  readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
795
- readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
796
- readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
797
795
  readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
798
796
  readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
799
797
  readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
@@ -866,6 +864,8 @@ export interface InitOutput {
866
864
  readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
867
865
  readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
868
866
  readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
867
+ readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
868
+ readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
869
869
  readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
870
870
  readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
871
871
  readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -896,9 +896,9 @@ export interface InitOutput {
896
896
  readonly __wbindgen_export_7: WebAssembly.Table;
897
897
  readonly __externref_table_dealloc: (a: number) => void;
898
898
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56: (a: number, b: number) => void;
899
- readonly closure3804_externref_shim: (a: number, b: number, c: any) => void;
900
- readonly closure4799_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
901
- readonly closure4798_externref_shim: (a: number, b: number, c: any, d: any) => void;
899
+ readonly closure3812_externref_shim: (a: number, b: number, c: any) => void;
900
+ readonly closure4807_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
901
+ readonly closure4806_externref_shim: (a: number, b: number, c: any, d: any) => void;
902
902
  readonly __wbindgen_start: () => void;
903
903
  }
904
904
 
@@ -375,16 +375,16 @@ function __wbg_adapter_48(arg0, arg1) {
375
375
  }
376
376
 
377
377
  function __wbg_adapter_51(arg0, arg1, arg2) {
378
- wasm.closure3804_externref_shim(arg0, arg1, arg2);
378
+ wasm.closure3812_externref_shim(arg0, arg1, arg2);
379
379
  }
380
380
 
381
381
  function __wbg_adapter_599(arg0, arg1, arg2, arg3, arg4) {
382
- const ret = wasm.closure4799_externref_shim(arg0, arg1, arg2, arg3, arg4);
382
+ const ret = wasm.closure4807_externref_shim(arg0, arg1, arg2, arg3, arg4);
383
383
  return ret !== 0;
384
384
  }
385
385
 
386
386
  function __wbg_adapter_700(arg0, arg1, arg2, arg3) {
387
- wasm.closure4798_externref_shim(arg0, arg1, arg2, arg3);
387
+ wasm.closure4806_externref_shim(arg0, arg1, arg2, arg3);
388
388
  }
389
389
 
390
390
  /**
@@ -673,27 +673,6 @@ export class Client {
673
673
  throw takeFromExternrefTable0(ret[0]);
674
674
  }
675
675
  }
676
- /**
677
- * @param {Consent[]} records
678
- * @returns {Promise<void>}
679
- */
680
- setConsentStates(records) {
681
- const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
682
- const len0 = WASM_VECTOR_LEN;
683
- const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
684
- return ret;
685
- }
686
- /**
687
- * @param {ConsentEntityType} entity_type
688
- * @param {string} entity
689
- * @returns {Promise<ConsentState>}
690
- */
691
- getConsentState(entity_type, entity) {
692
- const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
693
- const len0 = WASM_VECTOR_LEN;
694
- const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
695
- return ret;
696
- }
697
676
  /**
698
677
  * @returns {Identifier}
699
678
  */
@@ -827,6 +806,27 @@ export class Client {
827
806
  const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
828
807
  return ret;
829
808
  }
809
+ /**
810
+ * @param {Consent[]} records
811
+ * @returns {Promise<void>}
812
+ */
813
+ setConsentStates(records) {
814
+ const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
815
+ const len0 = WASM_VECTOR_LEN;
816
+ const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
817
+ return ret;
818
+ }
819
+ /**
820
+ * @param {ConsentEntityType} entity_type
821
+ * @param {string} entity
822
+ * @returns {Promise<ConsentState>}
823
+ */
824
+ getConsentState(entity_type, entity) {
825
+ const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
826
+ const len0 = WASM_VECTOR_LEN;
827
+ const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
828
+ return ret;
829
+ }
830
830
  }
831
831
 
832
832
  const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -963,7 +963,7 @@ export class ContentTypeId {
963
963
  set authorityId(arg0) {
964
964
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
965
965
  const len0 = WASM_VECTOR_LEN;
966
- wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
966
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
967
967
  }
968
968
  /**
969
969
  * @returns {string}
@@ -4834,19 +4834,19 @@ function __wbg_get_imports() {
4834
4834
  const ret = arg0.now();
4835
4835
  return ret;
4836
4836
  };
4837
- imports.wbg.__wbg_onconsentupdate_6ea8f120fae63de9 = function(arg0, arg1) {
4837
+ imports.wbg.__wbg_onconsentupdate_d39af2c2a65f8104 = function(arg0, arg1) {
4838
4838
  arg0.on_consent_update(arg1);
4839
4839
  };
4840
- imports.wbg.__wbg_onconversation_1210cff8501eb6a5 = function(arg0, arg1) {
4840
+ imports.wbg.__wbg_onconversation_2776d8d9426c5229 = function(arg0, arg1) {
4841
4841
  arg0.on_conversation(Conversation.__wrap(arg1));
4842
4842
  };
4843
- imports.wbg.__wbg_onerror_4016be5705b5df18 = function(arg0, arg1) {
4843
+ imports.wbg.__wbg_onerror_75829c7bc5432c6c = function(arg0, arg1) {
4844
4844
  arg0.on_error(arg1);
4845
4845
  };
4846
- imports.wbg.__wbg_onmessage_3e2b06466591ec19 = function(arg0, arg1) {
4846
+ imports.wbg.__wbg_onmessage_501b172c699f8bf5 = function(arg0, arg1) {
4847
4847
  arg0.on_message(Message.__wrap(arg1));
4848
4848
  };
4849
- imports.wbg.__wbg_onuserpreferenceupdate_895874f8332897e6 = function(arg0, arg1, arg2) {
4849
+ imports.wbg.__wbg_onuserpreferenceupdate_3113ed19eb68f530 = function(arg0, arg1, arg2) {
4850
4850
  var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
4851
4851
  wasm.__wbindgen_free(arg1, arg2 * 4, 4);
4852
4852
  arg0.on_user_preference_update(v0);
@@ -5130,12 +5130,12 @@ function __wbg_get_imports() {
5130
5130
  const ret = false;
5131
5131
  return ret;
5132
5132
  };
5133
- imports.wbg.__wbindgen_closure_wrapper16363 = function(arg0, arg1, arg2) {
5134
- const ret = makeMutClosure(arg0, arg1, 3734, __wbg_adapter_48);
5133
+ imports.wbg.__wbindgen_closure_wrapper16352 = function(arg0, arg1, arg2) {
5134
+ const ret = makeMutClosure(arg0, arg1, 3742, __wbg_adapter_48);
5135
5135
  return ret;
5136
5136
  };
5137
- imports.wbg.__wbindgen_closure_wrapper16642 = function(arg0, arg1, arg2) {
5138
- const ret = makeMutClosure(arg0, arg1, 3805, __wbg_adapter_51);
5137
+ imports.wbg.__wbindgen_closure_wrapper16631 = function(arg0, arg1, arg2) {
5138
+ const ret = makeMutClosure(arg0, arg1, 3813, __wbg_adapter_51);
5139
5139
  return ret;
5140
5140
  };
5141
5141
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -108,39 +108,6 @@ export const client_signWithInstallationKey: (a: number, b: number, c: number) =
108
108
  export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
109
109
  export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
110
110
  export const __wbg_get_reaction_reference: (a: number) => [number, number];
111
- export const __wbg_consent_free: (a: number, b: number) => void;
112
- export const __wbg_get_consent_entityType: (a: number) => number;
113
- export const __wbg_set_consent_entityType: (a: number, b: number) => void;
114
- export const __wbg_get_consent_state: (a: number) => number;
115
- export const __wbg_set_consent_state: (a: number, b: number) => void;
116
- export const __wbg_get_consent_entity: (a: number) => [number, number];
117
- export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
118
- export const consent_new: (a: number, b: number, c: number, d: number) => number;
119
- export const client_setConsentStates: (a: number, b: number, c: number) => any;
120
- export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
121
- export const conversation_consentState: (a: number) => [number, number, number];
122
- export const conversation_updateConsentState: (a: number, b: number) => [number, number];
123
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
124
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
125
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
126
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
127
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
128
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
129
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
130
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
131
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
132
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
133
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
134
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
135
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
136
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
137
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
138
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
139
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
140
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
141
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
142
- export const grouppermissions_policyType: (a: number) => [number, number, number];
143
- export const grouppermissions_policySet: (a: number) => [number, number, number];
144
111
  export const __wbg_streamcloser_free: (a: number, b: number) => void;
145
112
  export const streamcloser_end: (a: number) => void;
146
113
  export const streamcloser_endAndWait: (a: number) => any;
@@ -188,6 +155,39 @@ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c:
188
155
  export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
189
156
  export const client_inboxState: (a: number, b: number) => any;
190
157
  export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
158
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
159
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
160
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
161
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
162
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
163
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
164
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
165
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
166
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
167
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
168
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
169
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
170
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
171
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
172
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
173
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
174
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
175
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
176
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
177
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
178
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
179
+ export const __wbg_consent_free: (a: number, b: number) => void;
180
+ export const __wbg_get_consent_entityType: (a: number) => number;
181
+ export const __wbg_set_consent_entityType: (a: number, b: number) => void;
182
+ export const __wbg_get_consent_state: (a: number) => number;
183
+ export const __wbg_set_consent_state: (a: number, b: number) => void;
184
+ export const __wbg_get_consent_entity: (a: number) => [number, number];
185
+ export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
186
+ export const consent_new: (a: number, b: number, c: number, d: number) => number;
187
+ export const client_setConsentStates: (a: number, b: number, c: number) => any;
188
+ export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
189
+ export const conversation_consentState: (a: number) => [number, number, number];
190
+ export const conversation_updateConsentState: (a: number, b: number) => [number, number];
191
191
  export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
192
192
  export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
193
193
  export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
@@ -252,8 +252,6 @@ export const conversations_streamAllMessages: (a: number, b: any, c: number) =>
252
252
  export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
253
253
  export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
254
254
  export const __wbg_contenttypeid_free: (a: number, b: number) => void;
255
- export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
256
- export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
257
255
  export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
258
256
  export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
259
257
  export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
@@ -326,6 +324,8 @@ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: numbe
326
324
  export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
327
325
  export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
328
326
  export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
327
+ export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
328
+ export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
329
329
  export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
330
330
  export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
331
331
  export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -356,7 +356,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
356
356
  export const __wbindgen_export_7: WebAssembly.Table;
357
357
  export const __externref_table_dealloc: (a: number) => void;
358
358
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56: (a: number, b: number) => void;
359
- export const closure3804_externref_shim: (a: number, b: number, c: any) => void;
360
- export const closure4799_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
361
- export const closure4798_externref_shim: (a: number, b: number, c: any, d: any) => void;
359
+ export const closure3812_externref_shim: (a: number, b: number, c: any) => void;
360
+ export const closure4807_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
361
+ export const closure4806_externref_shim: (a: number, b: number, c: any, d: any) => void;
362
362
  export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",