hermes-wasm 1.8.84 → 1.8.86
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 +42 -42
- package/hermes_wasm.js +4 -4
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/hermes_wasm.d.ts
CHANGED
|
@@ -374,28 +374,29 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
374
374
|
|
|
375
375
|
export interface InitOutput {
|
|
376
376
|
readonly memory: WebAssembly.Memory;
|
|
377
|
-
readonly __wbg_localindex_free: (a: number, b: number) => void;
|
|
378
|
-
readonly localindex_addDocument: (a: number, b: any) => any;
|
|
379
|
-
readonly localindex_addDocuments: (a: number, b: any) => any;
|
|
380
|
-
readonly localindex_commit: (a: number) => any;
|
|
381
|
-
readonly localindex_create: (a: number, b: number) => any;
|
|
382
|
-
readonly localindex_fieldNames: (a: number) => any;
|
|
383
|
-
readonly localindex_getDocument: (a: number, b: number, c: number, d: number) => any;
|
|
384
|
-
readonly localindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
385
|
-
readonly localindex_numDocs: (a: number) => number;
|
|
386
|
-
readonly localindex_pendingDocs: (a: number) => number;
|
|
387
|
-
readonly localindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
388
|
-
readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
389
|
-
readonly localindex_searchStructured: (a: number, b: any) => any;
|
|
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
377
|
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
394
|
-
readonly
|
|
395
|
-
readonly
|
|
396
|
-
readonly
|
|
397
|
-
readonly
|
|
398
|
-
readonly
|
|
378
|
+
readonly remoteindex_cache_stats: (a: number) => any;
|
|
379
|
+
readonly remoteindex_clear_idb_cache: (a: number) => any;
|
|
380
|
+
readonly remoteindex_default_fields: (a: number) => any;
|
|
381
|
+
readonly remoteindex_export_cache: (a: number) => [number, number];
|
|
382
|
+
readonly remoteindex_field_names: (a: number) => any;
|
|
383
|
+
readonly remoteindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
384
|
+
readonly remoteindex_get_document: (a: number, b: number, c: number, d: number) => any;
|
|
385
|
+
readonly remoteindex_import_cache: (a: number, b: number, c: number) => [number, number];
|
|
386
|
+
readonly remoteindex_load: (a: number) => any;
|
|
387
|
+
readonly remoteindex_load_cache_from_idb: (a: number) => any;
|
|
388
|
+
readonly remoteindex_load_with_idb_cache: (a: number) => any;
|
|
389
|
+
readonly remoteindex_network_stats: (a: number) => any;
|
|
390
|
+
readonly remoteindex_new: (a: number, b: number) => number;
|
|
391
|
+
readonly remoteindex_num_docs: (a: number) => number;
|
|
392
|
+
readonly remoteindex_num_segments: (a: number) => number;
|
|
393
|
+
readonly remoteindex_reset_network_stats: (a: number) => void;
|
|
394
|
+
readonly remoteindex_save_cache_to_idb: (a: number) => any;
|
|
395
|
+
readonly remoteindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
396
|
+
readonly remoteindex_searchStructured: (a: number, b: any) => any;
|
|
397
|
+
readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
398
|
+
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
399
|
+
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
399
400
|
readonly ipfsindex_cache_stats: (a: number) => any;
|
|
400
401
|
readonly ipfsindex_clear_idb_cache: (a: number) => any;
|
|
401
402
|
readonly ipfsindex_default_fields: (a: number) => any;
|
|
@@ -417,27 +418,26 @@ export interface InitOutput {
|
|
|
417
418
|
readonly ipfsindex_searchStructured: (a: number, b: any) => any;
|
|
418
419
|
readonly ipfsindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
419
420
|
readonly ipfsindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
420
|
-
readonly
|
|
421
|
-
readonly
|
|
422
|
-
readonly
|
|
423
|
-
readonly
|
|
424
|
-
readonly
|
|
425
|
-
readonly
|
|
426
|
-
readonly
|
|
427
|
-
readonly
|
|
428
|
-
readonly
|
|
429
|
-
readonly
|
|
430
|
-
readonly
|
|
431
|
-
readonly
|
|
432
|
-
readonly
|
|
433
|
-
readonly
|
|
434
|
-
readonly
|
|
435
|
-
readonly
|
|
436
|
-
readonly
|
|
437
|
-
readonly
|
|
438
|
-
readonly
|
|
439
|
-
readonly
|
|
440
|
-
readonly remoteindex_num_segments: (a: number) => number;
|
|
421
|
+
readonly __wbg_localindex_free: (a: number, b: number) => void;
|
|
422
|
+
readonly localindex_addDocument: (a: number, b: any) => any;
|
|
423
|
+
readonly localindex_addDocuments: (a: number, b: any) => any;
|
|
424
|
+
readonly localindex_commit: (a: number) => any;
|
|
425
|
+
readonly localindex_create: (a: number, b: number) => any;
|
|
426
|
+
readonly localindex_fieldNames: (a: number) => any;
|
|
427
|
+
readonly localindex_getDocument: (a: number, b: number, c: number, d: number) => any;
|
|
428
|
+
readonly localindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
429
|
+
readonly localindex_numDocs: (a: number) => number;
|
|
430
|
+
readonly localindex_pendingDocs: (a: number) => number;
|
|
431
|
+
readonly localindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
432
|
+
readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
433
|
+
readonly localindex_searchStructured: (a: number, b: any) => any;
|
|
434
|
+
readonly localindex_withStorage: (a: any, b: number, c: number) => any;
|
|
435
|
+
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
436
|
+
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
437
|
+
readonly indexregistry_list: (a: number) => any;
|
|
438
|
+
readonly indexregistry_new: () => number;
|
|
439
|
+
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
440
|
+
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
441
441
|
readonly set_log_level: (a: number, b: number) => void;
|
|
442
442
|
readonly init: () => void;
|
|
443
443
|
readonly setup_logging: () => void;
|
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:
|
|
1347
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1667, 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:
|
|
1352
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 172, 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:
|
|
1357
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 172, 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:
|
|
1362
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 814, 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
|
},
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|