@xmtp/wasm-bindings 1.2.0-dev.125e5bf → 1.2.0-dev.b600c5c

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.
@@ -102,6 +102,11 @@ function isLikeNone(x) {
102
102
  return x === undefined || x === null;
103
103
  }
104
104
 
105
+ function getArrayU8FromWasm0(ptr, len) {
106
+ ptr = ptr >>> 0;
107
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
108
+ }
109
+
105
110
  function getArrayJsValueFromWasm0(ptr, len) {
106
111
  ptr = ptr >>> 0;
107
112
  const mem = getDataViewMemory0();
@@ -113,11 +118,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
113
118
  return result;
114
119
  }
115
120
 
116
- function getArrayU8FromWasm0(ptr, len) {
117
- ptr = ptr >>> 0;
118
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
119
- }
120
-
121
121
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
122
122
  ? { register: () => {}, unregister: () => {} }
123
123
  : new FinalizationRegistry(state => {
@@ -214,41 +214,11 @@ function debugString(val) {
214
214
  return className;
215
215
  }
216
216
 
217
- function passArrayJsValueToWasm0(array, malloc) {
218
- const ptr = malloc(array.length * 4, 4) >>> 0;
219
- for (let i = 0; i < array.length; i++) {
220
- const add = addToExternrefTable0(array[i]);
221
- getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
222
- }
223
- WASM_VECTOR_LEN = array.length;
224
- return ptr;
225
- }
226
-
227
- function takeFromExternrefTable0(idx) {
228
- const value = wasm.__wbindgen_export_4.get(idx);
229
- wasm.__externref_table_dealloc(idx);
230
- return value;
231
- }
232
-
233
217
  function _assertClass(instance, klass) {
234
218
  if (!(instance instanceof klass)) {
235
219
  throw new Error(`expected instance of ${klass.name}`);
236
220
  }
237
221
  }
238
- /**
239
- * @param {string} signature_text
240
- * @param {Uint8Array} signature_bytes
241
- * @param {Uint8Array} public_key
242
- */
243
- export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
244
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
245
- const len0 = WASM_VECTOR_LEN;
246
- const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
247
- if (ret[1]) {
248
- throw takeFromExternrefTable0(ret[0]);
249
- }
250
- }
251
-
252
222
  /**
253
223
  * @param {string} host
254
224
  * @param {string} inbox_id
@@ -277,32 +247,21 @@ export function createClient(host, inbox_id, account_identifier, db_path, encryp
277
247
  return ret;
278
248
  }
279
249
 
280
- /**
281
- * @param {MultiRemoteAttachment} multiRemoteAttachment
282
- * @returns {Uint8Array}
283
- */
284
- export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
285
- _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
286
- var ptr0 = multiRemoteAttachment.__destroy_into_raw();
287
- const ret = wasm.encodeMultiRemoteAttachment(ptr0);
288
- if (ret[2]) {
289
- throw takeFromExternrefTable0(ret[1]);
250
+ function passArrayJsValueToWasm0(array, malloc) {
251
+ const ptr = malloc(array.length * 4, 4) >>> 0;
252
+ for (let i = 0; i < array.length; i++) {
253
+ const add = addToExternrefTable0(array[i]);
254
+ getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
290
255
  }
291
- return takeFromExternrefTable0(ret[0]);
256
+ WASM_VECTOR_LEN = array.length;
257
+ return ptr;
292
258
  }
293
259
 
294
- /**
295
- * @param {Uint8Array} bytes
296
- * @returns {MultiRemoteAttachment}
297
- */
298
- export function decodeMultiRemoteAttachment(bytes) {
299
- const ret = wasm.decodeMultiRemoteAttachment(bytes);
300
- if (ret[2]) {
301
- throw takeFromExternrefTable0(ret[1]);
302
- }
303
- return MultiRemoteAttachment.__wrap(ret[0]);
260
+ function takeFromExternrefTable0(idx) {
261
+ const value = wasm.__wbindgen_export_4.get(idx);
262
+ wasm.__externref_table_dealloc(idx);
263
+ return value;
304
264
  }
305
-
306
265
  /**
307
266
  * @param {Reaction} reaction
308
267
  * @returns {Uint8Array}
@@ -329,12 +288,6 @@ export function decodeReaction(bytes) {
329
288
  return Reaction.__wrap(ret[0]);
330
289
  }
331
290
 
332
- function passArray8ToWasm0(arg, malloc) {
333
- const ptr = malloc(arg.length * 1, 1) >>> 0;
334
- getUint8ArrayMemory0().set(arg, ptr / 1);
335
- WASM_VECTOR_LEN = arg.length;
336
- return ptr;
337
- }
338
291
  /**
339
292
  * @param {string} host
340
293
  * @param {Identifier} accountIdentifier
@@ -370,21 +323,75 @@ export function generateInboxId(accountIdentifier) {
370
323
  }
371
324
  }
372
325
 
326
+ function passArray8ToWasm0(arg, malloc) {
327
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
328
+ getUint8ArrayMemory0().set(arg, ptr / 1);
329
+ WASM_VECTOR_LEN = arg.length;
330
+ return ptr;
331
+ }
332
+ /**
333
+ * @param {string} signature_text
334
+ * @param {Uint8Array} signature_bytes
335
+ * @param {Uint8Array} public_key
336
+ */
337
+ export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
338
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
339
+ const len0 = WASM_VECTOR_LEN;
340
+ const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
341
+ if (ret[1]) {
342
+ throw takeFromExternrefTable0(ret[0]);
343
+ }
344
+ }
345
+
346
+ /**
347
+ * @param {MultiRemoteAttachment} multiRemoteAttachment
348
+ * @returns {Uint8Array}
349
+ */
350
+ export function encodeMultiRemoteAttachment(multiRemoteAttachment) {
351
+ _assertClass(multiRemoteAttachment, MultiRemoteAttachment);
352
+ var ptr0 = multiRemoteAttachment.__destroy_into_raw();
353
+ const ret = wasm.encodeMultiRemoteAttachment(ptr0);
354
+ if (ret[2]) {
355
+ throw takeFromExternrefTable0(ret[1]);
356
+ }
357
+ return takeFromExternrefTable0(ret[0]);
358
+ }
359
+
360
+ /**
361
+ * @param {Uint8Array} bytes
362
+ * @returns {MultiRemoteAttachment}
363
+ */
364
+ export function decodeMultiRemoteAttachment(bytes) {
365
+ const ret = wasm.decodeMultiRemoteAttachment(bytes);
366
+ if (ret[2]) {
367
+ throw takeFromExternrefTable0(ret[1]);
368
+ }
369
+ return MultiRemoteAttachment.__wrap(ret[0]);
370
+ }
371
+
373
372
  function __wbg_adapter_50(arg0, arg1) {
374
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h956eec367a7720a2(arg0, arg1);
373
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215(arg0, arg1);
375
374
  }
376
375
 
377
- function __wbg_adapter_53(arg0, arg1, arg2) {
378
- wasm.closure3889_externref_shim(arg0, arg1, arg2);
376
+ function __wbg_adapter_53(arg0, arg1) {
377
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9b134efb6b08a208(arg0, arg1);
379
378
  }
380
379
 
381
- function __wbg_adapter_620(arg0, arg1, arg2, arg3, arg4) {
382
- const ret = wasm.closure4898_externref_shim(arg0, arg1, arg2, arg3, arg4);
380
+ function __wbg_adapter_56(arg0, arg1, arg2) {
381
+ wasm.closure4006_externref_shim(arg0, arg1, arg2);
382
+ }
383
+
384
+ function __wbg_adapter_59(arg0, arg1) {
385
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a(arg0, arg1);
386
+ }
387
+
388
+ function __wbg_adapter_640(arg0, arg1, arg2, arg3, arg4) {
389
+ const ret = wasm.closure4899_externref_shim(arg0, arg1, arg2, arg3, arg4);
383
390
  return ret !== 0;
384
391
  }
385
392
 
386
- function __wbg_adapter_721(arg0, arg1, arg2, arg3) {
387
- wasm.closure4892_externref_shim(arg0, arg1, arg2, arg3);
393
+ function __wbg_adapter_741(arg0, arg1, arg2, arg3) {
394
+ wasm.closure4898_externref_shim(arg0, arg1, arg2, arg3);
388
395
  }
389
396
 
390
397
  /**
@@ -563,146 +570,6 @@ export class Client {
563
570
  const ptr = this.__destroy_into_raw();
564
571
  wasm.__wbg_client_free(ptr, 0);
565
572
  }
566
- /**
567
- * @param {Consent[]} records
568
- * @returns {Promise<void>}
569
- */
570
- setConsentStates(records) {
571
- const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
572
- const len0 = WASM_VECTOR_LEN;
573
- const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
574
- return ret;
575
- }
576
- /**
577
- * @param {ConsentEntityType} entity_type
578
- * @param {string} entity
579
- * @returns {Promise<ConsentState>}
580
- */
581
- getConsentState(entity_type, entity) {
582
- const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
583
- const len0 = WASM_VECTOR_LEN;
584
- const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
585
- return ret;
586
- }
587
- /**
588
- * @returns {string | undefined}
589
- */
590
- createInboxSignatureText() {
591
- const ret = wasm.client_createInboxSignatureText(this.__wbg_ptr);
592
- if (ret[3]) {
593
- throw takeFromExternrefTable0(ret[2]);
594
- }
595
- let v1;
596
- if (ret[0] !== 0) {
597
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
598
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
599
- }
600
- return v1;
601
- }
602
- /**
603
- * @param {Identifier} new_identifier
604
- * @returns {Promise<string>}
605
- */
606
- addWalletSignatureText(new_identifier) {
607
- const ret = wasm.client_addWalletSignatureText(this.__wbg_ptr, new_identifier);
608
- return ret;
609
- }
610
- /**
611
- * @param {Identifier} identifier
612
- * @returns {Promise<string>}
613
- */
614
- revokeWalletSignatureText(identifier) {
615
- const ret = wasm.client_revokeWalletSignatureText(this.__wbg_ptr, identifier);
616
- return ret;
617
- }
618
- /**
619
- * @returns {Promise<string>}
620
- */
621
- revokeAllOtherInstallationsSignatureText() {
622
- const ret = wasm.client_revokeAllOtherInstallationsSignatureText(this.__wbg_ptr);
623
- return ret;
624
- }
625
- /**
626
- * @param {Uint8Array[]} installation_ids
627
- * @returns {Promise<string>}
628
- */
629
- revokeInstallationsSignatureText(installation_ids) {
630
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
631
- const len0 = WASM_VECTOR_LEN;
632
- const ret = wasm.client_revokeInstallationsSignatureText(this.__wbg_ptr, ptr0, len0);
633
- return ret;
634
- }
635
- /**
636
- * @param {Identifier} new_recovery_identifier
637
- * @returns {Promise<string>}
638
- */
639
- changeRecoveryIdentifierSignatureText(new_recovery_identifier) {
640
- const ret = wasm.client_changeRecoveryIdentifierSignatureText(this.__wbg_ptr, new_recovery_identifier);
641
- return ret;
642
- }
643
- /**
644
- * @param {SignatureRequestType} signature_type
645
- * @param {Uint8Array} signature_bytes
646
- * @returns {Promise<void>}
647
- */
648
- addEcdsaSignature(signature_type, signature_bytes) {
649
- const ret = wasm.client_addEcdsaSignature(this.__wbg_ptr, signature_type, signature_bytes);
650
- return ret;
651
- }
652
- /**
653
- * @param {SignatureRequestType} signature_type
654
- * @param {PasskeySignature} signature
655
- * @returns {Promise<void>}
656
- */
657
- addPasskeySignature(signature_type, signature) {
658
- _assertClass(signature, PasskeySignature);
659
- var ptr0 = signature.__destroy_into_raw();
660
- const ret = wasm.client_addPasskeySignature(this.__wbg_ptr, signature_type, ptr0);
661
- return ret;
662
- }
663
- /**
664
- * @param {SignatureRequestType} signature_type
665
- * @param {Uint8Array} signature_bytes
666
- * @param {bigint} chain_id
667
- * @param {bigint | null} [block_number]
668
- * @returns {Promise<void>}
669
- */
670
- addScwSignature(signature_type, signature_bytes, chain_id, block_number) {
671
- const ret = wasm.client_addScwSignature(this.__wbg_ptr, signature_type, signature_bytes, chain_id, !isLikeNone(block_number), isLikeNone(block_number) ? BigInt(0) : block_number);
672
- return ret;
673
- }
674
- /**
675
- * @returns {Promise<void>}
676
- */
677
- applySignatureRequests() {
678
- const ret = wasm.client_applySignatureRequests(this.__wbg_ptr);
679
- return ret;
680
- }
681
- /**
682
- * @param {string} signature_text
683
- * @returns {Uint8Array}
684
- */
685
- signWithInstallationKey(signature_text) {
686
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
687
- const len0 = WASM_VECTOR_LEN;
688
- const ret = wasm.client_signWithInstallationKey(this.__wbg_ptr, ptr0, len0);
689
- if (ret[2]) {
690
- throw takeFromExternrefTable0(ret[1]);
691
- }
692
- return takeFromExternrefTable0(ret[0]);
693
- }
694
- /**
695
- * @param {string} signature_text
696
- * @param {Uint8Array} signature_bytes
697
- */
698
- verifySignedWithInstallationKey(signature_text, signature_bytes) {
699
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
700
- const len0 = WASM_VECTOR_LEN;
701
- const ret = wasm.client_verifySignedWithInstallationKey(this.__wbg_ptr, ptr0, len0, signature_bytes);
702
- if (ret[1]) {
703
- throw takeFromExternrefTable0(ret[0]);
704
- }
705
- }
706
573
  /**
707
574
  * @returns {Identifier}
708
575
  */
@@ -851,6 +718,146 @@ export class Client {
851
718
  const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
852
719
  return ret;
853
720
  }
721
+ /**
722
+ * @param {Consent[]} records
723
+ * @returns {Promise<void>}
724
+ */
725
+ setConsentStates(records) {
726
+ const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
727
+ const len0 = WASM_VECTOR_LEN;
728
+ const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
729
+ return ret;
730
+ }
731
+ /**
732
+ * @param {ConsentEntityType} entity_type
733
+ * @param {string} entity
734
+ * @returns {Promise<ConsentState>}
735
+ */
736
+ getConsentState(entity_type, entity) {
737
+ const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
738
+ const len0 = WASM_VECTOR_LEN;
739
+ const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
740
+ return ret;
741
+ }
742
+ /**
743
+ * @returns {string | undefined}
744
+ */
745
+ createInboxSignatureText() {
746
+ const ret = wasm.client_createInboxSignatureText(this.__wbg_ptr);
747
+ if (ret[3]) {
748
+ throw takeFromExternrefTable0(ret[2]);
749
+ }
750
+ let v1;
751
+ if (ret[0] !== 0) {
752
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
753
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
754
+ }
755
+ return v1;
756
+ }
757
+ /**
758
+ * @param {Identifier} new_identifier
759
+ * @returns {Promise<string>}
760
+ */
761
+ addWalletSignatureText(new_identifier) {
762
+ const ret = wasm.client_addWalletSignatureText(this.__wbg_ptr, new_identifier);
763
+ return ret;
764
+ }
765
+ /**
766
+ * @param {Identifier} identifier
767
+ * @returns {Promise<string>}
768
+ */
769
+ revokeWalletSignatureText(identifier) {
770
+ const ret = wasm.client_revokeWalletSignatureText(this.__wbg_ptr, identifier);
771
+ return ret;
772
+ }
773
+ /**
774
+ * @returns {Promise<string>}
775
+ */
776
+ revokeAllOtherInstallationsSignatureText() {
777
+ const ret = wasm.client_revokeAllOtherInstallationsSignatureText(this.__wbg_ptr);
778
+ return ret;
779
+ }
780
+ /**
781
+ * @param {Uint8Array[]} installation_ids
782
+ * @returns {Promise<string>}
783
+ */
784
+ revokeInstallationsSignatureText(installation_ids) {
785
+ const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
786
+ const len0 = WASM_VECTOR_LEN;
787
+ const ret = wasm.client_revokeInstallationsSignatureText(this.__wbg_ptr, ptr0, len0);
788
+ return ret;
789
+ }
790
+ /**
791
+ * @param {Identifier} new_recovery_identifier
792
+ * @returns {Promise<string>}
793
+ */
794
+ changeRecoveryIdentifierSignatureText(new_recovery_identifier) {
795
+ const ret = wasm.client_changeRecoveryIdentifierSignatureText(this.__wbg_ptr, new_recovery_identifier);
796
+ return ret;
797
+ }
798
+ /**
799
+ * @param {SignatureRequestType} signature_type
800
+ * @param {Uint8Array} signature_bytes
801
+ * @returns {Promise<void>}
802
+ */
803
+ addEcdsaSignature(signature_type, signature_bytes) {
804
+ const ret = wasm.client_addEcdsaSignature(this.__wbg_ptr, signature_type, signature_bytes);
805
+ return ret;
806
+ }
807
+ /**
808
+ * @param {SignatureRequestType} signature_type
809
+ * @param {PasskeySignature} signature
810
+ * @returns {Promise<void>}
811
+ */
812
+ addPasskeySignature(signature_type, signature) {
813
+ _assertClass(signature, PasskeySignature);
814
+ var ptr0 = signature.__destroy_into_raw();
815
+ const ret = wasm.client_addPasskeySignature(this.__wbg_ptr, signature_type, ptr0);
816
+ return ret;
817
+ }
818
+ /**
819
+ * @param {SignatureRequestType} signature_type
820
+ * @param {Uint8Array} signature_bytes
821
+ * @param {bigint} chain_id
822
+ * @param {bigint | null} [block_number]
823
+ * @returns {Promise<void>}
824
+ */
825
+ addScwSignature(signature_type, signature_bytes, chain_id, block_number) {
826
+ const ret = wasm.client_addScwSignature(this.__wbg_ptr, signature_type, signature_bytes, chain_id, !isLikeNone(block_number), isLikeNone(block_number) ? BigInt(0) : block_number);
827
+ return ret;
828
+ }
829
+ /**
830
+ * @returns {Promise<void>}
831
+ */
832
+ applySignatureRequests() {
833
+ const ret = wasm.client_applySignatureRequests(this.__wbg_ptr);
834
+ return ret;
835
+ }
836
+ /**
837
+ * @param {string} signature_text
838
+ * @returns {Uint8Array}
839
+ */
840
+ signWithInstallationKey(signature_text) {
841
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
842
+ const len0 = WASM_VECTOR_LEN;
843
+ const ret = wasm.client_signWithInstallationKey(this.__wbg_ptr, ptr0, len0);
844
+ if (ret[2]) {
845
+ throw takeFromExternrefTable0(ret[1]);
846
+ }
847
+ return takeFromExternrefTable0(ret[0]);
848
+ }
849
+ /**
850
+ * @param {string} signature_text
851
+ * @param {Uint8Array} signature_bytes
852
+ */
853
+ verifySignedWithInstallationKey(signature_text, signature_bytes) {
854
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
855
+ const len0 = WASM_VECTOR_LEN;
856
+ const ret = wasm.client_verifySignedWithInstallationKey(this.__wbg_ptr, ptr0, len0, signature_bytes);
857
+ if (ret[1]) {
858
+ throw takeFromExternrefTable0(ret[0]);
859
+ }
860
+ }
854
861
  }
855
862
 
856
863
  const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -987,7 +994,7 @@ export class ContentTypeId {
987
994
  set authorityId(arg0) {
988
995
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
989
996
  const len0 = WASM_VECTOR_LEN;
990
- wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
997
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
991
998
  }
992
999
  /**
993
1000
  * @returns {string}
@@ -4392,6 +4399,9 @@ function __wbg_get_imports() {
4392
4399
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4393
4400
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4394
4401
  };
4402
+ imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
4403
+ arg0.abort(arg1);
4404
+ };
4395
4405
  imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
4396
4406
  arg0.abort();
4397
4407
  };
@@ -4454,6 +4464,14 @@ function __wbg_get_imports() {
4454
4464
  const ret = clearTimeout(arg0);
4455
4465
  return ret;
4456
4466
  };
4467
+ imports.wbg.__wbg_clearTimeout_86721db0036bea98 = function(arg0) {
4468
+ const ret = clearTimeout(arg0);
4469
+ return ret;
4470
+ };
4471
+ imports.wbg.__wbg_clearTimeout_96804de0ab838f26 = function(arg0) {
4472
+ const ret = clearTimeout(arg0);
4473
+ return ret;
4474
+ };
4457
4475
  imports.wbg.__wbg_clear_1f96150ecf4061a6 = function(arg0) {
4458
4476
  arg0.clear();
4459
4477
  };
@@ -4554,7 +4572,7 @@ function __wbg_get_imports() {
4554
4572
  const a = state0.a;
4555
4573
  state0.a = 0;
4556
4574
  try {
4557
- return __wbg_adapter_620(a, state0.b, arg0, arg1, arg2);
4575
+ return __wbg_adapter_640(a, state0.b, arg0, arg1, arg2);
4558
4576
  } finally {
4559
4577
  state0.a = a;
4560
4578
  }
@@ -4565,14 +4583,14 @@ function __wbg_get_imports() {
4565
4583
  state0.a = state0.b = 0;
4566
4584
  }
4567
4585
  };
4568
- imports.wbg.__wbg_fetch_4465c2b10f21a927 = function(arg0) {
4569
- const ret = fetch(arg0);
4570
- return ret;
4571
- };
4572
4586
  imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
4573
4587
  const ret = arg0.fetch(arg1);
4574
4588
  return ret;
4575
4589
  };
4590
+ imports.wbg.__wbg_fetch_d36a73832f0a45e8 = function(arg0) {
4591
+ const ret = fetch(arg0);
4592
+ return ret;
4593
+ };
4576
4594
  imports.wbg.__wbg_fill_3311db9cdf18c6c4 = function(arg0, arg1, arg2, arg3) {
4577
4595
  const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
4578
4596
  return ret;
@@ -4584,7 +4602,7 @@ function __wbg_get_imports() {
4584
4602
  const a = state0.a;
4585
4603
  state0.a = 0;
4586
4604
  try {
4587
- return __wbg_adapter_620(a, state0.b, arg0, arg1, arg2);
4605
+ return __wbg_adapter_640(a, state0.b, arg0, arg1, arg2);
4588
4606
  } finally {
4589
4607
  state0.a = a;
4590
4608
  }
@@ -4638,6 +4656,9 @@ function __wbg_get_imports() {
4638
4656
  const ret = arg0.getMonth();
4639
4657
  return ret;
4640
4658
  };
4659
+ imports.wbg.__wbg_getRandomValues_21a0191e74d0e1d3 = function() { return handleError(function (arg0, arg1) {
4660
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
4661
+ }, arguments) };
4641
4662
  imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
4642
4663
  arg0.getRandomValues(arg1);
4643
4664
  }, arguments) };
@@ -4751,6 +4772,16 @@ function __wbg_get_imports() {
4751
4772
  const ret = result;
4752
4773
  return ret;
4753
4774
  };
4775
+ imports.wbg.__wbg_instanceof_Performance_0ac1286c87171f57 = function(arg0) {
4776
+ let result;
4777
+ try {
4778
+ result = arg0 instanceof Performance;
4779
+ } catch (_) {
4780
+ result = false;
4781
+ }
4782
+ const ret = result;
4783
+ return ret;
4784
+ };
4754
4785
  imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
4755
4786
  let result;
4756
4787
  try {
@@ -4896,7 +4927,7 @@ function __wbg_get_imports() {
4896
4927
  const a = state0.a;
4897
4928
  state0.a = 0;
4898
4929
  try {
4899
- return __wbg_adapter_721(a, state0.b, arg0, arg1);
4930
+ return __wbg_adapter_741(a, state0.b, arg0, arg1);
4900
4931
  } finally {
4901
4932
  state0.a = a;
4902
4933
  }
@@ -5107,10 +5138,18 @@ function __wbg_get_imports() {
5107
5138
  const ret = setInterval(arg0, arg1);
5108
5139
  return ret;
5109
5140
  }, arguments) };
5141
+ imports.wbg.__wbg_setTimeout_2e707715f8cc9497 = function(arg0, arg1) {
5142
+ const ret = setTimeout(arg0, arg1);
5143
+ return ret;
5144
+ };
5110
5145
  imports.wbg.__wbg_setTimeout_db2dbaeefb6f39c7 = function() { return handleError(function (arg0, arg1) {
5111
5146
  const ret = setTimeout(arg0, arg1);
5112
5147
  return ret;
5113
5148
  }, arguments) };
5149
+ imports.wbg.__wbg_setTimeout_eefe7f4c234b0c6b = function() { return handleError(function (arg0, arg1) {
5150
+ const ret = setTimeout(arg0, arg1);
5151
+ return ret;
5152
+ }, arguments) };
5114
5153
  imports.wbg.__wbg_setUint32_ad8826b8caeaf63d = function(arg0, arg1, arg2) {
5115
5154
  arg0.setUint32(arg1 >>> 0, arg2 >>> 0);
5116
5155
  };
@@ -5303,12 +5342,20 @@ function __wbg_get_imports() {
5303
5342
  const ret = false;
5304
5343
  return ret;
5305
5344
  };
5306
- imports.wbg.__wbindgen_closure_wrapper16552 = function(arg0, arg1, arg2) {
5307
- const ret = makeMutClosure(arg0, arg1, 3818, __wbg_adapter_50);
5345
+ imports.wbg.__wbindgen_closure_wrapper15299 = function(arg0, arg1, arg2) {
5346
+ const ret = makeMutClosure(arg0, arg1, 3672, __wbg_adapter_50);
5347
+ return ret;
5348
+ };
5349
+ imports.wbg.__wbindgen_closure_wrapper15441 = function(arg0, arg1, arg2) {
5350
+ const ret = makeMutClosure(arg0, arg1, 3695, __wbg_adapter_53);
5351
+ return ret;
5352
+ };
5353
+ imports.wbg.__wbindgen_closure_wrapper18450 = function(arg0, arg1, arg2) {
5354
+ const ret = makeMutClosure(arg0, arg1, 4007, __wbg_adapter_56);
5308
5355
  return ret;
5309
5356
  };
5310
- imports.wbg.__wbindgen_closure_wrapper16863 = function(arg0, arg1, arg2) {
5311
- const ret = makeMutClosure(arg0, arg1, 3890, __wbg_adapter_53);
5357
+ imports.wbg.__wbindgen_closure_wrapper18569 = function(arg0, arg1, arg2) {
5358
+ const ret = makeMutClosure(arg0, arg1, 4021, __wbg_adapter_59);
5312
5359
  return ret;
5313
5360
  };
5314
5361
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file