hermes-wasm 1.4.42 → 1.4.44
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 +6 -6
- package/hermes_wasm.js +4 -4
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/hermes_wasm.d.ts
CHANGED
|
@@ -246,12 +246,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
246
246
|
|
|
247
247
|
export interface InitOutput {
|
|
248
248
|
readonly memory: WebAssembly.Memory;
|
|
249
|
-
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
250
|
-
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
251
|
-
readonly indexregistry_list: (a: number) => any;
|
|
252
|
-
readonly indexregistry_new: () => number;
|
|
253
|
-
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
254
|
-
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
255
249
|
readonly init: () => void;
|
|
256
250
|
readonly setup_logging: () => void;
|
|
257
251
|
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
@@ -274,7 +268,13 @@ export interface InitOutput {
|
|
|
274
268
|
readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
275
269
|
readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
276
270
|
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
271
|
+
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
277
272
|
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
273
|
+
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
274
|
+
readonly indexregistry_list: (a: number) => any;
|
|
275
|
+
readonly indexregistry_new: () => number;
|
|
276
|
+
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
277
|
+
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
278
278
|
readonly ipfsindex_cache_stats: (a: number) => any;
|
|
279
279
|
readonly ipfsindex_clear_idb_cache: (a: number) => any;
|
|
280
280
|
readonly ipfsindex_default_fields: (a: number) => any;
|
package/hermes_wasm.js
CHANGED
|
@@ -983,22 +983,22 @@ function __wbg_get_imports() {
|
|
|
983
983
|
console.warn(arg0);
|
|
984
984
|
},
|
|
985
985
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
986
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
986
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 154, function: Function { arguments: [NamedExternref("Event")], shim_idx: 155, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
987
987
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6e3b05e36f1a67e___closure__destroy___dyn_core_6d961589691b2eac___ops__function__FnMut__web_sys_4c9ac93ca7685354___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_6e3b05e36f1a67e___convert__closures_____invoke___web_sys_4c9ac93ca7685354___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____);
|
|
988
988
|
return ret;
|
|
989
989
|
},
|
|
990
990
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
991
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
991
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 154, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 155, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
992
992
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6e3b05e36f1a67e___closure__destroy___dyn_core_6d961589691b2eac___ops__function__FnMut__web_sys_4c9ac93ca7685354___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_6e3b05e36f1a67e___convert__closures_____invoke___web_sys_4c9ac93ca7685354___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent_____);
|
|
993
993
|
return ret;
|
|
994
994
|
},
|
|
995
995
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
996
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
996
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 445, function: Function { arguments: [], shim_idx: 446, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
997
997
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6e3b05e36f1a67e___closure__destroy___dyn_core_6d961589691b2eac___ops__function__FnMut_____Output_______, wasm_bindgen_6e3b05e36f1a67e___convert__closures_____invoke______);
|
|
998
998
|
return ret;
|
|
999
999
|
},
|
|
1000
1000
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1001
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1001
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 482, function: Function { arguments: [Externref], shim_idx: 483, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1002
1002
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6e3b05e36f1a67e___closure__destroy___dyn_core_6d961589691b2eac___ops__function__FnMut__wasm_bindgen_6e3b05e36f1a67e___JsValue____Output_______, wasm_bindgen_6e3b05e36f1a67e___convert__closures_____invoke___wasm_bindgen_6e3b05e36f1a67e___JsValue_____);
|
|
1003
1003
|
return ret;
|
|
1004
1004
|
},
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|