hermes-wasm 1.8.79 → 1.8.81

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
@@ -374,23 +374,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
374
374
 
375
375
  export interface InitOutput {
376
376
  readonly memory: WebAssembly.Memory;
377
- readonly set_log_level: (a: number, b: number) => void;
378
- readonly init: () => void;
379
- readonly setup_logging: () => void;
380
- readonly __wbg_localindex_free: (a: number, b: number) => void;
381
- readonly localindex_addDocument: (a: number, b: any) => any;
382
- readonly localindex_addDocuments: (a: number, b: any) => any;
383
- readonly localindex_commit: (a: number) => any;
384
- readonly localindex_create: (a: number, b: number) => any;
385
- readonly localindex_fieldNames: (a: number) => any;
386
- readonly localindex_getDocument: (a: number, b: number, c: number, d: number) => any;
387
- readonly localindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
388
- readonly localindex_numDocs: (a: number) => number;
389
- readonly localindex_pendingDocs: (a: number) => number;
390
- readonly localindex_search: (a: number, b: number, c: number, d: number) => any;
391
- readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
392
- readonly localindex_searchStructured: (a: number, b: any) => any;
393
- readonly localindex_withStorage: (a: any, b: number, c: number) => any;
394
377
  readonly __wbg_indexregistry_free: (a: number, b: number) => void;
395
378
  readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
396
379
  readonly __wbg_remoteindex_free: (a: number, b: number) => void;
@@ -441,6 +424,23 @@ export interface InitOutput {
441
424
  readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
442
425
  readonly remoteindex_num_docs: (a: number) => number;
443
426
  readonly remoteindex_num_segments: (a: number) => number;
427
+ readonly set_log_level: (a: number, b: number) => void;
428
+ readonly init: () => void;
429
+ readonly setup_logging: () => void;
430
+ readonly __wbg_localindex_free: (a: number, b: number) => void;
431
+ readonly localindex_addDocument: (a: number, b: any) => any;
432
+ readonly localindex_addDocuments: (a: number, b: any) => any;
433
+ readonly localindex_commit: (a: number) => any;
434
+ readonly localindex_create: (a: number, b: number) => any;
435
+ readonly localindex_fieldNames: (a: number) => any;
436
+ readonly localindex_getDocument: (a: number, b: number, c: number, d: number) => any;
437
+ readonly localindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
438
+ readonly localindex_numDocs: (a: number) => number;
439
+ readonly localindex_pendingDocs: (a: number) => number;
440
+ readonly localindex_search: (a: number, b: number, c: number, d: number) => any;
441
+ readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
442
+ readonly localindex_searchStructured: (a: number, b: any) => any;
443
+ readonly localindex_withStorage: (a: any, b: number, c: number) => any;
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
@@ -1344,22 +1344,22 @@ function __wbg_get_imports() {
1344
1344
  console.warn(arg0);
1345
1345
  },
1346
1346
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1347
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1671, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1347
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1660, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1348
1348
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cf07c72b30fa64cc___convert__closures_____invoke___wasm_bindgen_cf07c72b30fa64cc___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_cf07c72b30fa64cc___JsError___true_);
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: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1352
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 277, 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: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1357
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 277, 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: 819, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1362
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 808, 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.79",
8
+ "version": "1.8.81",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",