@xmtp/wasm-bindings 0.0.19 → 0.0.20

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.
@@ -1,13 +1,13 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export function createClient(host: string, inbox_id: string, account_address: string, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
4
+ export function getInboxIdForAddress(host: string, account_address: string): Promise<string | undefined>;
5
+ export function generateInboxId(account_address: string): string;
6
+ export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
4
7
  export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
5
8
  export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
6
9
  export function encodeReaction(reaction: Reaction): Uint8Array;
7
10
  export function decodeReaction(bytes: Uint8Array): Reaction;
8
- export function getInboxIdForAddress(host: string, account_address: string): Promise<string | undefined>;
9
- export function generateInboxId(account_address: string): string;
10
- export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
11
11
  export enum ConsentEntityType {
12
12
  GroupId = 0,
13
13
  InboxId = 1,
@@ -660,6 +660,45 @@ export interface InitOutput {
660
660
  readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
661
661
  readonly conversation_consentState: (a: number) => [number, number, number];
662
662
  readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
663
+ readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
664
+ readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
665
+ readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
666
+ readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
667
+ readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
668
+ readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
669
+ readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
670
+ readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
671
+ readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
672
+ readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
673
+ readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
674
+ readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
675
+ readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
676
+ readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
677
+ readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
678
+ readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
679
+ readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
680
+ readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
681
+ readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
682
+ readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
683
+ readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
684
+ readonly grouppermissions_policyType: (a: number) => [number, number, number];
685
+ readonly grouppermissions_policySet: (a: number) => [number, number, number];
686
+ readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
687
+ readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
688
+ readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
689
+ readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
690
+ readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
691
+ readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
692
+ readonly client_addSignature: (a: number, b: number, c: any) => any;
693
+ readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
694
+ readonly client_applySignatureRequests: (a: number) => any;
695
+ readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
696
+ readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
697
+ readonly __wbg_streamcloser_free: (a: number, b: number) => void;
698
+ readonly streamcloser_end: (a: number) => void;
699
+ readonly streamcloser_endAndWait: (a: number) => any;
700
+ readonly streamcloser_waitForReady: (a: number) => any;
701
+ readonly streamcloser_isClosed: (a: number) => number;
663
702
  readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
664
703
  readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
665
704
  readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
@@ -753,45 +792,6 @@ export interface InitOutput {
753
792
  readonly conversation_getHmacKeys: (a: number) => [number, number, number];
754
793
  readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
755
794
  readonly __wbg_get_reaction_reference: (a: number) => [number, number];
756
- readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
757
- readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
758
- readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
759
- readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
760
- readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
761
- readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
762
- readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
763
- readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
764
- readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
765
- readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
766
- readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
767
- readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
768
- readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
769
- readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
770
- readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
771
- readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
772
- readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
773
- readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
774
- readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
775
- readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
776
- readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
777
- readonly grouppermissions_policyType: (a: number) => [number, number, number];
778
- readonly grouppermissions_policySet: (a: number) => [number, number, number];
779
- readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
780
- readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
781
- readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
782
- readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
783
- readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
784
- readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
785
- readonly client_addSignature: (a: number, b: number, c: any) => any;
786
- readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
787
- readonly client_applySignatureRequests: (a: number) => any;
788
- readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
789
- readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
790
- readonly __wbg_streamcloser_free: (a: number, b: number) => void;
791
- readonly streamcloser_end: (a: number) => void;
792
- readonly streamcloser_endAndWait: (a: number) => any;
793
- readonly streamcloser_waitForReady: (a: number) => any;
794
- readonly streamcloser_isClosed: (a: number) => number;
795
795
  readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
796
796
  readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
797
797
  readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -822,9 +822,9 @@ export interface InitOutput {
822
822
  readonly __wbindgen_export_7: WebAssembly.Table;
823
823
  readonly __externref_table_dealloc: (a: number) => void;
824
824
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
825
- readonly closure3671_externref_shim: (a: number, b: number, c: any) => void;
826
- readonly closure4678_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
827
- readonly closure4677_externref_shim: (a: number, b: number, c: any, d: any) => void;
825
+ readonly closure3662_externref_shim: (a: number, b: number, c: any) => void;
826
+ readonly closure4669_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
827
+ readonly closure4668_externref_shim: (a: number, b: number, c: any, d: any) => void;
828
828
  readonly __wbindgen_start: () => void;
829
829
  }
830
830
 
@@ -272,58 +272,6 @@ export function createClient(host, inbox_id, account_address, db_path, encryptio
272
272
  return ret;
273
273
  }
274
274
 
275
- /**
276
- * @param {MultiRemoteAttachment} multiRemoteAttachment
277
- * @returns {Uint8Array}
278
- */
279
- export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
280
- _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
281
- var ptr0 = multiRemoteAttachment.__destroy_into_raw();
282
- const ret = wasm.encodeMultiRemoteAttachment(ptr0);
283
- if (ret[2]) {
284
- throw takeFromExternrefTable0(ret[1]);
285
- }
286
- return takeFromExternrefTable0(ret[0]);
287
- }
288
-
289
- /**
290
- * @param {Uint8Array} bytes
291
- * @returns {MultiRemoteAttachment}
292
- */
293
- export function decodeMultiRemoteAttachment(bytes) {
294
- const ret = wasm.decodeMultiRemoteAttachment(bytes);
295
- if (ret[2]) {
296
- throw takeFromExternrefTable0(ret[1]);
297
- }
298
- return MultiRemoteAttachment.__wrap(ret[0]);
299
- }
300
-
301
- /**
302
- * @param {Reaction} reaction
303
- * @returns {Uint8Array}
304
- */
305
- export function encodeReaction(reaction) {
306
- _assertClass(reaction, Reaction);
307
- var ptr0 = reaction.__destroy_into_raw();
308
- const ret = wasm.encodeReaction(ptr0);
309
- if (ret[2]) {
310
- throw takeFromExternrefTable0(ret[1]);
311
- }
312
- return takeFromExternrefTable0(ret[0]);
313
- }
314
-
315
- /**
316
- * @param {Uint8Array} bytes
317
- * @returns {Reaction}
318
- */
319
- export function decodeReaction(bytes) {
320
- const ret = wasm.decodeReaction(bytes);
321
- if (ret[2]) {
322
- throw takeFromExternrefTable0(ret[1]);
323
- }
324
- return Reaction.__wrap(ret[0]);
325
- }
326
-
327
275
  /**
328
276
  * @param {string} host
329
277
  * @param {string} account_address
@@ -377,21 +325,73 @@ export function verifySignedWithPublicKey(signature_text, signature_bytes, publi
377
325
  }
378
326
  }
379
327
 
328
+ /**
329
+ * @param {MultiRemoteAttachment} multiRemoteAttachment
330
+ * @returns {Uint8Array}
331
+ */
332
+ export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
333
+ _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
334
+ var ptr0 = multiRemoteAttachment.__destroy_into_raw();
335
+ const ret = wasm.encodeMultiRemoteAttachment(ptr0);
336
+ if (ret[2]) {
337
+ throw takeFromExternrefTable0(ret[1]);
338
+ }
339
+ return takeFromExternrefTable0(ret[0]);
340
+ }
341
+
342
+ /**
343
+ * @param {Uint8Array} bytes
344
+ * @returns {MultiRemoteAttachment}
345
+ */
346
+ export function decodeMultiRemoteAttachment(bytes) {
347
+ const ret = wasm.decodeMultiRemoteAttachment(bytes);
348
+ if (ret[2]) {
349
+ throw takeFromExternrefTable0(ret[1]);
350
+ }
351
+ return MultiRemoteAttachment.__wrap(ret[0]);
352
+ }
353
+
354
+ /**
355
+ * @param {Reaction} reaction
356
+ * @returns {Uint8Array}
357
+ */
358
+ export function encodeReaction(reaction) {
359
+ _assertClass(reaction, Reaction);
360
+ var ptr0 = reaction.__destroy_into_raw();
361
+ const ret = wasm.encodeReaction(ptr0);
362
+ if (ret[2]) {
363
+ throw takeFromExternrefTable0(ret[1]);
364
+ }
365
+ return takeFromExternrefTable0(ret[0]);
366
+ }
367
+
368
+ /**
369
+ * @param {Uint8Array} bytes
370
+ * @returns {Reaction}
371
+ */
372
+ export function decodeReaction(bytes) {
373
+ const ret = wasm.decodeReaction(bytes);
374
+ if (ret[2]) {
375
+ throw takeFromExternrefTable0(ret[1]);
376
+ }
377
+ return Reaction.__wrap(ret[0]);
378
+ }
379
+
380
380
  function __wbg_adapter_46(arg0, arg1) {
381
381
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec(arg0, arg1);
382
382
  }
383
383
 
384
384
  function __wbg_adapter_49(arg0, arg1, arg2) {
385
- wasm.closure3671_externref_shim(arg0, arg1, arg2);
385
+ wasm.closure3662_externref_shim(arg0, arg1, arg2);
386
386
  }
387
387
 
388
388
  function __wbg_adapter_579(arg0, arg1, arg2, arg3, arg4) {
389
- const ret = wasm.closure4678_externref_shim(arg0, arg1, arg2, arg3, arg4);
389
+ const ret = wasm.closure4669_externref_shim(arg0, arg1, arg2, arg3, arg4);
390
390
  return ret !== 0;
391
391
  }
392
392
 
393
393
  function __wbg_adapter_680(arg0, arg1, arg2, arg3) {
394
- wasm.closure4677_externref_shim(arg0, arg1, arg2, arg3);
394
+ wasm.closure4668_externref_shim(arg0, arg1, arg2, arg3);
395
395
  }
396
396
 
397
397
  /**
@@ -4966,12 +4966,12 @@ function __wbg_get_imports() {
4966
4966
  const ret = false;
4967
4967
  return ret;
4968
4968
  };
4969
- imports.wbg.__wbindgen_closure_wrapper15739 = function(arg0, arg1, arg2) {
4970
- const ret = makeMutClosure(arg0, arg1, 3601, __wbg_adapter_46);
4969
+ imports.wbg.__wbindgen_closure_wrapper15735 = function(arg0, arg1, arg2) {
4970
+ const ret = makeMutClosure(arg0, arg1, 3591, __wbg_adapter_46);
4971
4971
  return ret;
4972
4972
  };
4973
- imports.wbg.__wbindgen_closure_wrapper16047 = function(arg0, arg1, arg2) {
4974
- const ret = makeMutClosure(arg0, arg1, 3672, __wbg_adapter_49);
4973
+ imports.wbg.__wbindgen_closure_wrapper16045 = function(arg0, arg1, arg2) {
4974
+ const ret = makeMutClosure(arg0, arg1, 3663, __wbg_adapter_49);
4975
4975
  return ret;
4976
4976
  };
4977
4977
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -178,6 +178,45 @@ export const client_setConsentStates: (a: number, b: number, c: number) => any;
178
178
  export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
179
179
  export const conversation_consentState: (a: number) => [number, number, number];
180
180
  export const conversation_updateConsentState: (a: number, b: number) => [number, number];
181
+ export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
182
+ export const generateInboxId: (a: number, b: number) => [number, number, number, number];
183
+ export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
184
+ export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
185
+ export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
186
+ export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
187
+ export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
188
+ export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
189
+ export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
190
+ export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
191
+ export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
192
+ export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
193
+ export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
194
+ export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
195
+ export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
196
+ export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
197
+ export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
198
+ export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
199
+ export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
200
+ export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
201
+ export const __wbg_grouppermissions_free: (a: number, b: number) => void;
202
+ export const grouppermissions_policyType: (a: number) => [number, number, number];
203
+ export const grouppermissions_policySet: (a: number) => [number, number, number];
204
+ export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
205
+ export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
206
+ export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
207
+ export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
208
+ export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
209
+ export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
210
+ export const client_addSignature: (a: number, b: number, c: any) => any;
211
+ export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
212
+ export const client_applySignatureRequests: (a: number) => any;
213
+ export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
214
+ export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
215
+ export const __wbg_streamcloser_free: (a: number, b: number) => void;
216
+ export const streamcloser_end: (a: number) => void;
217
+ export const streamcloser_endAndWait: (a: number) => any;
218
+ export const streamcloser_waitForReady: (a: number) => any;
219
+ export const streamcloser_isClosed: (a: number) => number;
181
220
  export const __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
182
221
  export const __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
183
222
  export const __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
@@ -271,45 +310,6 @@ export const conversation_isMessageDisappearingEnabled: (a: number) => [number,
271
310
  export const conversation_getHmacKeys: (a: number) => [number, number, number];
272
311
  export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
273
312
  export const __wbg_get_reaction_reference: (a: number) => [number, number];
274
- export const getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
275
- export const generateInboxId: (a: number, b: number) => [number, number, number, number];
276
- export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
277
- export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
278
- export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
279
- export const __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
280
- export const __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
281
- export const __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
282
- export const __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
283
- export const __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
284
- export const __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
285
- export const __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
286
- export const __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
287
- export const __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
288
- export const __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
289
- export const __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
290
- export const __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
291
- export const __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
292
- export const __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
293
- export const permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
294
- export const __wbg_grouppermissions_free: (a: number, b: number) => void;
295
- export const grouppermissions_policyType: (a: number) => [number, number, number];
296
- export const grouppermissions_policySet: (a: number) => [number, number, number];
297
- export const verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
298
- export const client_createInboxSignatureText: (a: number) => [number, number, number, number];
299
- export const client_addWalletSignatureText: (a: number, b: number, c: number) => any;
300
- export const client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
301
- export const client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
302
- export const client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
303
- export const client_addSignature: (a: number, b: number, c: any) => any;
304
- export const client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
305
- export const client_applySignatureRequests: (a: number) => any;
306
- export const client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
307
- export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
308
- export const __wbg_streamcloser_free: (a: number, b: number) => void;
309
- export const streamcloser_end: (a: number) => void;
310
- export const streamcloser_endAndWait: (a: number) => any;
311
- export const streamcloser_waitForReady: (a: number) => any;
312
- export const streamcloser_isClosed: (a: number) => number;
313
313
  export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
314
314
  export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
315
315
  export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -340,7 +340,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
340
340
  export const __wbindgen_export_7: WebAssembly.Table;
341
341
  export const __externref_table_dealloc: (a: number) => void;
342
342
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
343
- export const closure3671_externref_shim: (a: number, b: number, c: any) => void;
344
- export const closure4678_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
345
- export const closure4677_externref_shim: (a: number, b: number, c: any, d: any) => void;
343
+ export const closure3662_externref_shim: (a: number, b: number, c: any) => void;
344
+ export const closure4669_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
345
+ export const closure4668_externref_shim: (a: number, b: number, c: any, d: any) => void;
346
346
  export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",