@xmtp/wasm-bindings 1.2.0-dev.4ba3b55 → 1.2.0-dev.5d15935

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.
@@ -214,6 +214,12 @@ function debugString(val) {
214
214
  return className;
215
215
  }
216
216
 
217
+ function takeFromExternrefTable0(idx) {
218
+ const value = wasm.__wbindgen_export_4.get(idx);
219
+ wasm.__externref_table_dealloc(idx);
220
+ return value;
221
+ }
222
+
217
223
  function passArrayJsValueToWasm0(array, malloc) {
218
224
  const ptr = malloc(array.length * 4, 4) >>> 0;
219
225
  for (let i = 0; i < array.length; i++) {
@@ -229,48 +235,6 @@ function _assertClass(instance, klass) {
229
235
  throw new Error(`expected instance of ${klass.name}`);
230
236
  }
231
237
  }
232
-
233
- function passArray8ToWasm0(arg, malloc) {
234
- const ptr = malloc(arg.length * 1, 1) >>> 0;
235
- getUint8ArrayMemory0().set(arg, ptr / 1);
236
- WASM_VECTOR_LEN = arg.length;
237
- return ptr;
238
- }
239
-
240
- function takeFromExternrefTable0(idx) {
241
- const value = wasm.__wbindgen_export_4.get(idx);
242
- wasm.__externref_table_dealloc(idx);
243
- return value;
244
- }
245
- /**
246
- * @param {string} host
247
- * @param {string} inbox_id
248
- * @param {Identifier} account_identifier
249
- * @param {string | null} [db_path]
250
- * @param {Uint8Array | null} [encryption_key]
251
- * @param {string | null} [device_sync_server_url]
252
- * @param {DeviceSyncWorkerMode | null} [device_sync_worker_mode]
253
- * @param {LogOptions | null} [log_options]
254
- * @returns {Promise<Client>}
255
- */
256
- export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options) {
257
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
258
- const len0 = WASM_VECTOR_LEN;
259
- const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
260
- const len1 = WASM_VECTOR_LEN;
261
- var ptr2 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
262
- var len2 = WASM_VECTOR_LEN;
263
- var ptr3 = isLikeNone(device_sync_server_url) ? 0 : passStringToWasm0(device_sync_server_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
264
- var len3 = WASM_VECTOR_LEN;
265
- let ptr4 = 0;
266
- if (!isLikeNone(log_options)) {
267
- _assertClass(log_options, LogOptions);
268
- ptr4 = log_options.__destroy_into_raw();
269
- }
270
- const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, isLikeNone(device_sync_worker_mode) ? 3 : ((__wbindgen_enum_DeviceSyncWorkerMode.indexOf(device_sync_worker_mode) + 1 || 3) - 1), ptr4);
271
- return ret;
272
- }
273
-
274
238
  /**
275
239
  * @param {string} host
276
240
  * @param {Identifier} accountIdentifier
@@ -306,6 +270,26 @@ export function generateInboxId(accountIdentifier) {
306
270
  }
307
271
  }
308
272
 
273
+ function passArray8ToWasm0(arg, malloc) {
274
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
275
+ getUint8ArrayMemory0().set(arg, ptr / 1);
276
+ WASM_VECTOR_LEN = arg.length;
277
+ return ptr;
278
+ }
279
+ /**
280
+ * @param {string} signature_text
281
+ * @param {Uint8Array} signature_bytes
282
+ * @param {Uint8Array} public_key
283
+ */
284
+ export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
285
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
286
+ const len0 = WASM_VECTOR_LEN;
287
+ const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
288
+ if (ret[1]) {
289
+ throw takeFromExternrefTable0(ret[0]);
290
+ }
291
+ }
292
+
309
293
  /**
310
294
  * @param {MultiRemoteAttachment} multiRemoteAttachment
311
295
  * @returns {Uint8Array}
@@ -332,6 +316,34 @@ export function decodeMultiRemoteAttachment(bytes) {
332
316
  return MultiRemoteAttachment.__wrap(ret[0]);
333
317
  }
334
318
 
319
+ /**
320
+ * @param {string} host
321
+ * @param {string} inbox_id
322
+ * @param {Identifier} account_identifier
323
+ * @param {string | null} [db_path]
324
+ * @param {Uint8Array | null} [encryption_key]
325
+ * @param {string | null} [history_sync_url]
326
+ * @param {LogOptions | null} [log_options]
327
+ * @returns {Promise<Client>}
328
+ */
329
+ export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, history_sync_url, log_options) {
330
+ const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
331
+ const len0 = WASM_VECTOR_LEN;
332
+ const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
333
+ const len1 = WASM_VECTOR_LEN;
334
+ var ptr2 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
335
+ var len2 = WASM_VECTOR_LEN;
336
+ var ptr3 = isLikeNone(history_sync_url) ? 0 : passStringToWasm0(history_sync_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
337
+ var len3 = WASM_VECTOR_LEN;
338
+ let ptr4 = 0;
339
+ if (!isLikeNone(log_options)) {
340
+ _assertClass(log_options, LogOptions);
341
+ ptr4 = log_options.__destroy_into_raw();
342
+ }
343
+ const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, ptr4);
344
+ return ret;
345
+ }
346
+
335
347
  /**
336
348
  * @param {Reaction} reaction
337
349
  * @returns {Uint8Array}
@@ -358,43 +370,29 @@ export function decodeReaction(bytes) {
358
370
  return Reaction.__wrap(ret[0]);
359
371
  }
360
372
 
361
- /**
362
- * @param {string} signature_text
363
- * @param {Uint8Array} signature_bytes
364
- * @param {Uint8Array} public_key
365
- */
366
- export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
367
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
368
- const len0 = WASM_VECTOR_LEN;
369
- const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
370
- if (ret[1]) {
371
- throw takeFromExternrefTable0(ret[0]);
372
- }
373
- }
374
-
375
373
  function __wbg_adapter_50(arg0, arg1) {
376
374
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215(arg0, arg1);
377
375
  }
378
376
 
379
377
  function __wbg_adapter_53(arg0, arg1) {
380
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b(arg0, arg1);
378
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9b134efb6b08a208(arg0, arg1);
381
379
  }
382
380
 
383
381
  function __wbg_adapter_56(arg0, arg1, arg2) {
384
- wasm.closure3982_externref_shim(arg0, arg1, arg2);
382
+ wasm.closure3985_externref_shim(arg0, arg1, arg2);
385
383
  }
386
384
 
387
385
  function __wbg_adapter_59(arg0, arg1) {
388
386
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a(arg0, arg1);
389
387
  }
390
388
 
391
- function __wbg_adapter_641(arg0, arg1, arg2, arg3, arg4) {
392
- const ret = wasm.closure5013_externref_shim(arg0, arg1, arg2, arg3, arg4);
389
+ function __wbg_adapter_640(arg0, arg1, arg2, arg3, arg4) {
390
+ const ret = wasm.closure4878_externref_shim(arg0, arg1, arg2, arg3, arg4);
393
391
  return ret !== 0;
394
392
  }
395
393
 
396
- function __wbg_adapter_742(arg0, arg1, arg2, arg3) {
397
- wasm.closure5012_externref_shim(arg0, arg1, arg2, arg3);
394
+ function __wbg_adapter_741(arg0, arg1, arg2, arg3) {
395
+ wasm.closure4877_externref_shim(arg0, arg1, arg2, arg3);
398
396
  }
399
397
 
400
398
  /**
@@ -540,8 +538,6 @@ export const SortDirection = Object.freeze({
540
538
  Descending: 1, "1": "Descending",
541
539
  });
542
540
 
543
- const __wbindgen_enum_DeviceSyncWorkerMode = ["enabled", "disabled"];
544
-
545
541
  const __wbindgen_enum_LogLevel = ["off", "error", "warn", "info", "debug", "trace"];
546
542
 
547
543
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
@@ -575,6 +571,146 @@ export class Client {
575
571
  const ptr = this.__destroy_into_raw();
576
572
  wasm.__wbg_client_free(ptr, 0);
577
573
  }
574
+ /**
575
+ * @param {Consent[]} records
576
+ * @returns {Promise<void>}
577
+ */
578
+ setConsentStates(records) {
579
+ const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
580
+ const len0 = WASM_VECTOR_LEN;
581
+ const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
582
+ return ret;
583
+ }
584
+ /**
585
+ * @param {ConsentEntityType} entity_type
586
+ * @param {string} entity
587
+ * @returns {Promise<ConsentState>}
588
+ */
589
+ getConsentState(entity_type, entity) {
590
+ const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
591
+ const len0 = WASM_VECTOR_LEN;
592
+ const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
593
+ return ret;
594
+ }
595
+ /**
596
+ * @returns {string | undefined}
597
+ */
598
+ createInboxSignatureText() {
599
+ const ret = wasm.client_createInboxSignatureText(this.__wbg_ptr);
600
+ if (ret[3]) {
601
+ throw takeFromExternrefTable0(ret[2]);
602
+ }
603
+ let v1;
604
+ if (ret[0] !== 0) {
605
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
606
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
607
+ }
608
+ return v1;
609
+ }
610
+ /**
611
+ * @param {Identifier} new_identifier
612
+ * @returns {Promise<string>}
613
+ */
614
+ addWalletSignatureText(new_identifier) {
615
+ const ret = wasm.client_addWalletSignatureText(this.__wbg_ptr, new_identifier);
616
+ return ret;
617
+ }
618
+ /**
619
+ * @param {Identifier} identifier
620
+ * @returns {Promise<string>}
621
+ */
622
+ revokeWalletSignatureText(identifier) {
623
+ const ret = wasm.client_revokeWalletSignatureText(this.__wbg_ptr, identifier);
624
+ return ret;
625
+ }
626
+ /**
627
+ * @returns {Promise<string>}
628
+ */
629
+ revokeAllOtherInstallationsSignatureText() {
630
+ const ret = wasm.client_revokeAllOtherInstallationsSignatureText(this.__wbg_ptr);
631
+ return ret;
632
+ }
633
+ /**
634
+ * @param {Uint8Array[]} installation_ids
635
+ * @returns {Promise<string>}
636
+ */
637
+ revokeInstallationsSignatureText(installation_ids) {
638
+ const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
639
+ const len0 = WASM_VECTOR_LEN;
640
+ const ret = wasm.client_revokeInstallationsSignatureText(this.__wbg_ptr, ptr0, len0);
641
+ return ret;
642
+ }
643
+ /**
644
+ * @param {Identifier} new_recovery_identifier
645
+ * @returns {Promise<string>}
646
+ */
647
+ changeRecoveryIdentifierSignatureText(new_recovery_identifier) {
648
+ const ret = wasm.client_changeRecoveryIdentifierSignatureText(this.__wbg_ptr, new_recovery_identifier);
649
+ return ret;
650
+ }
651
+ /**
652
+ * @param {SignatureRequestType} signature_type
653
+ * @param {Uint8Array} signature_bytes
654
+ * @returns {Promise<void>}
655
+ */
656
+ addEcdsaSignature(signature_type, signature_bytes) {
657
+ const ret = wasm.client_addEcdsaSignature(this.__wbg_ptr, signature_type, signature_bytes);
658
+ return ret;
659
+ }
660
+ /**
661
+ * @param {SignatureRequestType} signature_type
662
+ * @param {PasskeySignature} signature
663
+ * @returns {Promise<void>}
664
+ */
665
+ addPasskeySignature(signature_type, signature) {
666
+ _assertClass(signature, PasskeySignature);
667
+ var ptr0 = signature.__destroy_into_raw();
668
+ const ret = wasm.client_addPasskeySignature(this.__wbg_ptr, signature_type, ptr0);
669
+ return ret;
670
+ }
671
+ /**
672
+ * @param {SignatureRequestType} signature_type
673
+ * @param {Uint8Array} signature_bytes
674
+ * @param {bigint} chain_id
675
+ * @param {bigint | null} [block_number]
676
+ * @returns {Promise<void>}
677
+ */
678
+ addScwSignature(signature_type, signature_bytes, chain_id, block_number) {
679
+ const ret = wasm.client_addScwSignature(this.__wbg_ptr, signature_type, signature_bytes, chain_id, !isLikeNone(block_number), isLikeNone(block_number) ? BigInt(0) : block_number);
680
+ return ret;
681
+ }
682
+ /**
683
+ * @returns {Promise<void>}
684
+ */
685
+ applySignatureRequests() {
686
+ const ret = wasm.client_applySignatureRequests(this.__wbg_ptr);
687
+ return ret;
688
+ }
689
+ /**
690
+ * @param {string} signature_text
691
+ * @returns {Uint8Array}
692
+ */
693
+ signWithInstallationKey(signature_text) {
694
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
695
+ const len0 = WASM_VECTOR_LEN;
696
+ const ret = wasm.client_signWithInstallationKey(this.__wbg_ptr, ptr0, len0);
697
+ if (ret[2]) {
698
+ throw takeFromExternrefTable0(ret[1]);
699
+ }
700
+ return takeFromExternrefTable0(ret[0]);
701
+ }
702
+ /**
703
+ * @param {string} signature_text
704
+ * @param {Uint8Array} signature_bytes
705
+ */
706
+ verifySignedWithInstallationKey(signature_text, signature_bytes) {
707
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
708
+ const len0 = WASM_VECTOR_LEN;
709
+ const ret = wasm.client_verifySignedWithInstallationKey(this.__wbg_ptr, ptr0, len0, signature_bytes);
710
+ if (ret[1]) {
711
+ throw takeFromExternrefTable0(ret[0]);
712
+ }
713
+ }
578
714
  /**
579
715
  * @returns {Identifier}
580
716
  */
@@ -684,13 +820,6 @@ export class Client {
684
820
  const ret = wasm.client_conversations(this.__wbg_ptr);
685
821
  return Conversations.__wrap(ret);
686
822
  }
687
- /**
688
- * @returns {Promise<number>}
689
- */
690
- syncPreferences() {
691
- const ret = wasm.client_syncPreferences(this.__wbg_ptr);
692
- return ret;
693
- }
694
823
  /**
695
824
  *
696
825
  * * Get the client's inbox state.
@@ -730,146 +859,6 @@ export class Client {
730
859
  const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
731
860
  return ret;
732
861
  }
733
- /**
734
- * @param {Consent[]} records
735
- * @returns {Promise<void>}
736
- */
737
- setConsentStates(records) {
738
- const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
739
- const len0 = WASM_VECTOR_LEN;
740
- const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
741
- return ret;
742
- }
743
- /**
744
- * @param {ConsentEntityType} entity_type
745
- * @param {string} entity
746
- * @returns {Promise<ConsentState>}
747
- */
748
- getConsentState(entity_type, entity) {
749
- const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
750
- const len0 = WASM_VECTOR_LEN;
751
- const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
752
- return ret;
753
- }
754
- /**
755
- * @returns {string | undefined}
756
- */
757
- createInboxSignatureText() {
758
- const ret = wasm.client_createInboxSignatureText(this.__wbg_ptr);
759
- if (ret[3]) {
760
- throw takeFromExternrefTable0(ret[2]);
761
- }
762
- let v1;
763
- if (ret[0] !== 0) {
764
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
765
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
766
- }
767
- return v1;
768
- }
769
- /**
770
- * @param {Identifier} new_identifier
771
- * @returns {Promise<string>}
772
- */
773
- addWalletSignatureText(new_identifier) {
774
- const ret = wasm.client_addWalletSignatureText(this.__wbg_ptr, new_identifier);
775
- return ret;
776
- }
777
- /**
778
- * @param {Identifier} identifier
779
- * @returns {Promise<string>}
780
- */
781
- revokeWalletSignatureText(identifier) {
782
- const ret = wasm.client_revokeWalletSignatureText(this.__wbg_ptr, identifier);
783
- return ret;
784
- }
785
- /**
786
- * @returns {Promise<string>}
787
- */
788
- revokeAllOtherInstallationsSignatureText() {
789
- const ret = wasm.client_revokeAllOtherInstallationsSignatureText(this.__wbg_ptr);
790
- return ret;
791
- }
792
- /**
793
- * @param {Uint8Array[]} installation_ids
794
- * @returns {Promise<string>}
795
- */
796
- revokeInstallationsSignatureText(installation_ids) {
797
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
798
- const len0 = WASM_VECTOR_LEN;
799
- const ret = wasm.client_revokeInstallationsSignatureText(this.__wbg_ptr, ptr0, len0);
800
- return ret;
801
- }
802
- /**
803
- * @param {Identifier} new_recovery_identifier
804
- * @returns {Promise<string>}
805
- */
806
- changeRecoveryIdentifierSignatureText(new_recovery_identifier) {
807
- const ret = wasm.client_changeRecoveryIdentifierSignatureText(this.__wbg_ptr, new_recovery_identifier);
808
- return ret;
809
- }
810
- /**
811
- * @param {SignatureRequestType} signature_type
812
- * @param {Uint8Array} signature_bytes
813
- * @returns {Promise<void>}
814
- */
815
- addEcdsaSignature(signature_type, signature_bytes) {
816
- const ret = wasm.client_addEcdsaSignature(this.__wbg_ptr, signature_type, signature_bytes);
817
- return ret;
818
- }
819
- /**
820
- * @param {SignatureRequestType} signature_type
821
- * @param {PasskeySignature} signature
822
- * @returns {Promise<void>}
823
- */
824
- addPasskeySignature(signature_type, signature) {
825
- _assertClass(signature, PasskeySignature);
826
- var ptr0 = signature.__destroy_into_raw();
827
- const ret = wasm.client_addPasskeySignature(this.__wbg_ptr, signature_type, ptr0);
828
- return ret;
829
- }
830
- /**
831
- * @param {SignatureRequestType} signature_type
832
- * @param {Uint8Array} signature_bytes
833
- * @param {bigint} chain_id
834
- * @param {bigint | null} [block_number]
835
- * @returns {Promise<void>}
836
- */
837
- addScwSignature(signature_type, signature_bytes, chain_id, block_number) {
838
- const ret = wasm.client_addScwSignature(this.__wbg_ptr, signature_type, signature_bytes, chain_id, !isLikeNone(block_number), isLikeNone(block_number) ? BigInt(0) : block_number);
839
- return ret;
840
- }
841
- /**
842
- * @returns {Promise<void>}
843
- */
844
- applySignatureRequests() {
845
- const ret = wasm.client_applySignatureRequests(this.__wbg_ptr);
846
- return ret;
847
- }
848
- /**
849
- * @param {string} signature_text
850
- * @returns {Uint8Array}
851
- */
852
- signWithInstallationKey(signature_text) {
853
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
854
- const len0 = WASM_VECTOR_LEN;
855
- const ret = wasm.client_signWithInstallationKey(this.__wbg_ptr, ptr0, len0);
856
- if (ret[2]) {
857
- throw takeFromExternrefTable0(ret[1]);
858
- }
859
- return takeFromExternrefTable0(ret[0]);
860
- }
861
- /**
862
- * @param {string} signature_text
863
- * @param {Uint8Array} signature_bytes
864
- */
865
- verifySignedWithInstallationKey(signature_text, signature_bytes) {
866
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
867
- const len0 = WASM_VECTOR_LEN;
868
- const ret = wasm.client_verifySignedWithInstallationKey(this.__wbg_ptr, ptr0, len0, signature_bytes);
869
- if (ret[1]) {
870
- throw takeFromExternrefTable0(ret[0]);
871
- }
872
- }
873
862
  }
874
863
 
875
864
  const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -1006,7 +995,7 @@ export class ContentTypeId {
1006
995
  set authorityId(arg0) {
1007
996
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1008
997
  const len0 = WASM_VECTOR_LEN;
1009
- wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
998
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
1010
999
  }
1011
1000
  /**
1012
1001
  * @returns {string}
@@ -2602,7 +2591,7 @@ export class InboxState {
2602
2591
  set inboxId(arg0) {
2603
2592
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2604
2593
  const len0 = WASM_VECTOR_LEN;
2605
- wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
2594
+ wasm.__wbg_set_inboxstate_inboxId(this.__wbg_ptr, ptr0, len0);
2606
2595
  }
2607
2596
  /**
2608
2597
  * @returns {Identifier}
@@ -4017,7 +4006,7 @@ export class Reaction {
4017
4006
  set reference(arg0) {
4018
4007
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4019
4008
  const len0 = WASM_VECTOR_LEN;
4020
- wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
4009
+ wasm.__wbg_set_inboxstate_inboxId(this.__wbg_ptr, ptr0, len0);
4021
4010
  }
4022
4011
  /**
4023
4012
  * @returns {string}
@@ -4584,7 +4573,7 @@ function __wbg_get_imports() {
4584
4573
  const a = state0.a;
4585
4574
  state0.a = 0;
4586
4575
  try {
4587
- return __wbg_adapter_641(a, state0.b, arg0, arg1, arg2);
4576
+ return __wbg_adapter_640(a, state0.b, arg0, arg1, arg2);
4588
4577
  } finally {
4589
4578
  state0.a = a;
4590
4579
  }
@@ -4614,7 +4603,7 @@ function __wbg_get_imports() {
4614
4603
  const a = state0.a;
4615
4604
  state0.a = 0;
4616
4605
  try {
4617
- return __wbg_adapter_641(a, state0.b, arg0, arg1, arg2);
4606
+ return __wbg_adapter_640(a, state0.b, arg0, arg1, arg2);
4618
4607
  } finally {
4619
4608
  state0.a = a;
4620
4609
  }
@@ -4939,7 +4928,7 @@ function __wbg_get_imports() {
4939
4928
  const a = state0.a;
4940
4929
  state0.a = 0;
4941
4930
  try {
4942
- return __wbg_adapter_742(a, state0.b, arg0, arg1);
4931
+ return __wbg_adapter_741(a, state0.b, arg0, arg1);
4943
4932
  } finally {
4944
4933
  state0.a = a;
4945
4934
  }
@@ -5354,20 +5343,20 @@ function __wbg_get_imports() {
5354
5343
  const ret = false;
5355
5344
  return ret;
5356
5345
  };
5357
- imports.wbg.__wbindgen_closure_wrapper15262 = function(arg0, arg1, arg2) {
5358
- const ret = makeMutClosure(arg0, arg1, 3671, __wbg_adapter_50);
5346
+ imports.wbg.__wbindgen_closure_wrapper15248 = function(arg0, arg1, arg2) {
5347
+ const ret = makeMutClosure(arg0, arg1, 3651, __wbg_adapter_50);
5359
5348
  return ret;
5360
5349
  };
5361
- imports.wbg.__wbindgen_closure_wrapper15306 = function(arg0, arg1, arg2) {
5362
- const ret = makeMutClosure(arg0, arg1, 3681, __wbg_adapter_53);
5350
+ imports.wbg.__wbindgen_closure_wrapper15390 = function(arg0, arg1, arg2) {
5351
+ const ret = makeMutClosure(arg0, arg1, 3674, __wbg_adapter_53);
5363
5352
  return ret;
5364
5353
  };
5365
- imports.wbg.__wbindgen_closure_wrapper18371 = function(arg0, arg1, arg2) {
5366
- const ret = makeMutClosure(arg0, arg1, 3983, __wbg_adapter_56);
5354
+ imports.wbg.__wbindgen_closure_wrapper18399 = function(arg0, arg1, arg2) {
5355
+ const ret = makeMutClosure(arg0, arg1, 3986, __wbg_adapter_56);
5367
5356
  return ret;
5368
5357
  };
5369
- imports.wbg.__wbindgen_closure_wrapper18491 = function(arg0, arg1, arg2) {
5370
- const ret = makeMutClosure(arg0, arg1, 3997, __wbg_adapter_59);
5358
+ imports.wbg.__wbindgen_closure_wrapper18518 = function(arg0, arg1, arg2) {
5359
+ const ret = makeMutClosure(arg0, arg1, 4000, __wbg_adapter_59);
5371
5360
  return ret;
5372
5361
  };
5373
5362
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file