hermes-wasm 1.4.34 → 1.4.36

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 CHANGED
@@ -252,6 +252,8 @@ export interface InitOutput {
252
252
  readonly indexregistry_new: () => number;
253
253
  readonly indexregistry_remove: (a: number, b: number, c: number) => void;
254
254
  readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
255
+ readonly init: () => void;
256
+ readonly setup_logging: () => void;
255
257
  readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
256
258
  readonly ipfsindex_cache_stats: (a: number) => any;
257
259
  readonly ipfsindex_clear_idb_cache: (a: number) => any;
@@ -292,8 +294,6 @@ export interface InitOutput {
292
294
  readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
293
295
  readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
294
296
  readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
295
- readonly init: () => void;
296
- readonly setup_logging: () => void;
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: 198, function: Function { arguments: [NamedExternref("Event")], shim_idx: 199, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
986
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 215, function: Function { arguments: [NamedExternref("Event")], shim_idx: 216, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
987
987
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_2941ed9ae96f447f___closure__destroy___dyn_core_aae15cec12117509___ops__function__FnMut__web_sys_52bdad0818500790___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_2941ed9ae96f447f___convert__closures_____invoke___web_sys_52bdad0818500790___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: 198, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 199, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
991
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 215, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 216, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
992
992
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_2941ed9ae96f447f___closure__destroy___dyn_core_aae15cec12117509___ops__function__FnMut__web_sys_52bdad0818500790___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent____Output_______, wasm_bindgen_2941ed9ae96f447f___convert__closures_____invoke___web_sys_52bdad0818500790___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: 470, function: Function { arguments: [], shim_idx: 471, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
996
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 472, function: Function { arguments: [], shim_idx: 473, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
997
997
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_2941ed9ae96f447f___closure__destroy___dyn_core_aae15cec12117509___ops__function__FnMut_____Output_______, wasm_bindgen_2941ed9ae96f447f___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: 484, function: Function { arguments: [Externref], shim_idx: 485, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1001
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 486, function: Function { arguments: [Externref], shim_idx: 487, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1002
1002
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_2941ed9ae96f447f___closure__destroy___dyn_core_aae15cec12117509___ops__function__FnMut__wasm_bindgen_2941ed9ae96f447f___JsValue____Output_______, wasm_bindgen_2941ed9ae96f447f___convert__closures_____invoke___wasm_bindgen_2941ed9ae96f447f___JsValue_____);
1003
1003
  return ret;
1004
1004
  },
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "izihawa"
6
6
  ],
7
7
  "description": "WASM bindings for Hermes search engine",
8
- "version": "1.4.34",
8
+ "version": "1.4.36",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",