hermes-wasm 0.4.10 → 0.4.12
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 +8 -8
- package/hermes_wasm.js +8 -8
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/hermes_wasm.d.ts
CHANGED
|
@@ -229,6 +229,12 @@ export interface InitOutput {
|
|
|
229
229
|
readonly ipfsindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
230
230
|
readonly init: () => void;
|
|
231
231
|
readonly setup_logging: () => void;
|
|
232
|
+
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
233
|
+
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
234
|
+
readonly indexregistry_list: (a: number) => any;
|
|
235
|
+
readonly indexregistry_new: () => number;
|
|
236
|
+
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
237
|
+
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
232
238
|
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
233
239
|
readonly remoteindex_cache_stats: (a: number) => any;
|
|
234
240
|
readonly remoteindex_clear_idb_cache: (a: number) => any;
|
|
@@ -247,12 +253,6 @@ export interface InitOutput {
|
|
|
247
253
|
readonly remoteindex_save_cache_to_idb: (a: number) => any;
|
|
248
254
|
readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
249
255
|
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
250
|
-
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
251
|
-
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
252
|
-
readonly indexregistry_list: (a: number) => any;
|
|
253
|
-
readonly indexregistry_new: () => number;
|
|
254
|
-
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
255
|
-
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
256
256
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
257
257
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
258
258
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
@@ -261,11 +261,11 @@ 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
|
|
264
|
+
readonly wasm_bindgen__closure__destroy__h2ec44fd23ebe087e: (a: number, b: number) => void;
|
|
265
265
|
readonly wasm_bindgen__closure__destroy__h1350f7c666e1bbd4: (a: number, b: number) => void;
|
|
266
266
|
readonly wasm_bindgen__closure__destroy__h5abbeebb46a4841f: (a: number, b: number) => void;
|
|
267
267
|
readonly wasm_bindgen__convert__closures_____invoke__hb9974b33ecb02c45: (a: number, b: number, c: any, d: any) => void;
|
|
268
|
-
readonly
|
|
268
|
+
readonly wasm_bindgen__convert__closures_____invoke__h109c784a30bb1fba: (a: number, b: number, c: any) => void;
|
|
269
269
|
readonly wasm_bindgen__convert__closures_____invoke__h92271f2d5d02a5fa: (a: number, b: number, c: any) => void;
|
|
270
270
|
readonly wasm_bindgen__convert__closures_____invoke__h12264eefbd788797: (a: number, b: number) => void;
|
|
271
271
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
package/hermes_wasm.js
CHANGED
|
@@ -915,22 +915,22 @@ 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: 135, function: Function { arguments: [NamedExternref("Event")], shim_idx: 136, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
919
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2ec44fd23ebe087e, wasm_bindgen__convert__closures_____invoke__h109c784a30bb1fba);
|
|
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: 135, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 136, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
924
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2ec44fd23ebe087e, wasm_bindgen__convert__closures_____invoke__h109c784a30bb1fba);
|
|
925
925
|
return ret;
|
|
926
926
|
},
|
|
927
927
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
928
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
928
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 348, function: Function { arguments: [], shim_idx: 349, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
929
929
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1350f7c666e1bbd4, wasm_bindgen__convert__closures_____invoke__h12264eefbd788797);
|
|
930
930
|
return ret;
|
|
931
931
|
},
|
|
932
932
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
933
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
933
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 366, function: Function { arguments: [Externref], shim_idx: 367, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
934
934
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5abbeebb46a4841f, wasm_bindgen__convert__closures_____invoke__h92271f2d5d02a5fa);
|
|
935
935
|
return ret;
|
|
936
936
|
},
|
|
@@ -974,8 +974,8 @@ function wasm_bindgen__convert__closures_____invoke__h12264eefbd788797(arg0, arg
|
|
|
974
974
|
wasm.wasm_bindgen__convert__closures_____invoke__h12264eefbd788797(arg0, arg1);
|
|
975
975
|
}
|
|
976
976
|
|
|
977
|
-
function
|
|
978
|
-
wasm.
|
|
977
|
+
function wasm_bindgen__convert__closures_____invoke__h109c784a30bb1fba(arg0, arg1, arg2) {
|
|
978
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h109c784a30bb1fba(arg0, arg1, arg2);
|
|
979
979
|
}
|
|
980
980
|
|
|
981
981
|
function wasm_bindgen__convert__closures_____invoke__h92271f2d5d02a5fa(arg0, arg1, arg2) {
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|