hermes-wasm 1.8.5 → 1.8.7

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/hermes_wasm.d.ts CHANGED
@@ -302,14 +302,14 @@ export interface InitOutput {
302
302
  readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
303
303
  readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
304
304
  readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
305
- readonly wasm_bindgen_7f07ed4026f738e___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______: (a: number, b: number) => void;
306
- readonly wasm_bindgen_7f07ed4026f738e___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
307
- readonly wasm_bindgen_7f07ed4026f738e___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__wasm_bindgen_7f07ed4026f738e___JsValue____Output___core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7f07ed4026f738e___JsError___: (a: number, b: number) => void;
308
- readonly wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___wasm_bindgen_7f07ed4026f738e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7f07ed4026f738e___JsError__: (a: number, b: number, c: any) => [number, number];
309
- readonly wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined______: (a: number, b: number, c: any, d: any) => void;
310
- readonly wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____: (a: number, b: number, c: any) => void;
311
- readonly wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1: (a: number, b: number, c: any) => void;
312
- readonly wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke______: (a: number, b: number) => void;
305
+ readonly wasm_bindgen_be448ca59edffdc2___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______: (a: number, b: number) => void;
306
+ readonly wasm_bindgen_be448ca59edffdc2___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
307
+ readonly wasm_bindgen_be448ca59edffdc2___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__wasm_bindgen_be448ca59edffdc2___JsValue____Output___core_5858575f5ab61d4b___result__Result_____wasm_bindgen_be448ca59edffdc2___JsError___: (a: number, b: number) => void;
308
+ readonly wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___wasm_bindgen_be448ca59edffdc2___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_be448ca59edffdc2___JsError__: (a: number, b: number, c: any) => [number, number];
309
+ readonly wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined______: (a: number, b: number, c: any, d: any) => void;
310
+ readonly wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____: (a: number, b: number, c: any) => void;
311
+ readonly wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1: (a: number, b: number, c: any) => void;
312
+ readonly wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke______: (a: number, b: number) => void;
313
313
  readonly __wbindgen_malloc: (a: number, b: number) => number;
314
314
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
315
315
  readonly __wbindgen_exn_store: (a: number) => void;
package/hermes_wasm.js CHANGED
@@ -536,7 +536,7 @@ export function setup_logging() {
536
536
  function __wbg_get_imports() {
537
537
  const import0 = {
538
538
  __proto__: null,
539
- __wbg_Error_dbcd8782dbb273a2: function(arg0, arg1) {
539
+ __wbg_Error_4577686b3a6d9b3a: function(arg0, arg1) {
540
540
  const ret = Error(getStringFromWasm0(arg0, arg1));
541
541
  return ret;
542
542
  },
@@ -547,36 +547,36 @@ function __wbg_get_imports() {
547
547
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
548
548
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
549
549
  },
550
- __wbg___wbindgen_debug_string_6cf0badf0b90f6ef: function(arg0, arg1) {
550
+ __wbg___wbindgen_debug_string_ddde1867f49c2442: function(arg0, arg1) {
551
551
  const ret = debugString(arg1);
552
552
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
553
553
  const len1 = WASM_VECTOR_LEN;
554
554
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
555
555
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
556
556
  },
557
- __wbg___wbindgen_is_function_4500d4795b15e70b: function(arg0) {
557
+ __wbg___wbindgen_is_function_d633e708baf0d146: function(arg0) {
558
558
  const ret = typeof(arg0) === 'function';
559
559
  return ret;
560
560
  },
561
- __wbg___wbindgen_is_null_5467e07e008308e7: function(arg0) {
561
+ __wbg___wbindgen_is_null_a2a19127c13e7126: function(arg0) {
562
562
  const ret = arg0 === null;
563
563
  return ret;
564
564
  },
565
- __wbg___wbindgen_is_string_89134e23eba104e4: function(arg0) {
565
+ __wbg___wbindgen_is_string_7debe47dc1e045c2: function(arg0) {
566
566
  const ret = typeof(arg0) === 'string';
567
567
  return ret;
568
568
  },
569
- __wbg___wbindgen_is_undefined_1296fcc83c2da07a: function(arg0) {
569
+ __wbg___wbindgen_is_undefined_c18285b9fc34cb7d: function(arg0) {
570
570
  const ret = arg0 === undefined;
571
571
  return ret;
572
572
  },
573
- __wbg___wbindgen_number_get_3330675b4e5c3680: function(arg0, arg1) {
573
+ __wbg___wbindgen_number_get_5854912275df1894: function(arg0, arg1) {
574
574
  const obj = arg1;
575
575
  const ret = typeof(obj) === 'number' ? obj : undefined;
576
576
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
577
577
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
578
578
  },
579
- __wbg___wbindgen_string_get_7b8bc463f6cbeefe: function(arg0, arg1) {
579
+ __wbg___wbindgen_string_get_3e5751597f39a112: function(arg0, arg1) {
580
580
  const obj = arg1;
581
581
  const ret = typeof(obj) === 'string' ? obj : undefined;
582
582
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -584,30 +584,30 @@ function __wbg_get_imports() {
584
584
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
585
585
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
586
586
  },
587
- __wbg___wbindgen_throw_89ca9e2c67795ec1: function(arg0, arg1) {
587
+ __wbg___wbindgen_throw_39bc967c0e5a9b58: function(arg0, arg1) {
588
588
  throw new Error(getStringFromWasm0(arg0, arg1));
589
589
  },
590
- __wbg__wbg_cb_unref_f00ff3c6385bd6fa: function(arg0) {
590
+ __wbg__wbg_cb_unref_b6d832240a919168: function(arg0) {
591
591
  arg0._wbg_cb_unref();
592
592
  },
593
- __wbg_abort_d5982476775d2739: function(arg0, arg1) {
594
- arg0.abort(arg1);
595
- },
596
- __wbg_abort_e6a92d5623297220: function(arg0) {
593
+ __wbg_abort_695597a7a37354a1: function(arg0) {
597
594
  arg0.abort();
598
595
  },
599
- __wbg_append_bddb95024c591a53: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
596
+ __wbg_abort_e104a8a255db427b: function(arg0, arg1) {
597
+ arg0.abort(arg1);
598
+ },
599
+ __wbg_append_83740b7c5805e38d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
600
600
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
601
601
  }, arguments); },
602
- __wbg_arrayBuffer_c95edc576c2724fe: function() { return handleError(function (arg0) {
602
+ __wbg_arrayBuffer_8fd4b7df096647f9: function() { return handleError(function (arg0) {
603
603
  const ret = arg0.arrayBuffer();
604
604
  return ret;
605
605
  }, arguments); },
606
- __wbg_call_3eadb5cea0462653: function() { return handleError(function (arg0, arg1, arg2) {
606
+ __wbg_call_08ad0d89caa7cb79: function() { return handleError(function (arg0, arg1, arg2) {
607
607
  const ret = arg0.call(arg1, arg2);
608
608
  return ret;
609
609
  }, arguments); },
610
- __wbg_call_dcf4c86f489d6628: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
610
+ __wbg_call_328a2647f04bd29e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
611
611
  const ret = arg0.call(arg1, arg2, arg3, arg4);
612
612
  return ret;
613
613
  }, arguments); },
@@ -615,26 +615,26 @@ function __wbg_get_imports() {
615
615
  const ret = clearTimeout(arg0);
616
616
  return ret;
617
617
  },
618
- __wbg_contains_d38c70c743d09f5e: function(arg0, arg1, arg2) {
618
+ __wbg_contains_412524090060514f: function(arg0, arg1, arg2) {
619
619
  const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
620
620
  return ret;
621
621
  },
622
- __wbg_createObjectStore_1f9ec54763e0af72: function() { return handleError(function (arg0, arg1, arg2) {
622
+ __wbg_createObjectStore_bfd875621f13f126: function() { return handleError(function (arg0, arg1, arg2) {
623
623
  const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2));
624
624
  return ret;
625
625
  }, arguments); },
626
- __wbg_debug_512ce669a0dda245: function(arg0) {
626
+ __wbg_debug_e69ad32e6af73f94: function(arg0) {
627
627
  console.debug(arg0);
628
628
  },
629
- __wbg_delete_ffc7e97edc062f76: function() { return handleError(function (arg0, arg1) {
629
+ __wbg_delete_86cbf50563ab0bd6: function() { return handleError(function (arg0, arg1) {
630
630
  const ret = arg0.delete(arg1);
631
631
  return ret;
632
632
  }, arguments); },
633
- __wbg_done_82b14aeb31e98db6: function(arg0) {
633
+ __wbg_done_5aad55ec6b1954b1: function(arg0) {
634
634
  const ret = arg0.done;
635
635
  return ret;
636
636
  },
637
- __wbg_entries_279f7c28f13d750a: function(arg0) {
637
+ __wbg_entries_728df8ae891bd59c: function(arg0) {
638
638
  const ret = arg0.entries();
639
639
  return ret;
640
640
  },
@@ -649,49 +649,49 @@ function __wbg_get_imports() {
649
649
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
650
650
  }
651
651
  },
652
- __wbg_error_d0b9fd88b7a19297: function(arg0) {
652
+ __wbg_error_ad28debb48b5c6bb: function(arg0) {
653
653
  console.error(arg0);
654
654
  },
655
+ __wbg_fetch_3c1f541fa62e562d: function(arg0, arg1) {
656
+ const ret = arg0.fetch(arg1);
657
+ return ret;
658
+ },
655
659
  __wbg_fetch_43b2f110608a59ff: function(arg0) {
656
660
  const ret = fetch(arg0);
657
661
  return ret;
658
662
  },
659
- __wbg_fetch_457fd31a889a3605: function(arg0, arg1) {
663
+ __wbg_fetch_59df3bdc0a4c0e4b: function(arg0, arg1) {
660
664
  const ret = arg0.fetch(arg1);
661
665
  return ret;
662
666
  },
663
- __wbg_fetch_c170c157e1a111d4: function(arg0, arg1) {
664
- const ret = arg0.fetch(arg1);
667
+ __wbg_get_18349afdb36339a9: function() { return handleError(function (arg0, arg1) {
668
+ const ret = Reflect.get(arg0, arg1);
665
669
  return ret;
666
- },
667
- __wbg_get_1e44061194c39591: function() { return handleError(function (arg0, arg1) {
670
+ }, arguments); },
671
+ __wbg_get_791b26b41a7de3d5: function() { return handleError(function (arg0, arg1) {
668
672
  const ret = arg0.get(arg1);
669
673
  return ret;
670
674
  }, arguments); },
671
- __wbg_get_229657ec2da079cd: function(arg0, arg1) {
675
+ __wbg_get_f09c3a16f8848381: function(arg0, arg1) {
672
676
  const ret = arg0[arg1 >>> 0];
673
677
  return ret;
674
678
  },
675
- __wbg_get_89f3a4c398b4872e: function() { return handleError(function (arg0, arg1) {
676
- const ret = Reflect.get(arg0, arg1);
677
- return ret;
678
- }, arguments); },
679
- __wbg_has_01b31fbd88bb3e8f: function() { return handleError(function (arg0, arg1) {
679
+ __wbg_has_14f08fae2dc367dc: function() { return handleError(function (arg0, arg1) {
680
680
  const ret = Reflect.has(arg0, arg1);
681
681
  return ret;
682
682
  }, arguments); },
683
- __wbg_headers_fa752b79db86f8b3: function(arg0) {
683
+ __wbg_headers_028b9b1c907f9362: function(arg0) {
684
684
  const ret = arg0.headers;
685
685
  return ret;
686
686
  },
687
- __wbg_indexedDB_c189b6019194263d: function() { return handleError(function (arg0) {
687
+ __wbg_indexedDB_f950945d950fbd5e: function() { return handleError(function (arg0) {
688
688
  const ret = arg0.indexedDB;
689
689
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
690
690
  }, arguments); },
691
- __wbg_info_3fad8ca00db5aa77: function(arg0) {
691
+ __wbg_info_72e7e65fa3fc8b25: function(arg0) {
692
692
  console.info(arg0);
693
693
  },
694
- __wbg_instanceof_IdbDatabase_1f434ee10170b816: function(arg0) {
694
+ __wbg_instanceof_IdbDatabase_9f1f490b74b465ba: function(arg0) {
695
695
  let result;
696
696
  try {
697
697
  result = arg0 instanceof IDBDatabase;
@@ -701,7 +701,7 @@ function __wbg_get_imports() {
701
701
  const ret = result;
702
702
  return ret;
703
703
  },
704
- __wbg_instanceof_IdbOpenDbRequest_7abbd2dc33aa157e: function(arg0) {
704
+ __wbg_instanceof_IdbOpenDbRequest_bc707ea112c6f917: function(arg0) {
705
705
  let result;
706
706
  try {
707
707
  result = arg0 instanceof IDBOpenDBRequest;
@@ -711,7 +711,7 @@ function __wbg_get_imports() {
711
711
  const ret = result;
712
712
  return ret;
713
713
  },
714
- __wbg_instanceof_IdbRequest_6f71574cda04750b: function(arg0) {
714
+ __wbg_instanceof_IdbRequest_7843bbb1faeeb0bc: function(arg0) {
715
715
  let result;
716
716
  try {
717
717
  result = arg0 instanceof IDBRequest;
@@ -721,7 +721,7 @@ function __wbg_get_imports() {
721
721
  const ret = result;
722
722
  return ret;
723
723
  },
724
- __wbg_instanceof_Response_1844be67dbd5e161: function(arg0) {
724
+ __wbg_instanceof_Response_8ec0057b1e5c71bf: function(arg0) {
725
725
  let result;
726
726
  try {
727
727
  result = arg0 instanceof Response;
@@ -731,7 +731,7 @@ function __wbg_get_imports() {
731
731
  const ret = result;
732
732
  return ret;
733
733
  },
734
- __wbg_instanceof_Uint8Array_6482c66fce35827d: function(arg0) {
734
+ __wbg_instanceof_Uint8Array_2240b7046ac16f05: function(arg0) {
735
735
  let result;
736
736
  try {
737
737
  result = arg0 instanceof Uint8Array;
@@ -741,7 +741,7 @@ function __wbg_get_imports() {
741
741
  const ret = result;
742
742
  return ret;
743
743
  },
744
- __wbg_instanceof_Window_27a653e1b516dd65: function(arg0) {
744
+ __wbg_instanceof_Window_4aba49e4d1a12365: function(arg0) {
745
745
  let result;
746
746
  try {
747
747
  result = arg0 instanceof Window;
@@ -751,57 +751,57 @@ function __wbg_get_imports() {
751
751
  const ret = result;
752
752
  return ret;
753
753
  },
754
- __wbg_isArray_fe5201bfdab7e39d: function(arg0) {
754
+ __wbg_isArray_fad08a0d12828686: function(arg0) {
755
755
  const ret = Array.isArray(arg0);
756
756
  return ret;
757
757
  },
758
- __wbg_length_f875d3a041bab91a: function(arg0) {
758
+ __wbg_length_5855c1f289dfffc1: function(arg0) {
759
759
  const ret = arg0.length;
760
760
  return ret;
761
761
  },
762
- __wbg_log_240aa86e7eb48d31: function(arg0) {
762
+ __wbg_log_3c5e4b64af29e724: function(arg0) {
763
763
  console.log(arg0);
764
764
  },
765
- __wbg_new_08d33c204155a3e2: function() { return handleError(function () {
766
- const ret = new AbortController();
765
+ __wbg_new_0765f05b3e3b4625: function() { return handleError(function () {
766
+ const ret = new Headers();
767
767
  return ret;
768
768
  }, arguments); },
769
+ __wbg_new_09959f7b4c92c246: function(arg0) {
770
+ const ret = new Uint8Array(arg0);
771
+ return ret;
772
+ },
769
773
  __wbg_new_227d7c05414eb861: function() {
770
774
  const ret = new Error();
771
775
  return ret;
772
776
  },
773
- __wbg_new_5947ca72f3fee3e6: function() {
777
+ __wbg_new_92df58a8ec3bfb6b: function() {
774
778
  const ret = new Map();
775
779
  return ret;
776
780
  },
777
- __wbg_new_6e7681a5f6f98ceb: function(arg0) {
778
- const ret = new Uint8Array(arg0);
781
+ __wbg_new_cbee8c0d5c479eac: function() {
782
+ const ret = new Array();
779
783
  return ret;
780
784
  },
781
- __wbg_new_6feff3e11e4d0799: function() {
785
+ __wbg_new_ed69e637b553a997: function() {
782
786
  const ret = new Object();
783
787
  return ret;
784
788
  },
785
- __wbg_new_e88efd8ca5aef956: function() { return handleError(function () {
786
- const ret = new Headers();
789
+ __wbg_new_fe53f8c71bd1e95b: function() { return handleError(function () {
790
+ const ret = new AbortController();
787
791
  return ret;
788
792
  }, arguments); },
789
- __wbg_new_ff7f9cc4c9a4a0cf: function() {
790
- const ret = new Array();
791
- return ret;
792
- },
793
- __wbg_new_from_slice_a5be53238f31f9f7: function(arg0, arg1) {
793
+ __wbg_new_from_slice_d7e202fdbee3c396: function(arg0, arg1) {
794
794
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
795
795
  return ret;
796
796
  },
797
- __wbg_new_typed_f79896f0ea5f7de8: function(arg0, arg1) {
797
+ __wbg_new_typed_8258a0d8488ef2a2: function(arg0, arg1) {
798
798
  try {
799
799
  var state0 = {a: arg0, b: arg1};
800
800
  var cb0 = (arg0, arg1) => {
801
801
  const a = state0.a;
802
802
  state0.a = 0;
803
803
  try {
804
- return wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined______(a, state0.b, arg0, arg1);
804
+ return wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined______(a, state0.b, arg0, arg1);
805
805
  } finally {
806
806
  state0.a = a;
807
807
  }
@@ -812,53 +812,53 @@ function __wbg_get_imports() {
812
812
  state0.a = state0.b = 0;
813
813
  }
814
814
  },
815
- __wbg_new_with_str_and_init_66de5344635d3590: function() { return handleError(function (arg0, arg1, arg2) {
815
+ __wbg_new_with_str_and_init_5fdb105df3907de1: function() { return handleError(function (arg0, arg1, arg2) {
816
816
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
817
817
  return ret;
818
818
  }, arguments); },
819
- __wbg_next_ae5b710aea83f41e: function() { return handleError(function (arg0) {
819
+ __wbg_next_e592122bb4ed4c67: function() { return handleError(function (arg0) {
820
820
  const ret = arg0.next();
821
821
  return ret;
822
822
  }, arguments); },
823
- __wbg_now_7132c007bbc70074: function(arg0) {
823
+ __wbg_now_b134ec02cd6d8b88: function(arg0) {
824
824
  const ret = arg0.now();
825
825
  return ret;
826
826
  },
827
- __wbg_objectStoreNames_6a07249be7ebb662: function(arg0) {
827
+ __wbg_objectStoreNames_3645b6da2d1f3852: function(arg0) {
828
828
  const ret = arg0.objectStoreNames;
829
829
  return ret;
830
830
  },
831
- __wbg_objectStore_015d3ed0b7cb1d99: function() { return handleError(function (arg0, arg1, arg2) {
831
+ __wbg_objectStore_3a6b969b917c6262: function() { return handleError(function (arg0, arg1, arg2) {
832
832
  const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
833
833
  return ret;
834
834
  }, arguments); },
835
- __wbg_ok_0eac9778dcc96740: function(arg0) {
835
+ __wbg_ok_7d15591f9c7b18db: function(arg0) {
836
836
  const ret = arg0.ok;
837
837
  return ret;
838
838
  },
839
- __wbg_open_2a8fd50228546f1e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
839
+ __wbg_open_9badd3c8846fbf11: function() { return handleError(function (arg0, arg1, arg2, arg3) {
840
840
  const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
841
841
  return ret;
842
842
  }, arguments); },
843
- __wbg_prototypesetcall_37f00e1be5c4015a: function(arg0, arg1, arg2) {
843
+ __wbg_prototypesetcall_f034d444741426c3: function(arg0, arg1, arg2) {
844
844
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
845
845
  },
846
- __wbg_put_1be98ea4de1d2c9f: function() { return handleError(function (arg0, arg1, arg2) {
846
+ __wbg_put_d86a6833e14a4c3b: function() { return handleError(function (arg0, arg1, arg2) {
847
847
  const ret = arg0.put(arg1, arg2);
848
848
  return ret;
849
849
  }, arguments); },
850
- __wbg_queueMicrotask_5e387cf4d8e3f63e: function(arg0) {
851
- queueMicrotask(arg0);
852
- },
853
- __wbg_queueMicrotask_77bf5a3ad712168b: function(arg0) {
850
+ __wbg_queueMicrotask_2c8dfd1056f24fdc: function(arg0) {
854
851
  const ret = arg0.queueMicrotask;
855
852
  return ret;
856
853
  },
857
- __wbg_resolve_2e8556632715b12f: function(arg0) {
854
+ __wbg_queueMicrotask_8985ad63815852e7: function(arg0) {
855
+ queueMicrotask(arg0);
856
+ },
857
+ __wbg_resolve_5d61e0d10c14730a: function(arg0) {
858
858
  const ret = Promise.resolve(arg0);
859
859
  return ret;
860
860
  },
861
- __wbg_result_a341f12d4cb786ef: function() { return handleError(function (arg0) {
861
+ __wbg_result_aaba1e6bbc5d42c8: function() { return handleError(function (arg0) {
862
862
  const ret = arg0.result;
863
863
  return ret;
864
864
  }, arguments); },
@@ -866,50 +866,50 @@ function __wbg_get_imports() {
866
866
  const ret = setTimeout(arg0, arg1);
867
867
  return ret;
868
868
  },
869
- __wbg_set_601f3e1d081df3ac: function(arg0, arg1, arg2) {
869
+ __wbg_set_4c81cfb5dc3a333c: function(arg0, arg1, arg2) {
870
870
  arg0[arg1 >>> 0] = arg2;
871
871
  },
872
872
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
873
873
  arg0[arg1] = arg2;
874
874
  },
875
- __wbg_set_b1226382f10be917: function(arg0, arg1, arg2) {
876
- const ret = arg0.set(arg1, arg2);
877
- return ret;
878
- },
879
- __wbg_set_body_42d5ed933a1840a1: function(arg0, arg1) {
875
+ __wbg_set_body_cced363f7703790d: function(arg0, arg1) {
880
876
  arg0.body = arg1;
881
877
  },
882
- __wbg_set_cache_546c3dda0e43ae0c: function(arg0, arg1) {
878
+ __wbg_set_cache_d1e60189f19e54cf: function(arg0, arg1) {
883
879
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
884
880
  },
885
- __wbg_set_credentials_328fbf29cfdfa342: function(arg0, arg1) {
881
+ __wbg_set_cfc6de03f990decf: function(arg0, arg1, arg2) {
882
+ const ret = arg0.set(arg1, arg2);
883
+ return ret;
884
+ },
885
+ __wbg_set_credentials_b80a80dfa15201af: function(arg0, arg1) {
886
886
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
887
887
  },
888
- __wbg_set_headers_1f8bdee11d576059: function(arg0, arg1) {
888
+ __wbg_set_headers_9144e2163352af57: function(arg0, arg1) {
889
889
  arg0.headers = arg1;
890
890
  },
891
- __wbg_set_method_5a35896632ca213d: function(arg0, arg1, arg2) {
891
+ __wbg_set_method_c1be4686b152fe29: function(arg0, arg1, arg2) {
892
892
  arg0.method = getStringFromWasm0(arg1, arg2);
893
893
  },
894
- __wbg_set_mode_6fa10db5d133ac26: function(arg0, arg1) {
894
+ __wbg_set_mode_13fad253f291265c: function(arg0, arg1) {
895
895
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
896
896
  },
897
- __wbg_set_oncomplete_98a2196d755d2d24: function(arg0, arg1) {
897
+ __wbg_set_oncomplete_781f4383b5bad79d: function(arg0, arg1) {
898
898
  arg0.oncomplete = arg1;
899
899
  },
900
- __wbg_set_onerror_bac43f7bea6aea04: function(arg0, arg1) {
900
+ __wbg_set_onerror_8b43a0b08de76f6d: function(arg0, arg1) {
901
901
  arg0.onerror = arg1;
902
902
  },
903
- __wbg_set_onsuccess_b11a47e22cc3b04d: function(arg0, arg1) {
903
+ __wbg_set_onsuccess_76214f5146684855: function(arg0, arg1) {
904
904
  arg0.onsuccess = arg1;
905
905
  },
906
- __wbg_set_onupgradeneeded_884f0a93f1b2fc89: function(arg0, arg1) {
906
+ __wbg_set_onupgradeneeded_74f1c8e9dbd2b70c: function(arg0, arg1) {
907
907
  arg0.onupgradeneeded = arg1;
908
908
  },
909
- __wbg_set_signal_0d93209e168efc85: function(arg0, arg1) {
909
+ __wbg_set_signal_0ad1579122fc44a7: function(arg0, arg1) {
910
910
  arg0.signal = arg1;
911
911
  },
912
- __wbg_signal_a0d9fead74a07e34: function(arg0) {
912
+ __wbg_signal_147ce1e013d09714: function(arg0) {
913
913
  const ret = arg0.signal;
914
914
  return ret;
915
915
  },
@@ -920,78 +920,78 @@ function __wbg_get_imports() {
920
920
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
921
921
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
922
922
  },
923
- __wbg_static_accessor_GLOBAL_280fe6a619bbfbf6: function() {
924
- const ret = typeof global === 'undefined' ? null : global;
923
+ __wbg_static_accessor_GLOBAL_THIS_14325d8cca34bb77: function() {
924
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
925
925
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
926
926
  },
927
- __wbg_static_accessor_GLOBAL_THIS_12c1f4811ec605d1: function() {
928
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
927
+ __wbg_static_accessor_GLOBAL_f3a1e69f9c5a7e8e: function() {
928
+ const ret = typeof global === 'undefined' ? null : global;
929
929
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
930
930
  },
931
- __wbg_static_accessor_SELF_3a156961626f54d9: function() {
931
+ __wbg_static_accessor_SELF_50cdb5b517789aca: function() {
932
932
  const ret = typeof self === 'undefined' ? null : self;
933
933
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
934
934
  },
935
- __wbg_static_accessor_WINDOW_210015b3eb6018a4: function() {
935
+ __wbg_static_accessor_WINDOW_d6c4126e4c244380: function() {
936
936
  const ret = typeof window === 'undefined' ? null : window;
937
937
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
938
938
  },
939
- __wbg_status_1544422a8c64aef0: function(arg0) {
939
+ __wbg_status_acf2080bc55aa324: function(arg0) {
940
940
  const ret = arg0.status;
941
941
  return ret;
942
942
  },
943
- __wbg_target_28a021f6fbeb8e04: function(arg0) {
943
+ __wbg_target_adcfd1353c3de078: function(arg0) {
944
944
  const ret = arg0.target;
945
945
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
946
946
  },
947
- __wbg_then_5ce48a9e69c0d3cd: function(arg0, arg1) {
948
- const ret = arg0.then(arg1);
947
+ __wbg_then_d4163530723f56f4: function(arg0, arg1, arg2) {
948
+ const ret = arg0.then(arg1, arg2);
949
949
  return ret;
950
950
  },
951
- __wbg_then_f73127af3894d61c: function(arg0, arg1, arg2) {
952
- const ret = arg0.then(arg1, arg2);
951
+ __wbg_then_f1c954fe00733701: function(arg0, arg1) {
952
+ const ret = arg0.then(arg1);
953
953
  return ret;
954
954
  },
955
- __wbg_transaction_3a9df0b414667515: function() { return handleError(function (arg0, arg1, arg2, arg3) {
955
+ __wbg_transaction_8555c5d00a94c767: function() { return handleError(function (arg0, arg1, arg2, arg3) {
956
956
  const ret = arg0.transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
957
957
  return ret;
958
958
  }, arguments); },
959
- __wbg_transaction_f2fa9c1bd80a868f: function() { return handleError(function (arg0, arg1, arg2) {
959
+ __wbg_transaction_f90e157c0cdb0001: function() { return handleError(function (arg0, arg1, arg2) {
960
960
  const ret = arg0.transaction(getStringFromWasm0(arg1, arg2));
961
961
  return ret;
962
962
  }, arguments); },
963
- __wbg_url_271945e420831f05: function(arg0, arg1) {
963
+ __wbg_url_86ac63f11d20b46f: function(arg0, arg1) {
964
964
  const ret = arg1.url;
965
965
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
966
966
  const len1 = WASM_VECTOR_LEN;
967
967
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
968
968
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
969
969
  },
970
- __wbg_value_3e1fdb73e1353fb3: function(arg0) {
970
+ __wbg_value_667dcb90597486a6: function(arg0) {
971
971
  const ret = arg0.value;
972
972
  return ret;
973
973
  },
974
- __wbg_warn_998077100f0e7387: function(arg0) {
974
+ __wbg_warn_3310c7343993c074: function(arg0) {
975
975
  console.warn(arg0);
976
976
  },
977
977
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
978
978
  // Cast intrinsic for `Closure(Closure { dtor_idx: 174, function: Function { arguments: [NamedExternref("Event")], shim_idx: 175, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
979
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_7f07ed4026f738e___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____);
979
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_be448ca59edffdc2___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____);
980
980
  return ret;
981
981
  },
982
982
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
983
983
  // Cast intrinsic for `Closure(Closure { dtor_idx: 174, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 175, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
984
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_7f07ed4026f738e___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1);
984
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_be448ca59edffdc2___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1);
985
985
  return ret;
986
986
  },
987
987
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
988
- // Cast intrinsic for `Closure(Closure { dtor_idx: 582, function: Function { arguments: [], shim_idx: 583, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
989
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_7f07ed4026f738e___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut_____Output_______, wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke______);
988
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 584, function: Function { arguments: [], shim_idx: 585, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
989
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_be448ca59edffdc2___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut_____Output_______, wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke______);
990
990
  return ret;
991
991
  },
992
992
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
993
- // Cast intrinsic for `Closure(Closure { dtor_idx: 612, function: Function { arguments: [Externref], shim_idx: 613, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
994
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_7f07ed4026f738e___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__wasm_bindgen_7f07ed4026f738e___JsValue____Output___core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7f07ed4026f738e___JsError___, wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___wasm_bindgen_7f07ed4026f738e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7f07ed4026f738e___JsError__);
993
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 614, function: Function { arguments: [Externref], shim_idx: 615, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
994
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_be448ca59edffdc2___closure__destroy___dyn_core_5858575f5ab61d4b___ops__function__FnMut__wasm_bindgen_be448ca59edffdc2___JsValue____Output___core_5858575f5ab61d4b___result__Result_____wasm_bindgen_be448ca59edffdc2___JsError___, wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___wasm_bindgen_be448ca59edffdc2___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_be448ca59edffdc2___JsError__);
995
995
  return ret;
996
996
  },
997
997
  __wbindgen_cast_0000000000000005: function(arg0) {
@@ -1030,27 +1030,27 @@ function __wbg_get_imports() {
1030
1030
  };
1031
1031
  }
1032
1032
 
1033
- function wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke______(arg0, arg1) {
1034
- wasm.wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke______(arg0, arg1);
1033
+ function wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke______(arg0, arg1) {
1034
+ wasm.wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke______(arg0, arg1);
1035
1035
  }
1036
1036
 
1037
- function wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____(arg0, arg1, arg2) {
1038
- wasm.wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____(arg0, arg1, arg2);
1037
+ function wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____(arg0, arg1, arg2) {
1038
+ wasm.wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____(arg0, arg1, arg2);
1039
1039
  }
1040
1040
 
1041
- function wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1(arg0, arg1, arg2) {
1042
- wasm.wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___web_sys_681e534fe2ba1193___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1(arg0, arg1, arg2);
1041
+ function wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1(arg0, arg1, arg2) {
1042
+ wasm.wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___web_sys_c551ff5ea97cee69___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______1(arg0, arg1, arg2);
1043
1043
  }
1044
1044
 
1045
- function wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___wasm_bindgen_7f07ed4026f738e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7f07ed4026f738e___JsError__(arg0, arg1, arg2) {
1046
- const ret = wasm.wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___wasm_bindgen_7f07ed4026f738e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7f07ed4026f738e___JsError__(arg0, arg1, arg2);
1045
+ function wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___wasm_bindgen_be448ca59edffdc2___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_be448ca59edffdc2___JsError__(arg0, arg1, arg2) {
1046
+ const ret = wasm.wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___wasm_bindgen_be448ca59edffdc2___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_be448ca59edffdc2___JsError__(arg0, arg1, arg2);
1047
1047
  if (ret[1]) {
1048
1048
  throw takeFromExternrefTable0(ret[0]);
1049
1049
  }
1050
1050
  }
1051
1051
 
1052
- function wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined______(arg0, arg1, arg2, arg3) {
1053
- wasm.wasm_bindgen_7f07ed4026f738e___convert__closures_____invoke___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined___js_sys_61199577b62b9f23___Function_fn_wasm_bindgen_7f07ed4026f738e___JsValue_____wasm_bindgen_7f07ed4026f738e___sys__Undefined______(arg0, arg1, arg2, arg3);
1052
+ function wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined______(arg0, arg1, arg2, arg3) {
1053
+ wasm.wasm_bindgen_be448ca59edffdc2___convert__closures_____invoke___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined___js_sys_498efa3aeb8b052e___Function_fn_wasm_bindgen_be448ca59edffdc2___JsValue_____wasm_bindgen_be448ca59edffdc2___sys__Undefined______(arg0, arg1, arg2, arg3);
1054
1054
  }
1055
1055
 
1056
1056
 
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "izihawa"
6
6
  ],
7
7
  "description": "WASM bindings for Hermes search engine",
8
- "version": "1.8.5",
8
+ "version": "1.8.7",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",