hermes-wasm 0.4.17 → 1.0.0
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 +13 -13
- package/hermes_wasm.js +17 -17
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/hermes_wasm.d.ts
CHANGED
|
@@ -227,7 +227,13 @@ export interface InitOutput {
|
|
|
227
227
|
readonly ipfsindex_save_cache_to_idb: (a: number) => any;
|
|
228
228
|
readonly ipfsindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
229
229
|
readonly ipfsindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
230
|
+
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
230
231
|
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
232
|
+
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
233
|
+
readonly indexregistry_list: (a: number) => any;
|
|
234
|
+
readonly indexregistry_new: () => number;
|
|
235
|
+
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
236
|
+
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
231
237
|
readonly remoteindex_cache_stats: (a: number) => any;
|
|
232
238
|
readonly remoteindex_clear_idb_cache: (a: number) => any;
|
|
233
239
|
readonly remoteindex_default_fields: (a: number) => any;
|
|
@@ -245,12 +251,6 @@ export interface InitOutput {
|
|
|
245
251
|
readonly remoteindex_save_cache_to_idb: (a: number) => any;
|
|
246
252
|
readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
247
253
|
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
248
|
-
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
249
|
-
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
250
|
-
readonly indexregistry_list: (a: number) => any;
|
|
251
|
-
readonly indexregistry_new: () => number;
|
|
252
|
-
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
253
|
-
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
254
254
|
readonly init: () => void;
|
|
255
255
|
readonly setup_logging: () => void;
|
|
256
256
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
@@ -261,13 +261,13 @@ export interface InitOutput {
|
|
|
261
261
|
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
262
262
|
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
263
263
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
264
|
-
readonly
|
|
265
|
-
readonly
|
|
266
|
-
readonly
|
|
267
|
-
readonly
|
|
268
|
-
readonly
|
|
269
|
-
readonly
|
|
270
|
-
readonly
|
|
264
|
+
readonly wasm_bindgen_741c6fe415f0068f___closure__destroy___dyn_core_4f288bab40639c04___ops__function__FnMut__web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______: (a: number, b: number) => void;
|
|
265
|
+
readonly wasm_bindgen_741c6fe415f0068f___closure__destroy___dyn_core_4f288bab40639c04___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
|
|
266
|
+
readonly wasm_bindgen_741c6fe415f0068f___closure__destroy___dyn_core_4f288bab40639c04___ops__function__FnMut__wasm_bindgen_741c6fe415f0068f___JsValue____Output_______: (a: number, b: number) => void;
|
|
267
|
+
readonly wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue__wasm_bindgen_741c6fe415f0068f___JsValue_____: (a: number, b: number, c: any, d: any) => void;
|
|
268
|
+
readonly wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____: (a: number, b: number, c: any) => void;
|
|
269
|
+
readonly wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue_____: (a: number, b: number, c: any) => void;
|
|
270
|
+
readonly wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke______: (a: number, b: number) => void;
|
|
271
271
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
272
272
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
273
273
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/hermes_wasm.js
CHANGED
|
@@ -713,7 +713,7 @@ function __wbg_get_imports() {
|
|
|
713
713
|
const a = state0.a;
|
|
714
714
|
state0.a = 0;
|
|
715
715
|
try {
|
|
716
|
-
return
|
|
716
|
+
return wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue__wasm_bindgen_741c6fe415f0068f___JsValue_____(a, state0.b, arg0, arg1);
|
|
717
717
|
} finally {
|
|
718
718
|
state0.a = a;
|
|
719
719
|
}
|
|
@@ -915,23 +915,23 @@ function __wbg_get_imports() {
|
|
|
915
915
|
console.warn(arg0);
|
|
916
916
|
},
|
|
917
917
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
918
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
919
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
918
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 121, function: Function { arguments: [NamedExternref("Event")], shim_idx: 122, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
919
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_741c6fe415f0068f___closure__destroy___dyn_core_4f288bab40639c04___ops__function__FnMut__web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____);
|
|
920
920
|
return ret;
|
|
921
921
|
},
|
|
922
922
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
923
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
924
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
923
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 121, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 122, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
924
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_741c6fe415f0068f___closure__destroy___dyn_core_4f288bab40639c04___ops__function__FnMut__web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____);
|
|
925
925
|
return ret;
|
|
926
926
|
},
|
|
927
927
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
928
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
929
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
928
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 384, function: Function { arguments: [], shim_idx: 385, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
929
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_741c6fe415f0068f___closure__destroy___dyn_core_4f288bab40639c04___ops__function__FnMut_____Output_______, wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke______);
|
|
930
930
|
return ret;
|
|
931
931
|
},
|
|
932
932
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
933
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
934
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
933
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 420, function: Function { arguments: [Externref], shim_idx: 421, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
934
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_741c6fe415f0068f___closure__destroy___dyn_core_4f288bab40639c04___ops__function__FnMut__wasm_bindgen_741c6fe415f0068f___JsValue____Output_______, wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue_____);
|
|
935
935
|
return ret;
|
|
936
936
|
},
|
|
937
937
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -970,20 +970,20 @@ function __wbg_get_imports() {
|
|
|
970
970
|
};
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
-
function
|
|
974
|
-
wasm.
|
|
973
|
+
function wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke______(arg0, arg1) {
|
|
974
|
+
wasm.wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke______(arg0, arg1);
|
|
975
975
|
}
|
|
976
976
|
|
|
977
|
-
function
|
|
978
|
-
wasm.
|
|
977
|
+
function wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____(arg0, arg1, arg2) {
|
|
978
|
+
wasm.wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___web_sys_bab4c5665a530a5f___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____(arg0, arg1, arg2);
|
|
979
979
|
}
|
|
980
980
|
|
|
981
|
-
function
|
|
982
|
-
wasm.
|
|
981
|
+
function wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue_____(arg0, arg1, arg2) {
|
|
982
|
+
wasm.wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue_____(arg0, arg1, arg2);
|
|
983
983
|
}
|
|
984
984
|
|
|
985
|
-
function
|
|
986
|
-
wasm.
|
|
985
|
+
function wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue__wasm_bindgen_741c6fe415f0068f___JsValue_____(arg0, arg1, arg2, arg3) {
|
|
986
|
+
wasm.wasm_bindgen_741c6fe415f0068f___convert__closures_____invoke___wasm_bindgen_741c6fe415f0068f___JsValue__wasm_bindgen_741c6fe415f0068f___JsValue_____(arg0, arg1, arg2, arg3);
|
|
987
987
|
}
|
|
988
988
|
|
|
989
989
|
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|