hermes-wasm 1.8.32 → 1.8.34
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 +20 -22
- package/hermes_wasm.js +167 -167
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/hermes_wasm.d.ts
CHANGED
|
@@ -374,20 +374,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
374
374
|
|
|
375
375
|
export interface InitOutput {
|
|
376
376
|
readonly memory: WebAssembly.Memory;
|
|
377
|
-
readonly __wbg_localindex_free: (a: number, b: number) => void;
|
|
378
|
-
readonly localindex_addDocument: (a: number, b: any) => any;
|
|
379
|
-
readonly localindex_addDocuments: (a: number, b: any) => any;
|
|
380
|
-
readonly localindex_commit: (a: number) => any;
|
|
381
|
-
readonly localindex_create: (a: number, b: number) => any;
|
|
382
|
-
readonly localindex_fieldNames: (a: number) => any;
|
|
383
|
-
readonly localindex_getDocument: (a: number, b: number, c: number, d: number) => any;
|
|
384
|
-
readonly localindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
385
|
-
readonly localindex_numDocs: (a: number) => number;
|
|
386
|
-
readonly localindex_pendingDocs: (a: number) => number;
|
|
387
|
-
readonly localindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
388
|
-
readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
389
|
-
readonly localindex_searchStructured: (a: number, b: any) => any;
|
|
390
|
-
readonly localindex_withStorage: (a: any, b: number, c: number) => any;
|
|
391
377
|
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
392
378
|
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
393
379
|
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
@@ -441,6 +427,20 @@ export interface InitOutput {
|
|
|
441
427
|
readonly setup_logging: () => void;
|
|
442
428
|
readonly remoteindex_num_docs: (a: number) => number;
|
|
443
429
|
readonly remoteindex_num_segments: (a: number) => number;
|
|
430
|
+
readonly __wbg_localindex_free: (a: number, b: number) => void;
|
|
431
|
+
readonly localindex_addDocument: (a: number, b: any) => any;
|
|
432
|
+
readonly localindex_addDocuments: (a: number, b: any) => any;
|
|
433
|
+
readonly localindex_commit: (a: number) => any;
|
|
434
|
+
readonly localindex_create: (a: number, b: number) => any;
|
|
435
|
+
readonly localindex_fieldNames: (a: number) => any;
|
|
436
|
+
readonly localindex_getDocument: (a: number, b: number, c: number, d: number) => any;
|
|
437
|
+
readonly localindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
438
|
+
readonly localindex_numDocs: (a: number) => number;
|
|
439
|
+
readonly localindex_pendingDocs: (a: number) => number;
|
|
440
|
+
readonly localindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
441
|
+
readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
442
|
+
readonly localindex_searchStructured: (a: number, b: any) => any;
|
|
443
|
+
readonly localindex_withStorage: (a: any, b: number, c: number) => any;
|
|
444
444
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
445
445
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
446
446
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -449,20 +449,18 @@ export interface InitOutput {
|
|
|
449
449
|
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
450
450
|
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
451
451
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
452
|
-
readonly
|
|
453
|
-
readonly
|
|
454
|
-
readonly
|
|
455
|
-
readonly
|
|
456
|
-
readonly
|
|
457
|
-
readonly wasm_bindgen_efede8c867e8014b___convert__closures_____invoke___web_sys_108d82c43c7519e2___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_: (a: number, b: number, c: any) => void;
|
|
458
|
-
readonly wasm_bindgen_efede8c867e8014b___convert__closures_____invoke___web_sys_108d82c43c7519e2___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__1: (a: number, b: number, c: any) => void;
|
|
459
|
-
readonly wasm_bindgen_efede8c867e8014b___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
452
|
+
readonly wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___wasm_bindgen_7e519ff5bc59ba8e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7e519ff5bc59ba8e___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
453
|
+
readonly wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
454
|
+
readonly wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_: (a: number, b: number, c: any) => void;
|
|
455
|
+
readonly wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__2: (a: number, b: number, c: any) => void;
|
|
456
|
+
readonly wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
460
457
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
461
458
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
462
459
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
463
460
|
readonly __externref_table_alloc: () => number;
|
|
464
461
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
465
462
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
463
|
+
readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
466
464
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
467
465
|
readonly __wbindgen_start: () => void;
|
|
468
466
|
}
|
package/hermes_wasm.js
CHANGED
|
@@ -798,11 +798,11 @@ export function setup_logging() {
|
|
|
798
798
|
function __wbg_get_imports() {
|
|
799
799
|
const import0 = {
|
|
800
800
|
__proto__: null,
|
|
801
|
-
|
|
801
|
+
__wbg_Error_2e59b1b37a9a34c3: function(arg0, arg1) {
|
|
802
802
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
803
803
|
return ret;
|
|
804
804
|
},
|
|
805
|
-
|
|
805
|
+
__wbg_Number_e6ffdb596c888833: function(arg0) {
|
|
806
806
|
const ret = Number(arg0);
|
|
807
807
|
return ret;
|
|
808
808
|
},
|
|
@@ -813,68 +813,68 @@ function __wbg_get_imports() {
|
|
|
813
813
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
814
814
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
815
815
|
},
|
|
816
|
-
|
|
816
|
+
__wbg___wbindgen_bigint_get_as_i64_2c5082002e4826e2: function(arg0, arg1) {
|
|
817
817
|
const v = arg1;
|
|
818
818
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
819
819
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
820
820
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
821
821
|
},
|
|
822
|
-
|
|
822
|
+
__wbg___wbindgen_boolean_get_a86c216575a75c30: function(arg0) {
|
|
823
823
|
const v = arg0;
|
|
824
824
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
825
825
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
826
826
|
},
|
|
827
|
-
|
|
827
|
+
__wbg___wbindgen_debug_string_dd5d2d07ce9e6c57: function(arg0, arg1) {
|
|
828
828
|
const ret = debugString(arg1);
|
|
829
829
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
830
830
|
const len1 = WASM_VECTOR_LEN;
|
|
831
831
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
832
832
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
833
833
|
},
|
|
834
|
-
|
|
834
|
+
__wbg___wbindgen_in_4bd7a57e54337366: function(arg0, arg1) {
|
|
835
835
|
const ret = arg0 in arg1;
|
|
836
836
|
return ret;
|
|
837
837
|
},
|
|
838
|
-
|
|
838
|
+
__wbg___wbindgen_is_bigint_6c98f7e945dacdde: function(arg0) {
|
|
839
839
|
const ret = typeof(arg0) === 'bigint';
|
|
840
840
|
return ret;
|
|
841
841
|
},
|
|
842
|
-
|
|
842
|
+
__wbg___wbindgen_is_function_49868bde5eb1e745: function(arg0) {
|
|
843
843
|
const ret = typeof(arg0) === 'function';
|
|
844
844
|
return ret;
|
|
845
845
|
},
|
|
846
|
-
|
|
846
|
+
__wbg___wbindgen_is_null_344c8750a8525473: function(arg0) {
|
|
847
847
|
const ret = arg0 === null;
|
|
848
848
|
return ret;
|
|
849
849
|
},
|
|
850
|
-
|
|
850
|
+
__wbg___wbindgen_is_object_40c5a80572e8f9d3: function(arg0) {
|
|
851
851
|
const val = arg0;
|
|
852
852
|
const ret = typeof(val) === 'object' && val !== null;
|
|
853
853
|
return ret;
|
|
854
854
|
},
|
|
855
|
-
|
|
855
|
+
__wbg___wbindgen_is_string_b29b5c5a8065ba1a: function(arg0) {
|
|
856
856
|
const ret = typeof(arg0) === 'string';
|
|
857
857
|
return ret;
|
|
858
858
|
},
|
|
859
|
-
|
|
859
|
+
__wbg___wbindgen_is_undefined_c0cca72b82b86f4d: function(arg0) {
|
|
860
860
|
const ret = arg0 === undefined;
|
|
861
861
|
return ret;
|
|
862
862
|
},
|
|
863
|
-
|
|
863
|
+
__wbg___wbindgen_jsval_eq_7d430e744a913d26: function(arg0, arg1) {
|
|
864
864
|
const ret = arg0 === arg1;
|
|
865
865
|
return ret;
|
|
866
866
|
},
|
|
867
|
-
|
|
867
|
+
__wbg___wbindgen_jsval_loose_eq_3a72ae764d46d944: function(arg0, arg1) {
|
|
868
868
|
const ret = arg0 == arg1;
|
|
869
869
|
return ret;
|
|
870
870
|
},
|
|
871
|
-
|
|
871
|
+
__wbg___wbindgen_number_get_7579aab02a8a620c: function(arg0, arg1) {
|
|
872
872
|
const obj = arg1;
|
|
873
873
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
874
874
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
875
875
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
876
876
|
},
|
|
877
|
-
|
|
877
|
+
__wbg___wbindgen_string_get_914df97fcfa788f2: function(arg0, arg1) {
|
|
878
878
|
const obj = arg1;
|
|
879
879
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
880
880
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -882,42 +882,42 @@ function __wbg_get_imports() {
|
|
|
882
882
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
883
883
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
884
884
|
},
|
|
885
|
-
|
|
885
|
+
__wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
|
|
886
886
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
887
887
|
},
|
|
888
|
-
|
|
888
|
+
__wbg__wbg_cb_unref_3c3b4f651835fbcb: function(arg0) {
|
|
889
889
|
arg0._wbg_cb_unref();
|
|
890
890
|
},
|
|
891
|
-
|
|
891
|
+
__wbg_abort_5ee4083ce26e0b01: function(arg0) {
|
|
892
892
|
arg0.abort();
|
|
893
893
|
},
|
|
894
|
-
|
|
894
|
+
__wbg_abort_7a67cb8f9383baa1: function(arg0, arg1) {
|
|
895
895
|
arg0.abort(arg1);
|
|
896
896
|
},
|
|
897
|
-
|
|
897
|
+
__wbg_append_c015600138ae60bb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
898
898
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
899
899
|
}, arguments); },
|
|
900
|
-
|
|
900
|
+
__wbg_arrayBuffer_dae084a298aa5fe0: function() { return handleError(function (arg0) {
|
|
901
901
|
const ret = arg0.arrayBuffer();
|
|
902
902
|
return ret;
|
|
903
903
|
}, arguments); },
|
|
904
|
-
|
|
904
|
+
__wbg_buffer_a77cc90da4bdb503: function(arg0) {
|
|
905
905
|
const ret = arg0.buffer;
|
|
906
906
|
return ret;
|
|
907
907
|
},
|
|
908
|
-
|
|
909
|
-
const ret = arg0.call(arg1, arg2);
|
|
910
|
-
return ret;
|
|
911
|
-
}, arguments); },
|
|
912
|
-
__wbg_call_dcc2662fa17a72cf: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
908
|
+
__wbg_call_368fa9c372d473ba: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
913
909
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
914
910
|
return ret;
|
|
915
911
|
}, arguments); },
|
|
916
|
-
|
|
912
|
+
__wbg_call_7f2987183bb62793: function() { return handleError(function (arg0, arg1) {
|
|
917
913
|
const ret = arg0.call(arg1);
|
|
918
914
|
return ret;
|
|
919
915
|
}, arguments); },
|
|
920
|
-
|
|
916
|
+
__wbg_call_d578befcc3145dee: function() { return handleError(function (arg0, arg1, arg2) {
|
|
917
|
+
const ret = arg0.call(arg1, arg2);
|
|
918
|
+
return ret;
|
|
919
|
+
}, arguments); },
|
|
920
|
+
__wbg_call_f2ac1622600b957f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
921
921
|
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
922
922
|
return ret;
|
|
923
923
|
}, arguments); },
|
|
@@ -925,34 +925,34 @@ function __wbg_get_imports() {
|
|
|
925
925
|
const ret = clearTimeout(arg0);
|
|
926
926
|
return ret;
|
|
927
927
|
},
|
|
928
|
-
|
|
928
|
+
__wbg_contains_04f0b15b3b6b3f6f: function(arg0, arg1, arg2) {
|
|
929
929
|
const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
|
|
930
930
|
return ret;
|
|
931
931
|
},
|
|
932
|
-
|
|
932
|
+
__wbg_createObjectStore_11c03f9eac3c3672: function() { return handleError(function (arg0, arg1, arg2) {
|
|
933
933
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2));
|
|
934
934
|
return ret;
|
|
935
935
|
}, arguments); },
|
|
936
|
-
|
|
936
|
+
__wbg_debug_50e24f25b064ded1: function(arg0) {
|
|
937
937
|
console.debug(arg0);
|
|
938
938
|
},
|
|
939
|
-
|
|
939
|
+
__wbg_delete_fc24bd7dfa57938e: function() { return handleError(function (arg0, arg1) {
|
|
940
940
|
const ret = arg0.delete(arg1);
|
|
941
941
|
return ret;
|
|
942
942
|
}, arguments); },
|
|
943
|
-
|
|
943
|
+
__wbg_done_547d467e97529006: function(arg0) {
|
|
944
944
|
const ret = arg0.done;
|
|
945
945
|
return ret;
|
|
946
946
|
},
|
|
947
|
-
|
|
948
|
-
const ret =
|
|
947
|
+
__wbg_entries_616b1a459b85be0b: function(arg0) {
|
|
948
|
+
const ret = Object.entries(arg0);
|
|
949
949
|
return ret;
|
|
950
950
|
},
|
|
951
|
-
|
|
952
|
-
const ret =
|
|
951
|
+
__wbg_entries_69f235654ec4ccc6: function(arg0) {
|
|
952
|
+
const ret = arg0.entries();
|
|
953
953
|
return ret;
|
|
954
954
|
},
|
|
955
|
-
|
|
955
|
+
__wbg_error_38bec0a78dd8ded8: function(arg0) {
|
|
956
956
|
console.error(arg0);
|
|
957
957
|
},
|
|
958
958
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
@@ -966,38 +966,38 @@ function __wbg_get_imports() {
|
|
|
966
966
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
967
967
|
}
|
|
968
968
|
},
|
|
969
|
-
|
|
970
|
-
const ret = fetch(
|
|
969
|
+
__wbg_fetch_0e70fe3bd20ee8c4: function(arg0, arg1) {
|
|
970
|
+
const ret = arg0.fetch(arg1);
|
|
971
971
|
return ret;
|
|
972
972
|
},
|
|
973
|
-
|
|
973
|
+
__wbg_fetch_1a731e18c5e21884: function(arg0, arg1) {
|
|
974
974
|
const ret = arg0.fetch(arg1);
|
|
975
975
|
return ret;
|
|
976
976
|
},
|
|
977
|
-
|
|
978
|
-
const ret =
|
|
977
|
+
__wbg_fetch_43b2f110608a59ff: function(arg0) {
|
|
978
|
+
const ret = fetch(arg0);
|
|
979
979
|
return ret;
|
|
980
980
|
},
|
|
981
981
|
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
982
982
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
983
983
|
}, arguments); },
|
|
984
|
-
|
|
985
|
-
const ret =
|
|
984
|
+
__wbg_get_4848e350b40afc16: function(arg0, arg1) {
|
|
985
|
+
const ret = arg0[arg1 >>> 0];
|
|
986
|
+
return ret;
|
|
987
|
+
},
|
|
988
|
+
__wbg_get_560cb483e5c0133e: function() { return handleError(function (arg0, arg1) {
|
|
989
|
+
const ret = arg0.get(arg1);
|
|
986
990
|
return ret;
|
|
987
991
|
}, arguments); },
|
|
988
|
-
|
|
992
|
+
__wbg_get_ed0642c4b9d31ddf: function() { return handleError(function (arg0, arg1) {
|
|
989
993
|
const ret = Reflect.get(arg0, arg1);
|
|
990
994
|
return ret;
|
|
991
995
|
}, arguments); },
|
|
992
|
-
|
|
993
|
-
const ret =
|
|
996
|
+
__wbg_get_f96702c6245e4ef9: function() { return handleError(function (arg0, arg1) {
|
|
997
|
+
const ret = Reflect.get(arg0, arg1);
|
|
994
998
|
return ret;
|
|
995
999
|
}, arguments); },
|
|
996
|
-
|
|
997
|
-
const ret = arg0[arg1 >>> 0];
|
|
998
|
-
return ret;
|
|
999
|
-
},
|
|
1000
|
-
__wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
|
|
1000
|
+
__wbg_get_unchecked_7d7babe32e9e6a54: function(arg0, arg1) {
|
|
1001
1001
|
const ret = arg0[arg1 >>> 0];
|
|
1002
1002
|
return ret;
|
|
1003
1003
|
},
|
|
@@ -1005,22 +1005,22 @@ function __wbg_get_imports() {
|
|
|
1005
1005
|
const ret = arg0[arg1];
|
|
1006
1006
|
return ret;
|
|
1007
1007
|
},
|
|
1008
|
-
|
|
1008
|
+
__wbg_has_3ec5c22db2e5237a: function() { return handleError(function (arg0, arg1) {
|
|
1009
1009
|
const ret = Reflect.has(arg0, arg1);
|
|
1010
1010
|
return ret;
|
|
1011
1011
|
}, arguments); },
|
|
1012
|
-
|
|
1012
|
+
__wbg_headers_e08dcb5aa09b9a63: function(arg0) {
|
|
1013
1013
|
const ret = arg0.headers;
|
|
1014
1014
|
return ret;
|
|
1015
1015
|
},
|
|
1016
|
-
|
|
1016
|
+
__wbg_indexedDB_af74cb6df65fa636: function() { return handleError(function (arg0) {
|
|
1017
1017
|
const ret = arg0.indexedDB;
|
|
1018
1018
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1019
1019
|
}, arguments); },
|
|
1020
|
-
|
|
1020
|
+
__wbg_info_4e3339024d0fb613: function(arg0) {
|
|
1021
1021
|
console.info(arg0);
|
|
1022
1022
|
},
|
|
1023
|
-
|
|
1023
|
+
__wbg_instanceof_ArrayBuffer_ff7c1337a5e3b33a: function(arg0) {
|
|
1024
1024
|
let result;
|
|
1025
1025
|
try {
|
|
1026
1026
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1030,7 +1030,7 @@ function __wbg_get_imports() {
|
|
|
1030
1030
|
const ret = result;
|
|
1031
1031
|
return ret;
|
|
1032
1032
|
},
|
|
1033
|
-
|
|
1033
|
+
__wbg_instanceof_IdbDatabase_0af111edb4be95f4: function(arg0) {
|
|
1034
1034
|
let result;
|
|
1035
1035
|
try {
|
|
1036
1036
|
result = arg0 instanceof IDBDatabase;
|
|
@@ -1040,7 +1040,7 @@ function __wbg_get_imports() {
|
|
|
1040
1040
|
const ret = result;
|
|
1041
1041
|
return ret;
|
|
1042
1042
|
},
|
|
1043
|
-
|
|
1043
|
+
__wbg_instanceof_IdbOpenDbRequest_92df356941adf31e: function(arg0) {
|
|
1044
1044
|
let result;
|
|
1045
1045
|
try {
|
|
1046
1046
|
result = arg0 instanceof IDBOpenDBRequest;
|
|
@@ -1050,7 +1050,7 @@ function __wbg_get_imports() {
|
|
|
1050
1050
|
const ret = result;
|
|
1051
1051
|
return ret;
|
|
1052
1052
|
},
|
|
1053
|
-
|
|
1053
|
+
__wbg_instanceof_IdbRequest_fc5918c726448f04: function(arg0) {
|
|
1054
1054
|
let result;
|
|
1055
1055
|
try {
|
|
1056
1056
|
result = arg0 instanceof IDBRequest;
|
|
@@ -1060,7 +1060,7 @@ function __wbg_get_imports() {
|
|
|
1060
1060
|
const ret = result;
|
|
1061
1061
|
return ret;
|
|
1062
1062
|
},
|
|
1063
|
-
|
|
1063
|
+
__wbg_instanceof_Map_a10a2795ef4bfe97: function(arg0) {
|
|
1064
1064
|
let result;
|
|
1065
1065
|
try {
|
|
1066
1066
|
result = arg0 instanceof Map;
|
|
@@ -1070,7 +1070,7 @@ function __wbg_get_imports() {
|
|
|
1070
1070
|
const ret = result;
|
|
1071
1071
|
return ret;
|
|
1072
1072
|
},
|
|
1073
|
-
|
|
1073
|
+
__wbg_instanceof_Response_06795eab66cc4036: function(arg0) {
|
|
1074
1074
|
let result;
|
|
1075
1075
|
try {
|
|
1076
1076
|
result = arg0 instanceof Response;
|
|
@@ -1080,7 +1080,7 @@ function __wbg_get_imports() {
|
|
|
1080
1080
|
const ret = result;
|
|
1081
1081
|
return ret;
|
|
1082
1082
|
},
|
|
1083
|
-
|
|
1083
|
+
__wbg_instanceof_Uint8Array_4b8da683deb25d72: function(arg0) {
|
|
1084
1084
|
let result;
|
|
1085
1085
|
try {
|
|
1086
1086
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1090,7 +1090,7 @@ function __wbg_get_imports() {
|
|
|
1090
1090
|
const ret = result;
|
|
1091
1091
|
return ret;
|
|
1092
1092
|
},
|
|
1093
|
-
|
|
1093
|
+
__wbg_instanceof_Window_c0fee4c064502536: function(arg0) {
|
|
1094
1094
|
let result;
|
|
1095
1095
|
try {
|
|
1096
1096
|
result = arg0 instanceof Window;
|
|
@@ -1100,23 +1100,23 @@ function __wbg_get_imports() {
|
|
|
1100
1100
|
const ret = result;
|
|
1101
1101
|
return ret;
|
|
1102
1102
|
},
|
|
1103
|
-
|
|
1103
|
+
__wbg_isArray_db61795ad004c139: function(arg0) {
|
|
1104
1104
|
const ret = Array.isArray(arg0);
|
|
1105
1105
|
return ret;
|
|
1106
1106
|
},
|
|
1107
|
-
|
|
1107
|
+
__wbg_isSafeInteger_ea83862ba994770c: function(arg0) {
|
|
1108
1108
|
const ret = Number.isSafeInteger(arg0);
|
|
1109
1109
|
return ret;
|
|
1110
1110
|
},
|
|
1111
|
-
|
|
1111
|
+
__wbg_iterator_de403ef31815a3e6: function() {
|
|
1112
1112
|
const ret = Symbol.iterator;
|
|
1113
1113
|
return ret;
|
|
1114
1114
|
},
|
|
1115
|
-
|
|
1115
|
+
__wbg_length_0c32cb8543c8e4c8: function(arg0) {
|
|
1116
1116
|
const ret = arg0.length;
|
|
1117
1117
|
return ret;
|
|
1118
1118
|
},
|
|
1119
|
-
|
|
1119
|
+
__wbg_length_6e821edde497a532: function(arg0) {
|
|
1120
1120
|
const ret = arg0.length;
|
|
1121
1121
|
return ret;
|
|
1122
1122
|
},
|
|
@@ -1124,49 +1124,49 @@ function __wbg_get_imports() {
|
|
|
1124
1124
|
const ret = LocalIndex.__wrap(arg0);
|
|
1125
1125
|
return ret;
|
|
1126
1126
|
},
|
|
1127
|
-
|
|
1127
|
+
__wbg_log_4c0baeb8af2f8f89: function(arg0) {
|
|
1128
1128
|
console.log(arg0);
|
|
1129
1129
|
},
|
|
1130
|
-
|
|
1130
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
1131
|
+
const ret = new Error();
|
|
1132
|
+
return ret;
|
|
1133
|
+
},
|
|
1134
|
+
__wbg_new_3a112826a89cb962: function() { return handleError(function () {
|
|
1131
1135
|
const ret = new Headers();
|
|
1132
1136
|
return ret;
|
|
1133
1137
|
}, arguments); },
|
|
1134
|
-
|
|
1135
|
-
const ret = new
|
|
1138
|
+
__wbg_new_4f9fafbb3909af72: function() {
|
|
1139
|
+
const ret = new Object();
|
|
1136
1140
|
return ret;
|
|
1137
1141
|
},
|
|
1138
|
-
|
|
1142
|
+
__wbg_new_99cabae501c0a8a0: function() {
|
|
1139
1143
|
const ret = new Map();
|
|
1140
1144
|
return ret;
|
|
1141
1145
|
},
|
|
1142
|
-
|
|
1146
|
+
__wbg_new_9abbf7148481485e: function() { return handleError(function () {
|
|
1147
|
+
const ret = new AbortController();
|
|
1148
|
+
return ret;
|
|
1149
|
+
}, arguments); },
|
|
1150
|
+
__wbg_new_a560378ea1240b14: function(arg0) {
|
|
1143
1151
|
const ret = new Uint8Array(arg0);
|
|
1144
1152
|
return ret;
|
|
1145
1153
|
},
|
|
1146
|
-
|
|
1154
|
+
__wbg_new_f3c9df4f38f3f798: function() {
|
|
1147
1155
|
const ret = new Array();
|
|
1148
1156
|
return ret;
|
|
1149
1157
|
},
|
|
1150
|
-
|
|
1151
|
-
const ret = new Object();
|
|
1152
|
-
return ret;
|
|
1153
|
-
},
|
|
1154
|
-
__wbg_new_c518c60af666645b: function() { return handleError(function () {
|
|
1155
|
-
const ret = new AbortController();
|
|
1156
|
-
return ret;
|
|
1157
|
-
}, arguments); },
|
|
1158
|
-
__wbg_new_from_slice_22da9388ac046e50: function(arg0, arg1) {
|
|
1158
|
+
__wbg_new_from_slice_2580ff33d0d10520: function(arg0, arg1) {
|
|
1159
1159
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1160
1160
|
return ret;
|
|
1161
1161
|
},
|
|
1162
|
-
|
|
1162
|
+
__wbg_new_typed_14d7cc391ce53d2c: function(arg0, arg1) {
|
|
1163
1163
|
try {
|
|
1164
1164
|
var state0 = {a: arg0, b: arg1};
|
|
1165
1165
|
var cb0 = (arg0, arg1) => {
|
|
1166
1166
|
const a = state0.a;
|
|
1167
1167
|
state0.a = 0;
|
|
1168
1168
|
try {
|
|
1169
|
-
return
|
|
1169
|
+
return wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1170
1170
|
} finally {
|
|
1171
1171
|
state0.a = a;
|
|
1172
1172
|
}
|
|
@@ -1174,64 +1174,64 @@ function __wbg_get_imports() {
|
|
|
1174
1174
|
const ret = new Promise(cb0);
|
|
1175
1175
|
return ret;
|
|
1176
1176
|
} finally {
|
|
1177
|
-
state0.a =
|
|
1177
|
+
state0.a = 0;
|
|
1178
1178
|
}
|
|
1179
1179
|
},
|
|
1180
|
-
|
|
1180
|
+
__wbg_new_with_str_and_init_f663b6d334baa878: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1181
1181
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1182
1182
|
return ret;
|
|
1183
1183
|
}, arguments); },
|
|
1184
|
-
|
|
1185
|
-
const ret = arg0.next();
|
|
1186
|
-
return ret;
|
|
1187
|
-
}, arguments); },
|
|
1188
|
-
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
1184
|
+
__wbg_next_01132ed6134b8ef5: function(arg0) {
|
|
1189
1185
|
const ret = arg0.next;
|
|
1190
1186
|
return ret;
|
|
1191
1187
|
},
|
|
1192
|
-
|
|
1188
|
+
__wbg_next_b3713ec761a9dbfd: function() { return handleError(function (arg0) {
|
|
1189
|
+
const ret = arg0.next();
|
|
1190
|
+
return ret;
|
|
1191
|
+
}, arguments); },
|
|
1192
|
+
__wbg_now_2c44418ca0623664: function(arg0) {
|
|
1193
1193
|
const ret = arg0.now();
|
|
1194
1194
|
return ret;
|
|
1195
1195
|
},
|
|
1196
|
-
|
|
1196
|
+
__wbg_objectStoreNames_990d8e55c661828b: function(arg0) {
|
|
1197
1197
|
const ret = arg0.objectStoreNames;
|
|
1198
1198
|
return ret;
|
|
1199
1199
|
},
|
|
1200
|
-
|
|
1200
|
+
__wbg_objectStore_3d4cade4416cd432: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1201
1201
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
1202
1202
|
return ret;
|
|
1203
1203
|
}, arguments); },
|
|
1204
|
-
|
|
1204
|
+
__wbg_ok_36f7b13b74596c24: function(arg0) {
|
|
1205
1205
|
const ret = arg0.ok;
|
|
1206
1206
|
return ret;
|
|
1207
1207
|
},
|
|
1208
|
-
|
|
1208
|
+
__wbg_open_ac04ec9d75d0eeaf: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1209
1209
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
1210
1210
|
return ret;
|
|
1211
1211
|
}, arguments); },
|
|
1212
|
-
|
|
1212
|
+
__wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
|
|
1213
1213
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1214
1214
|
},
|
|
1215
|
-
|
|
1215
|
+
__wbg_push_6bdbc990be5ac37b: function(arg0, arg1) {
|
|
1216
1216
|
const ret = arg0.push(arg1);
|
|
1217
1217
|
return ret;
|
|
1218
1218
|
},
|
|
1219
|
-
|
|
1219
|
+
__wbg_put_4485a4012273f7ef: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1220
1220
|
const ret = arg0.put(arg1, arg2);
|
|
1221
1221
|
return ret;
|
|
1222
1222
|
}, arguments); },
|
|
1223
|
-
|
|
1223
|
+
__wbg_queueMicrotask_abaf92f0bd4e80a4: function(arg0) {
|
|
1224
1224
|
const ret = arg0.queueMicrotask;
|
|
1225
1225
|
return ret;
|
|
1226
1226
|
},
|
|
1227
|
-
|
|
1227
|
+
__wbg_queueMicrotask_df5a6dac26d818f3: function(arg0) {
|
|
1228
1228
|
queueMicrotask(arg0);
|
|
1229
1229
|
},
|
|
1230
|
-
|
|
1230
|
+
__wbg_resolve_0a79de24e9d2267b: function(arg0) {
|
|
1231
1231
|
const ret = Promise.resolve(arg0);
|
|
1232
1232
|
return ret;
|
|
1233
1233
|
},
|
|
1234
|
-
|
|
1234
|
+
__wbg_result_452c1006fc727317: function() { return handleError(function (arg0) {
|
|
1235
1235
|
const ret = arg0.result;
|
|
1236
1236
|
return ret;
|
|
1237
1237
|
}, arguments); },
|
|
@@ -1239,50 +1239,50 @@ function __wbg_get_imports() {
|
|
|
1239
1239
|
const ret = setTimeout(arg0, arg1);
|
|
1240
1240
|
return ret;
|
|
1241
1241
|
},
|
|
1242
|
-
|
|
1243
|
-
|
|
1242
|
+
__wbg_set_08463b1df38a7e29: function(arg0, arg1, arg2) {
|
|
1243
|
+
const ret = arg0.set(arg1, arg2);
|
|
1244
|
+
return ret;
|
|
1244
1245
|
},
|
|
1245
1246
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1246
1247
|
arg0[arg1] = arg2;
|
|
1247
1248
|
},
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
return ret;
|
|
1249
|
+
__wbg_set_6c60b2e8ad0e9383: function(arg0, arg1, arg2) {
|
|
1250
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1251
1251
|
},
|
|
1252
|
-
|
|
1252
|
+
__wbg_set_body_a304d09cb50cefbe: function(arg0, arg1) {
|
|
1253
1253
|
arg0.body = arg1;
|
|
1254
1254
|
},
|
|
1255
|
-
|
|
1255
|
+
__wbg_set_cache_cc687e2b96e9608c: function(arg0, arg1) {
|
|
1256
1256
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1257
1257
|
},
|
|
1258
|
-
|
|
1258
|
+
__wbg_set_credentials_7693e63055f5e838: function(arg0, arg1) {
|
|
1259
1259
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1260
1260
|
},
|
|
1261
|
-
|
|
1261
|
+
__wbg_set_headers_6ab1105e542834e2: function(arg0, arg1) {
|
|
1262
1262
|
arg0.headers = arg1;
|
|
1263
1263
|
},
|
|
1264
|
-
|
|
1264
|
+
__wbg_set_method_1971272fe557e972: function(arg0, arg1, arg2) {
|
|
1265
1265
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1266
1266
|
},
|
|
1267
|
-
|
|
1267
|
+
__wbg_set_mode_d1b643087602281a: function(arg0, arg1) {
|
|
1268
1268
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1269
1269
|
},
|
|
1270
|
-
|
|
1270
|
+
__wbg_set_oncomplete_20fb27150b4ee0d4: function(arg0, arg1) {
|
|
1271
1271
|
arg0.oncomplete = arg1;
|
|
1272
1272
|
},
|
|
1273
|
-
|
|
1273
|
+
__wbg_set_onerror_2b7dfa4e6dea4159: function(arg0, arg1) {
|
|
1274
1274
|
arg0.onerror = arg1;
|
|
1275
1275
|
},
|
|
1276
|
-
|
|
1276
|
+
__wbg_set_onsuccess_f7e5b5cbed5008b1: function(arg0, arg1) {
|
|
1277
1277
|
arg0.onsuccess = arg1;
|
|
1278
1278
|
},
|
|
1279
|
-
|
|
1279
|
+
__wbg_set_onupgradeneeded_d7e8e03a1999bf5d: function(arg0, arg1) {
|
|
1280
1280
|
arg0.onupgradeneeded = arg1;
|
|
1281
1281
|
},
|
|
1282
|
-
|
|
1282
|
+
__wbg_set_signal_8564a226c5c6853c: function(arg0, arg1) {
|
|
1283
1283
|
arg0.signal = arg1;
|
|
1284
1284
|
},
|
|
1285
|
-
|
|
1285
|
+
__wbg_signal_9172c3282bfba2f5: function(arg0) {
|
|
1286
1286
|
const ret = arg0.signal;
|
|
1287
1287
|
return ret;
|
|
1288
1288
|
},
|
|
@@ -1293,78 +1293,78 @@ function __wbg_get_imports() {
|
|
|
1293
1293
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1294
1294
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1295
1295
|
},
|
|
1296
|
-
|
|
1297
|
-
const ret = typeof
|
|
1296
|
+
__wbg_static_accessor_GLOBAL_THIS_a1248013d790bf5f: function() {
|
|
1297
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1298
1298
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1299
1299
|
},
|
|
1300
|
-
|
|
1301
|
-
const ret = typeof
|
|
1300
|
+
__wbg_static_accessor_GLOBAL_f2e0f995a21329ff: function() {
|
|
1301
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1302
1302
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1303
1303
|
},
|
|
1304
|
-
|
|
1304
|
+
__wbg_static_accessor_SELF_24f78b6d23f286ea: function() {
|
|
1305
1305
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1306
1306
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1307
1307
|
},
|
|
1308
|
-
|
|
1308
|
+
__wbg_static_accessor_WINDOW_59fd959c540fe405: function() {
|
|
1309
1309
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1310
1310
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1311
1311
|
},
|
|
1312
|
-
|
|
1312
|
+
__wbg_status_44ecb0ac1da253f4: function(arg0) {
|
|
1313
1313
|
const ret = arg0.status;
|
|
1314
1314
|
return ret;
|
|
1315
1315
|
},
|
|
1316
|
-
|
|
1316
|
+
__wbg_target_732d56b173b7e87c: function(arg0) {
|
|
1317
1317
|
const ret = arg0.target;
|
|
1318
1318
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1319
1319
|
},
|
|
1320
|
-
|
|
1321
|
-
const ret = arg0.then(arg1);
|
|
1320
|
+
__wbg_then_00eed3ac0b8e82cb: function(arg0, arg1, arg2) {
|
|
1321
|
+
const ret = arg0.then(arg1, arg2);
|
|
1322
1322
|
return ret;
|
|
1323
1323
|
},
|
|
1324
|
-
|
|
1325
|
-
const ret = arg0.then(arg1
|
|
1324
|
+
__wbg_then_a0c8db0381c8994c: function(arg0, arg1) {
|
|
1325
|
+
const ret = arg0.then(arg1);
|
|
1326
1326
|
return ret;
|
|
1327
1327
|
},
|
|
1328
|
-
|
|
1329
|
-
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2)
|
|
1328
|
+
__wbg_transaction_16a3adcdaf3724fd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1329
|
+
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2));
|
|
1330
1330
|
return ret;
|
|
1331
1331
|
}, arguments); },
|
|
1332
|
-
|
|
1333
|
-
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2));
|
|
1332
|
+
__wbg_transaction_f909284bfed41115: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1333
|
+
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
|
|
1334
1334
|
return ret;
|
|
1335
1335
|
}, arguments); },
|
|
1336
|
-
|
|
1336
|
+
__wbg_url_95d8a83d33709572: function(arg0, arg1) {
|
|
1337
1337
|
const ret = arg1.url;
|
|
1338
1338
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1339
1339
|
const len1 = WASM_VECTOR_LEN;
|
|
1340
1340
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1341
1341
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1342
1342
|
},
|
|
1343
|
-
|
|
1343
|
+
__wbg_value_7f6052747ccf940f: function(arg0) {
|
|
1344
1344
|
const ret = arg0.value;
|
|
1345
1345
|
return ret;
|
|
1346
1346
|
},
|
|
1347
|
-
|
|
1347
|
+
__wbg_warn_2b0a27f629a4bb1e: function(arg0) {
|
|
1348
1348
|
console.warn(arg0);
|
|
1349
1349
|
},
|
|
1350
1350
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1351
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1352
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1351
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1666, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1352
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___wasm_bindgen_7e519ff5bc59ba8e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7e519ff5bc59ba8e___JsError___true_);
|
|
1353
1353
|
return ret;
|
|
1354
1354
|
},
|
|
1355
1355
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1356
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1357
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1356
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 227, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1357
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_);
|
|
1358
1358
|
return ret;
|
|
1359
1359
|
},
|
|
1360
1360
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1361
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1362
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1361
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 227, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1362
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__2);
|
|
1363
1363
|
return ret;
|
|
1364
1364
|
},
|
|
1365
1365
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1366
|
-
// Cast intrinsic for `Closure(Closure {
|
|
1367
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1366
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 818, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1367
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke_______true_);
|
|
1368
1368
|
return ret;
|
|
1369
1369
|
},
|
|
1370
1370
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -1403,27 +1403,27 @@ function __wbg_get_imports() {
|
|
|
1403
1403
|
};
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
|
-
function
|
|
1407
|
-
wasm.
|
|
1406
|
+
function wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1407
|
+
wasm.wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
|
-
function
|
|
1411
|
-
wasm.
|
|
1410
|
+
function wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2) {
|
|
1411
|
+
wasm.wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2);
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
|
-
function
|
|
1415
|
-
wasm.
|
|
1414
|
+
function wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__2(arg0, arg1, arg2) {
|
|
1415
|
+
wasm.wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___web_sys_653f9c5ad68810ef___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__2(arg0, arg1, arg2);
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
1418
|
-
function
|
|
1419
|
-
const ret = wasm.
|
|
1418
|
+
function wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___wasm_bindgen_7e519ff5bc59ba8e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7e519ff5bc59ba8e___JsError___true_(arg0, arg1, arg2) {
|
|
1419
|
+
const ret = wasm.wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___wasm_bindgen_7e519ff5bc59ba8e___JsValue__core_5858575f5ab61d4b___result__Result_____wasm_bindgen_7e519ff5bc59ba8e___JsError___true_(arg0, arg1, arg2);
|
|
1420
1420
|
if (ret[1]) {
|
|
1421
1421
|
throw takeFromExternrefTable0(ret[0]);
|
|
1422
1422
|
}
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
|
-
function
|
|
1426
|
-
wasm.
|
|
1425
|
+
function wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
1426
|
+
wasm.wasm_bindgen_7e519ff5bc59ba8e___convert__closures_____invoke___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined___js_sys_f1382650b4d99aec___Function_fn_wasm_bindgen_7e519ff5bc59ba8e___JsValue_____wasm_bindgen_7e519ff5bc59ba8e___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
1429
|
|
|
@@ -1458,7 +1458,7 @@ function addToExternrefTable0(obj) {
|
|
|
1458
1458
|
|
|
1459
1459
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
1460
1460
|
? { register: () => {}, unregister: () => {} }
|
|
1461
|
-
: new FinalizationRegistry(state =>
|
|
1461
|
+
: new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
|
|
1462
1462
|
|
|
1463
1463
|
function debugString(val) {
|
|
1464
1464
|
// primitive types
|
|
@@ -1564,8 +1564,8 @@ function isLikeNone(x) {
|
|
|
1564
1564
|
return x === undefined || x === null;
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
|
-
function makeMutClosure(arg0, arg1,
|
|
1568
|
-
const state = { a: arg0, b: arg1, cnt: 1
|
|
1567
|
+
function makeMutClosure(arg0, arg1, f) {
|
|
1568
|
+
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
1569
1569
|
const real = (...args) => {
|
|
1570
1570
|
|
|
1571
1571
|
// First up with a closure we increment the internal reference
|
|
@@ -1583,7 +1583,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
1583
1583
|
};
|
|
1584
1584
|
real._wbg_cb_unref = () => {
|
|
1585
1585
|
if (--state.cnt === 0) {
|
|
1586
|
-
|
|
1586
|
+
wasm.__wbindgen_destroy_closure(state.a, state.b);
|
|
1587
1587
|
state.a = 0;
|
|
1588
1588
|
CLOSURE_DTORS.unregister(state);
|
|
1589
1589
|
}
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|