hermes-wasm 1.4.69 → 1.4.71
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 +22 -22
- 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,28 +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_remoteindex_free: (a: number, b: number) => void;
|
|
250
|
-
readonly remoteindex_cache_stats: (a: number) => any;
|
|
251
|
-
readonly remoteindex_clear_idb_cache: (a: number) => any;
|
|
252
|
-
readonly remoteindex_default_fields: (a: number) => any;
|
|
253
|
-
readonly remoteindex_export_cache: (a: number) => [number, number];
|
|
254
|
-
readonly remoteindex_field_names: (a: number) => any;
|
|
255
|
-
readonly remoteindex_get_document: (a: number, b: number, c: number, d: number) => any;
|
|
256
|
-
readonly remoteindex_import_cache: (a: number, b: number, c: number) => [number, number];
|
|
257
|
-
readonly remoteindex_load: (a: number) => any;
|
|
258
|
-
readonly remoteindex_load_cache_from_idb: (a: number) => any;
|
|
259
|
-
readonly remoteindex_load_with_idb_cache: (a: number) => any;
|
|
260
|
-
readonly remoteindex_network_stats: (a: number) => any;
|
|
261
|
-
readonly remoteindex_new: (a: number, b: number) => number;
|
|
262
|
-
readonly remoteindex_num_docs: (a: number) => number;
|
|
263
|
-
readonly remoteindex_num_segments: (a: number) => number;
|
|
264
|
-
readonly remoteindex_reset_network_stats: (a: number) => void;
|
|
265
|
-
readonly remoteindex_save_cache_to_idb: (a: number) => any;
|
|
266
|
-
readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
267
|
-
readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
268
|
-
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
269
|
-
readonly init: () => void;
|
|
270
|
-
readonly setup_logging: () => void;
|
|
271
249
|
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
272
250
|
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
273
251
|
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
@@ -294,6 +272,28 @@ export interface InitOutput {
|
|
|
294
272
|
readonly ipfsindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
295
273
|
readonly ipfsindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
296
274
|
readonly ipfsindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
275
|
+
readonly init: () => void;
|
|
276
|
+
readonly setup_logging: () => void;
|
|
277
|
+
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
278
|
+
readonly remoteindex_cache_stats: (a: number) => any;
|
|
279
|
+
readonly remoteindex_clear_idb_cache: (a: number) => any;
|
|
280
|
+
readonly remoteindex_default_fields: (a: number) => any;
|
|
281
|
+
readonly remoteindex_export_cache: (a: number) => [number, number];
|
|
282
|
+
readonly remoteindex_field_names: (a: number) => any;
|
|
283
|
+
readonly remoteindex_get_document: (a: number, b: number, c: number, d: number) => any;
|
|
284
|
+
readonly remoteindex_import_cache: (a: number, b: number, c: number) => [number, number];
|
|
285
|
+
readonly remoteindex_load: (a: number) => any;
|
|
286
|
+
readonly remoteindex_load_cache_from_idb: (a: number) => any;
|
|
287
|
+
readonly remoteindex_load_with_idb_cache: (a: number) => any;
|
|
288
|
+
readonly remoteindex_network_stats: (a: number) => any;
|
|
289
|
+
readonly remoteindex_new: (a: number, b: number) => number;
|
|
290
|
+
readonly remoteindex_num_docs: (a: number) => number;
|
|
291
|
+
readonly remoteindex_num_segments: (a: number) => number;
|
|
292
|
+
readonly remoteindex_reset_network_stats: (a: number) => void;
|
|
293
|
+
readonly remoteindex_save_cache_to_idb: (a: number) => any;
|
|
294
|
+
readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
295
|
+
readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
296
|
+
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
297
297
|
readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
|
|
298
298
|
readonly rust_zstd_wasm_shim_free: (a: number) => void;
|
|
299
299
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
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: 169, function: Function { arguments: [NamedExternref("Event")], shim_idx: 170, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
987
987
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_d70d789b0a7868be___closure__destroy___dyn_core_af4eb2c136de3322___ops__function__FnMut__web_sys_c5acb43ddc0a0d6___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_d70d789b0a7868be___convert__closures_____invoke___web_sys_c5acb43ddc0a0d6___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: 169, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 170, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
992
992
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_d70d789b0a7868be___closure__destroy___dyn_core_af4eb2c136de3322___ops__function__FnMut__web_sys_c5acb43ddc0a0d6___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_d70d789b0a7868be___convert__closures_____invoke___web_sys_c5acb43ddc0a0d6___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: 435, function: Function { arguments: [], shim_idx: 436, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
997
997
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_d70d789b0a7868be___closure__destroy___dyn_core_af4eb2c136de3322___ops__function__FnMut_____Output_______, wasm_bindgen_d70d789b0a7868be___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: 466, function: Function { arguments: [Externref], shim_idx: 467, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1002
1002
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_d70d789b0a7868be___closure__destroy___dyn_core_af4eb2c136de3322___ops__function__FnMut__wasm_bindgen_d70d789b0a7868be___JsValue____Output_______, wasm_bindgen_d70d789b0a7868be___convert__closures_____invoke___wasm_bindgen_d70d789b0a7868be___JsValue_____);
|
|
1003
1003
|
return ret;
|
|
1004
1004
|
},
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|