hermes-wasm 1.8.84 → 1.8.85

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
@@ -388,14 +388,38 @@ export interface InitOutput {
388
388
  readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
389
389
  readonly localindex_searchStructured: (a: number, b: any) => any;
390
390
  readonly localindex_withStorage: (a: any, b: number, c: number) => any;
391
- readonly __wbg_indexregistry_free: (a: number, b: number) => void;
392
- readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
393
391
  readonly __wbg_remoteindex_free: (a: number, b: number) => void;
392
+ readonly remoteindex_cache_stats: (a: number) => any;
393
+ readonly remoteindex_clear_idb_cache: (a: number) => any;
394
+ readonly remoteindex_default_fields: (a: number) => any;
395
+ readonly remoteindex_export_cache: (a: number) => [number, number];
396
+ readonly remoteindex_field_names: (a: number) => any;
397
+ readonly remoteindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
398
+ readonly remoteindex_get_document: (a: number, b: number, c: number, d: number) => any;
399
+ readonly remoteindex_import_cache: (a: number, b: number, c: number) => [number, number];
400
+ readonly remoteindex_load: (a: number) => any;
401
+ readonly remoteindex_load_cache_from_idb: (a: number) => any;
402
+ readonly remoteindex_load_with_idb_cache: (a: number) => any;
403
+ readonly remoteindex_network_stats: (a: number) => any;
404
+ readonly remoteindex_new: (a: number, b: number) => number;
405
+ readonly remoteindex_num_docs: (a: number) => number;
406
+ readonly remoteindex_num_segments: (a: number) => number;
407
+ readonly remoteindex_reset_network_stats: (a: number) => void;
408
+ readonly remoteindex_save_cache_to_idb: (a: number) => any;
409
+ readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
410
+ readonly remoteindex_searchStructured: (a: number, b: any) => any;
411
+ readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
412
+ readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
413
+ readonly __wbg_indexregistry_free: (a: number, b: number) => void;
394
414
  readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
395
415
  readonly indexregistry_list: (a: number) => any;
396
416
  readonly indexregistry_new: () => number;
397
417
  readonly indexregistry_remove: (a: number, b: number, c: number) => void;
398
418
  readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
419
+ readonly set_log_level: (a: number, b: number) => void;
420
+ readonly init: () => void;
421
+ readonly setup_logging: () => void;
422
+ readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
399
423
  readonly ipfsindex_cache_stats: (a: number) => any;
400
424
  readonly ipfsindex_clear_idb_cache: (a: number) => any;
401
425
  readonly ipfsindex_default_fields: (a: number) => any;
@@ -417,30 +441,6 @@ export interface InitOutput {
417
441
  readonly ipfsindex_searchStructured: (a: number, b: any) => any;
418
442
  readonly ipfsindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
419
443
  readonly ipfsindex_with_cache_size: (a: number, b: number, c: number) => number;
420
- readonly remoteindex_cache_stats: (a: number) => any;
421
- readonly remoteindex_clear_idb_cache: (a: number) => any;
422
- readonly remoteindex_default_fields: (a: number) => any;
423
- readonly remoteindex_export_cache: (a: number) => [number, number];
424
- readonly remoteindex_field_names: (a: number) => any;
425
- readonly remoteindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
426
- readonly remoteindex_get_document: (a: number, b: number, c: number, d: number) => any;
427
- readonly remoteindex_import_cache: (a: number, b: number, c: number) => [number, number];
428
- readonly remoteindex_load: (a: number) => any;
429
- readonly remoteindex_load_cache_from_idb: (a: number) => any;
430
- readonly remoteindex_load_with_idb_cache: (a: number) => any;
431
- readonly remoteindex_network_stats: (a: number) => any;
432
- readonly remoteindex_new: (a: number, b: number) => number;
433
- readonly remoteindex_reset_network_stats: (a: number) => void;
434
- readonly remoteindex_save_cache_to_idb: (a: number) => any;
435
- readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
436
- readonly remoteindex_searchStructured: (a: number, b: any) => any;
437
- readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
438
- readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
439
- readonly remoteindex_num_docs: (a: number) => number;
440
- readonly remoteindex_num_segments: (a: number) => number;
441
- readonly set_log_level: (a: number, b: number) => void;
442
- readonly init: () => void;
443
- readonly setup_logging: () => void;
444
444
  readonly rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
445
445
  readonly rust_zstd_wasm_shim_free: (a: number) => void;
446
446
  readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
package/hermes_wasm.js CHANGED
@@ -1349,17 +1349,17 @@ function __wbg_get_imports() {
1349
1349
  return ret;
1350
1350
  },
1351
1351
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1352
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1352
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 349, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1353
1353
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cf07c72b30fa64cc___convert__closures_____invoke___web_sys_b990320eec74ed43___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_);
1354
1354
  return ret;
1355
1355
  },
1356
1356
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1357
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1357
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 349, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1358
1358
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cf07c72b30fa64cc___convert__closures_____invoke___web_sys_b990320eec74ed43___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__2);
1359
1359
  return ret;
1360
1360
  },
1361
1361
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1362
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 804, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1362
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 803, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1363
1363
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cf07c72b30fa64cc___convert__closures_____invoke_______true_);
1364
1364
  return ret;
1365
1365
  },
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.8.84",
8
+ "version": "1.8.85",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",