@synonymdev/pubky 0.4.0-rc1 → 0.4.0-rc3

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.
package/index.cjs CHANGED
@@ -228,6 +228,24 @@ function debugString(val) {
228
228
  // TODO we could test for more things here, like `Set`s and `Map`s.
229
229
  return className;
230
230
  }
231
+ /**
232
+ * @param {string} level
233
+ */
234
+ module.exports.setLogLevel = function(level) {
235
+ try {
236
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
237
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
238
+ const len0 = WASM_VECTOR_LEN;
239
+ wasm.setLogLevel(retptr, ptr0, len0);
240
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
241
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
242
+ if (r1) {
243
+ throw takeObject(r0);
244
+ }
245
+ } finally {
246
+ wasm.__wbindgen_add_to_stack_pointer(16);
247
+ }
248
+ };
231
249
 
232
250
  function _assertClass(instance, klass) {
233
251
  if (!(instance instanceof klass)) {
@@ -293,25 +311,6 @@ module.exports.decryptRecoveryFile = function(recovery_file, passphrase) {
293
311
  }
294
312
  };
295
313
 
296
- /**
297
- * @param {string} level
298
- */
299
- module.exports.setLogLevel = function(level) {
300
- try {
301
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
302
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
303
- const len0 = WASM_VECTOR_LEN;
304
- wasm.setLogLevel(retptr, ptr0, len0);
305
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
306
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
307
- if (r1) {
308
- throw takeObject(r0);
309
- }
310
- } finally {
311
- wasm.__wbindgen_add_to_stack_pointer(16);
312
- }
313
- };
314
-
315
314
  function getArrayJsValueFromWasm0(ptr, len) {
316
315
  ptr = ptr >>> 0;
317
316
  const mem = getDataViewMemory0();
@@ -322,11 +321,11 @@ function getArrayJsValueFromWasm0(ptr, len) {
322
321
  return result;
323
322
  }
324
323
  function __wbg_adapter_28(arg0, arg1, arg2) {
325
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6aa613d03ec1284e(arg0, arg1, addHeapObject(arg2));
324
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3377896d609abf0a(arg0, arg1, addHeapObject(arg2));
326
325
  }
327
326
 
328
327
  function __wbg_adapter_153(arg0, arg1, arg2, arg3) {
329
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h2095b693172537bf(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
328
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h53c3869863f2beff(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
330
329
  }
331
330
 
332
331
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
@@ -360,6 +359,26 @@ class Client {
360
359
  const ptr = this.__destroy_into_raw();
361
360
  wasm.__wbg_client_free(ptr, 0);
362
361
  }
362
+ /**
363
+ * Create Client with default Settings including default relays
364
+ */
365
+ constructor() {
366
+ const ret = wasm.client_new();
367
+ this.__wbg_ptr = ret >>> 0;
368
+ ClientFinalization.register(this, this.__wbg_ptr, this);
369
+ return this;
370
+ }
371
+ /**
372
+ * Create a client with with configurations appropriate for local testing:
373
+ * - set Pkarr relays to `["http://localhost:15411"]` instead of default relay.
374
+ * - transform `pubky://<pkarr public key>` to `http://<pkarr public key` instead of `https:`
375
+ * and read the homeserver HTTP port from the [reserved service parameter key](pubky_common::constants::reserved_param_keys::HTTP_PORT)
376
+ * @returns {Client}
377
+ */
378
+ static testnet() {
379
+ const ret = wasm.client_testnet();
380
+ return Client.__wrap(ret);
381
+ }
363
382
  /**
364
383
  * Signup to a homeserver and update Pkarr accordingly.
365
384
  *
@@ -461,10 +480,10 @@ class Client {
461
480
  * - `limit` Limit the number of urls in the response
462
481
  * - `shallow`: List directories and files, instead of flat list of files.
463
482
  * @param {string} url
464
- * @param {string | undefined} [cursor]
465
- * @param {boolean | undefined} [reverse]
466
- * @param {number | undefined} [limit]
467
- * @param {boolean | undefined} [shallow]
483
+ * @param {string | null} [cursor]
484
+ * @param {boolean | null} [reverse]
485
+ * @param {number | null} [limit]
486
+ * @param {boolean | null} [shallow]
468
487
  * @returns {Promise<Array<any>>}
469
488
  */
470
489
  list(url, cursor, reverse, limit, shallow) {
@@ -477,7 +496,7 @@ class Client {
477
496
  }
478
497
  /**
479
498
  * @param {string} url
480
- * @param {any | undefined} [request_init]
499
+ * @param {any | null} [request_init]
481
500
  * @returns {Promise<Promise<any>>}
482
501
  */
483
502
  fetch(url, request_init) {
@@ -486,24 +505,6 @@ class Client {
486
505
  const ret = wasm.client_fetch(this.__wbg_ptr, ptr0, len0, isLikeNone(request_init) ? 0 : addHeapObject(request_init));
487
506
  return takeObject(ret);
488
507
  }
489
- /**
490
- * Create Client with default Settings including default relays
491
- */
492
- constructor() {
493
- const ret = wasm.client_new();
494
- this.__wbg_ptr = ret >>> 0;
495
- ClientFinalization.register(this, this.__wbg_ptr, this);
496
- return this;
497
- }
498
- /**
499
- * Create a client with with configurations appropriate for local testing:
500
- * - set Pkarr relays to `["http://localhost:15411"]` instead of default relay.
501
- * @returns {Client}
502
- */
503
- static testnet() {
504
- const ret = wasm.client_testnet();
505
- return Client.__wrap(ret);
506
- }
507
508
  }
508
509
  module.exports.Client = Client;
509
510
 
@@ -690,7 +691,7 @@ class Session {
690
691
  }
691
692
  /**
692
693
  * Return the capabilities that this session has.
693
- * @returns {(string)[]}
694
+ * @returns {string[]}
694
695
  */
695
696
  capabilities() {
696
697
  try {
@@ -708,36 +709,36 @@ class Session {
708
709
  }
709
710
  module.exports.Session = Session;
710
711
 
711
- module.exports.__wbg_abort_05026c983d86824c = function(arg0) {
712
+ module.exports.__wbg_abort_775ef1d17fc65868 = function(arg0) {
712
713
  getObject(arg0).abort();
713
714
  };
714
715
 
715
- module.exports.__wbg_append_72d1635ad8643998 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
716
+ module.exports.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
716
717
  getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
717
718
  }, arguments) };
718
719
 
719
- module.exports.__wbg_arrayBuffer_d0ca2ad8bda0039b = function() { return handleError(function (arg0) {
720
+ module.exports.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
720
721
  const ret = getObject(arg0).arrayBuffer();
721
722
  return addHeapObject(ret);
722
723
  }, arguments) };
723
724
 
724
- module.exports.__wbg_buffer_61b7ce01341d7f88 = function(arg0) {
725
+ module.exports.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
725
726
  const ret = getObject(arg0).buffer;
726
727
  return addHeapObject(ret);
727
728
  };
728
729
 
729
- module.exports.__wbg_byteLength_1b2d953758afc500 = function(arg0) {
730
+ module.exports.__wbg_byteLength_e674b853d9c77e1d = function(arg0) {
730
731
  const ret = getObject(arg0).byteLength;
731
732
  return ret;
732
733
  };
733
734
 
734
- module.exports.__wbg_call_500db948e69c7330 = function() { return handleError(function (arg0, arg1, arg2) {
735
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
735
+ module.exports.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
736
+ const ret = getObject(arg0).call(getObject(arg1));
736
737
  return addHeapObject(ret);
737
738
  }, arguments) };
738
739
 
739
- module.exports.__wbg_call_b0d8e36992d9900d = function() { return handleError(function (arg0, arg1) {
740
- const ret = getObject(arg0).call(getObject(arg1));
740
+ module.exports.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
741
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
741
742
  return addHeapObject(ret);
742
743
  }, arguments) };
743
744
 
@@ -746,24 +747,19 @@ module.exports.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
746
747
  return addHeapObject(ret);
747
748
  };
748
749
 
749
- module.exports.__wbg_debug_19114f11037e4658 = function(arg0, arg1, arg2, arg3) {
750
+ module.exports.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
750
751
  console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
751
752
  };
752
753
 
753
- module.exports.__wbg_done_f22c1561fa919baa = function(arg0) {
754
+ module.exports.__wbg_done_769e5ede4b31c67b = function(arg0) {
754
755
  const ret = getObject(arg0).done;
755
756
  return ret;
756
757
  };
757
758
 
758
- module.exports.__wbg_error_483d659117b6f3f6 = function(arg0, arg1, arg2, arg3) {
759
+ module.exports.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
759
760
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
760
761
  };
761
762
 
762
- module.exports.__wbg_fetch_229368eecee9d217 = function(arg0, arg1) {
763
- const ret = getObject(arg0).fetch(getObject(arg1));
764
- return addHeapObject(ret);
765
- };
766
-
767
763
  module.exports.__wbg_fetch_408fc9f7fddb9d4e = function(arg0) {
768
764
  const ret = fetch(getObject(arg0));
769
765
  return addHeapObject(ret);
@@ -774,35 +770,40 @@ module.exports.__wbg_fetch_4465c2b10f21a927 = function(arg0) {
774
770
  return addHeapObject(ret);
775
771
  };
776
772
 
773
+ module.exports.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
774
+ const ret = getObject(arg0).fetch(getObject(arg1));
775
+ return addHeapObject(ret);
776
+ };
777
+
777
778
  module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
778
779
  getObject(arg0).getRandomValues(getObject(arg1));
779
780
  }, arguments) };
780
781
 
781
- module.exports.__wbg_get_bbccf8970793c087 = function() { return handleError(function (arg0, arg1) {
782
+ module.exports.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
782
783
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
783
784
  return addHeapObject(ret);
784
785
  }, arguments) };
785
786
 
786
- module.exports.__wbg_getheaders_82a20f9b60524a86 = function(arg0) {
787
+ module.exports.__wbg_getheaders_8326221cf02f205d = function(arg0) {
787
788
  const ret = getObject(arg0).headers;
788
789
  return addHeapObject(ret);
789
790
  };
790
791
 
791
- module.exports.__wbg_has_94c2fc1d261bbfe9 = function() { return handleError(function (arg0, arg1) {
792
+ module.exports.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
792
793
  const ret = Reflect.has(getObject(arg0), getObject(arg1));
793
794
  return ret;
794
795
  }, arguments) };
795
796
 
796
- module.exports.__wbg_headers_24e3e19fe3f187c0 = function(arg0) {
797
+ module.exports.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
797
798
  const ret = getObject(arg0).headers;
798
799
  return addHeapObject(ret);
799
800
  };
800
801
 
801
- module.exports.__wbg_info_18e75e6ce8a36a90 = function(arg0, arg1, arg2, arg3) {
802
+ module.exports.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
802
803
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
803
804
  };
804
805
 
805
- module.exports.__wbg_instanceof_Response_d3453657e10c4300 = function(arg0) {
806
+ module.exports.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
806
807
  let result;
807
808
  try {
808
809
  result = getObject(arg0) instanceof Response;
@@ -813,7 +814,7 @@ module.exports.__wbg_instanceof_Response_d3453657e10c4300 = function(arg0) {
813
814
  return ret;
814
815
  };
815
816
 
816
- module.exports.__wbg_instanceof_Uint8Array_28af5bc19d6acad8 = function(arg0) {
817
+ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
817
818
  let result;
818
819
  try {
819
820
  result = getObject(arg0) instanceof Uint8Array;
@@ -824,17 +825,17 @@ module.exports.__wbg_instanceof_Uint8Array_28af5bc19d6acad8 = function(arg0) {
824
825
  return ret;
825
826
  };
826
827
 
827
- module.exports.__wbg_iterator_23604bb983791576 = function() {
828
+ module.exports.__wbg_iterator_9a24c88df860dc65 = function() {
828
829
  const ret = Symbol.iterator;
829
830
  return addHeapObject(ret);
830
831
  };
831
832
 
832
- module.exports.__wbg_length_65d1cd11729ced11 = function(arg0) {
833
+ module.exports.__wbg_length_a446193dc22c12f8 = function(arg0) {
833
834
  const ret = getObject(arg0).length;
834
835
  return ret;
835
836
  };
836
837
 
837
- module.exports.__wbg_log_bc77772961bf21bb = function(arg0, arg1, arg2, arg3) {
838
+ module.exports.__wbg_log_cad59bb680daec67 = function(arg0, arg1, arg2, arg3) {
838
839
  console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
839
840
  };
840
841
 
@@ -843,17 +844,12 @@ module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
843
844
  return addHeapObject(ret);
844
845
  };
845
846
 
846
- module.exports.__wbg_new_254fa9eac11932ae = function() {
847
- const ret = new Array();
848
- return addHeapObject(ret);
849
- };
850
-
851
- module.exports.__wbg_new_35d748855c4620b9 = function() { return handleError(function () {
847
+ module.exports.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
852
848
  const ret = new Headers();
853
849
  return addHeapObject(ret);
854
850
  }, arguments) };
855
851
 
856
- module.exports.__wbg_new_3d446df9155128ef = function(arg0, arg1) {
852
+ module.exports.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
857
853
  try {
858
854
  var state0 = {a: arg0, b: arg1};
859
855
  var cb0 = (arg0, arg1) => {
@@ -872,57 +868,62 @@ module.exports.__wbg_new_3d446df9155128ef = function(arg0, arg1) {
872
868
  }
873
869
  };
874
870
 
875
- module.exports.__wbg_new_3ff5b33b1ce712df = function(arg0) {
876
- const ret = new Uint8Array(getObject(arg0));
871
+ module.exports.__wbg_new_405e22f390576ce2 = function() {
872
+ const ret = new Object();
877
873
  return addHeapObject(ret);
878
874
  };
879
875
 
880
- module.exports.__wbg_new_5f48f21d4be11586 = function() { return handleError(function () {
881
- const ret = new AbortController();
876
+ module.exports.__wbg_new_78feb108b6472713 = function() {
877
+ const ret = new Array();
882
878
  return addHeapObject(ret);
883
- }, arguments) };
879
+ };
884
880
 
885
- module.exports.__wbg_new_688846f374351c92 = function() {
886
- const ret = new Object();
881
+ module.exports.__wbg_new_a12002a7f91c75be = function(arg0) {
882
+ const ret = new Uint8Array(getObject(arg0));
887
883
  return addHeapObject(ret);
888
884
  };
889
885
 
890
- module.exports.__wbg_newnoargs_fd9e4bf8be2bc16d = function(arg0, arg1) {
886
+ module.exports.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
887
+ const ret = new AbortController();
888
+ return addHeapObject(ret);
889
+ }, arguments) };
890
+
891
+ module.exports.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
891
892
  const ret = new Function(getStringFromWasm0(arg0, arg1));
892
893
  return addHeapObject(ret);
893
894
  };
894
895
 
895
- module.exports.__wbg_newwithbyteoffsetandlength_ba35896968751d91 = function(arg0, arg1, arg2) {
896
+ module.exports.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
896
897
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
897
898
  return addHeapObject(ret);
898
899
  };
899
900
 
900
- module.exports.__wbg_newwithlength_34ce8f1051e74449 = function(arg0) {
901
+ module.exports.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
901
902
  const ret = new Uint8Array(arg0 >>> 0);
902
903
  return addHeapObject(ret);
903
904
  };
904
905
 
905
- module.exports.__wbg_newwithstrandinit_a1f6583f20e4faff = function() { return handleError(function (arg0, arg1, arg2) {
906
+ module.exports.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
906
907
  const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
907
908
  return addHeapObject(ret);
908
909
  }, arguments) };
909
910
 
910
- module.exports.__wbg_next_01dd9234a5bf6d05 = function() { return handleError(function (arg0) {
911
- const ret = getObject(arg0).next();
912
- return addHeapObject(ret);
913
- }, arguments) };
914
-
915
- module.exports.__wbg_next_137428deb98342b0 = function(arg0) {
911
+ module.exports.__wbg_next_25feadfc0913fea9 = function(arg0) {
916
912
  const ret = getObject(arg0).next;
917
913
  return addHeapObject(ret);
918
914
  };
919
915
 
916
+ module.exports.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
917
+ const ret = getObject(arg0).next();
918
+ return addHeapObject(ret);
919
+ }, arguments) };
920
+
920
921
  module.exports.__wbg_node_02999533c4ea02e3 = function(arg0) {
921
922
  const ret = getObject(arg0).node;
922
923
  return addHeapObject(ret);
923
924
  };
924
925
 
925
- module.exports.__wbg_now_64d0bb151e5d3889 = function() {
926
+ module.exports.__wbg_now_807e54c39636c349 = function() {
926
927
  const ret = Date.now();
927
928
  return ret;
928
929
  };
@@ -937,16 +938,16 @@ module.exports.__wbg_publickey_new = function(arg0) {
937
938
  return addHeapObject(ret);
938
939
  };
939
940
 
940
- module.exports.__wbg_push_6edad0df4b546b2c = function(arg0, arg1) {
941
+ module.exports.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
941
942
  const ret = getObject(arg0).push(getObject(arg1));
942
943
  return ret;
943
944
  };
944
945
 
945
- module.exports.__wbg_queueMicrotask_2181040e064c0dc8 = function(arg0) {
946
+ module.exports.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
946
947
  queueMicrotask(getObject(arg0));
947
948
  };
948
949
 
949
- module.exports.__wbg_queueMicrotask_ef9ac43769cbcc4f = function(arg0) {
950
+ module.exports.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
950
951
  const ret = getObject(arg0).queueMicrotask;
951
952
  return addHeapObject(ret);
952
953
  };
@@ -960,7 +961,7 @@ module.exports.__wbg_require_79b1e9274cde3c87 = function() { return handleError(
960
961
  return addHeapObject(ret);
961
962
  }, arguments) };
962
963
 
963
- module.exports.__wbg_resolve_0bf7c44d641804f9 = function(arg0) {
964
+ module.exports.__wbg_resolve_4851785c9c5f573d = function(arg0) {
964
965
  const ret = Promise.resolve(getObject(arg0));
965
966
  return addHeapObject(ret);
966
967
  };
@@ -970,90 +971,90 @@ module.exports.__wbg_session_new = function(arg0) {
970
971
  return addHeapObject(ret);
971
972
  };
972
973
 
973
- module.exports.__wbg_set_23d69db4e5c66a6e = function(arg0, arg1, arg2) {
974
+ module.exports.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
974
975
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
975
976
  };
976
977
 
977
- module.exports.__wbg_setbody_64920df008e48adc = function(arg0, arg1) {
978
+ module.exports.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
978
979
  getObject(arg0).body = getObject(arg1);
979
980
  };
980
981
 
981
- module.exports.__wbg_setcredentials_cfc15e48e3a3a535 = function(arg0, arg1) {
982
+ module.exports.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
982
983
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
983
984
  };
984
985
 
985
- module.exports.__wbg_setheaders_4c921e8e226bdfa7 = function(arg0, arg1) {
986
+ module.exports.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
986
987
  getObject(arg0).headers = getObject(arg1);
987
988
  };
988
989
 
989
- module.exports.__wbg_setmethod_cfc7f688ba46a6be = function(arg0, arg1, arg2) {
990
+ module.exports.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
990
991
  getObject(arg0).method = getStringFromWasm0(arg1, arg2);
991
992
  };
992
993
 
993
- module.exports.__wbg_setmode_cd03637eb7da01e0 = function(arg0, arg1) {
994
+ module.exports.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
994
995
  getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
995
996
  };
996
997
 
997
- module.exports.__wbg_setsignal_f766190d206f09e5 = function(arg0, arg1) {
998
+ module.exports.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
998
999
  getObject(arg0).signal = getObject(arg1);
999
1000
  };
1000
1001
 
1001
- module.exports.__wbg_signal_1fdadeba2d04660e = function(arg0) {
1002
+ module.exports.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
1002
1003
  const ret = getObject(arg0).signal;
1003
1004
  return addHeapObject(ret);
1004
1005
  };
1005
1006
 
1006
- module.exports.__wbg_static_accessor_GLOBAL_0be7472e492ad3e3 = function() {
1007
+ module.exports.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
1007
1008
  const ret = typeof global === 'undefined' ? null : global;
1008
1009
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1009
1010
  };
1010
1011
 
1011
- module.exports.__wbg_static_accessor_GLOBAL_THIS_1a6eb482d12c9bfb = function() {
1012
+ module.exports.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
1012
1013
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1013
1014
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1014
1015
  };
1015
1016
 
1016
- module.exports.__wbg_static_accessor_SELF_1dc398a895c82351 = function() {
1017
+ module.exports.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
1017
1018
  const ret = typeof self === 'undefined' ? null : self;
1018
1019
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1019
1020
  };
1020
1021
 
1021
- module.exports.__wbg_static_accessor_WINDOW_ae1c80c7eea8d64a = function() {
1022
+ module.exports.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
1022
1023
  const ret = typeof window === 'undefined' ? null : window;
1023
1024
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1024
1025
  };
1025
1026
 
1026
- module.exports.__wbg_status_317f53bc4c7638df = function(arg0) {
1027
+ module.exports.__wbg_status_f6360336ca686bf0 = function(arg0) {
1027
1028
  const ret = getObject(arg0).status;
1028
1029
  return ret;
1029
1030
  };
1030
1031
 
1031
- module.exports.__wbg_stringify_f4f701bc34ceda61 = function() { return handleError(function (arg0) {
1032
+ module.exports.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
1032
1033
  const ret = JSON.stringify(getObject(arg0));
1033
1034
  return addHeapObject(ret);
1034
1035
  }, arguments) };
1035
1036
 
1036
- module.exports.__wbg_subarray_46adeb9b86949d12 = function(arg0, arg1, arg2) {
1037
+ module.exports.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
1037
1038
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
1038
1039
  return addHeapObject(ret);
1039
1040
  };
1040
1041
 
1041
- module.exports.__wbg_text_dfc4cb7631d2eb34 = function() { return handleError(function (arg0) {
1042
+ module.exports.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
1042
1043
  const ret = getObject(arg0).text();
1043
1044
  return addHeapObject(ret);
1044
1045
  }, arguments) };
1045
1046
 
1046
- module.exports.__wbg_then_0438fad860fe38e1 = function(arg0, arg1) {
1047
+ module.exports.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
1047
1048
  const ret = getObject(arg0).then(getObject(arg1));
1048
1049
  return addHeapObject(ret);
1049
1050
  };
1050
1051
 
1051
- module.exports.__wbg_then_0ffafeddf0e182a4 = function(arg0, arg1, arg2) {
1052
+ module.exports.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
1052
1053
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
1053
1054
  return addHeapObject(ret);
1054
1055
  };
1055
1056
 
1056
- module.exports.__wbg_url_5327bc0a41a9b085 = function(arg0, arg1) {
1057
+ module.exports.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
1057
1058
  const ret = getObject(arg1).url;
1058
1059
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1059
1060
  const len1 = WASM_VECTOR_LEN;
@@ -1061,7 +1062,7 @@ module.exports.__wbg_url_5327bc0a41a9b085 = function(arg0, arg1) {
1061
1062
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1062
1063
  };
1063
1064
 
1064
- module.exports.__wbg_value_4c32fd138a88eee2 = function(arg0) {
1065
+ module.exports.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
1065
1066
  const ret = getObject(arg0).value;
1066
1067
  return addHeapObject(ret);
1067
1068
  };
@@ -1071,7 +1072,7 @@ module.exports.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
1071
1072
  return addHeapObject(ret);
1072
1073
  };
1073
1074
 
1074
- module.exports.__wbg_warn_cb8be8bbf790a5d6 = function(arg0, arg1, arg2, arg3) {
1075
+ module.exports.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
1075
1076
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
1076
1077
  };
1077
1078
 
@@ -1085,8 +1086,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
1085
1086
  return ret;
1086
1087
  };
1087
1088
 
1088
- module.exports.__wbindgen_closure_wrapper2630 = function(arg0, arg1, arg2) {
1089
- const ret = makeMutClosure(arg0, arg1, 540, __wbg_adapter_28);
1089
+ module.exports.__wbindgen_closure_wrapper2728 = function(arg0, arg1, arg2) {
1090
+ const ret = makeMutClosure(arg0, arg1, 534, __wbg_adapter_28);
1090
1091
  return addHeapObject(ret);
1091
1092
  };
1092
1093