hermes-wasm 1.8.41 → 1.8.43
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 +31 -31
- package/hermes_wasm.js +2 -2
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/hermes_wasm.d.ts
CHANGED
|
@@ -374,37 +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 __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
378
|
-
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
379
|
-
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
380
|
-
readonly indexregistry_list: (a: number) => any;
|
|
381
|
-
readonly indexregistry_new: () => number;
|
|
382
|
-
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
383
|
-
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
384
|
-
readonly ipfsindex_cache_stats: (a: number) => any;
|
|
385
|
-
readonly ipfsindex_clear_idb_cache: (a: number) => any;
|
|
386
|
-
readonly ipfsindex_default_fields: (a: number) => any;
|
|
387
|
-
readonly ipfsindex_export_cache: (a: number) => [number, number];
|
|
388
|
-
readonly ipfsindex_field_names: (a: number) => any;
|
|
389
|
-
readonly ipfsindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
390
|
-
readonly ipfsindex_get_document: (a: number, b: number, c: number, d: number) => any;
|
|
391
|
-
readonly ipfsindex_import_cache: (a: number, b: number, c: number) => [number, number];
|
|
392
|
-
readonly ipfsindex_load: (a: number, b: any, c: any) => any;
|
|
393
|
-
readonly ipfsindex_load_cache_from_idb: (a: number) => any;
|
|
394
|
-
readonly ipfsindex_load_with_idb_cache: (a: number, b: any, c: any) => any;
|
|
395
|
-
readonly ipfsindex_network_stats: (a: number) => any;
|
|
396
|
-
readonly ipfsindex_new: (a: number, b: number) => number;
|
|
397
|
-
readonly ipfsindex_num_docs: (a: number) => number;
|
|
398
|
-
readonly ipfsindex_num_segments: (a: number) => number;
|
|
399
|
-
readonly ipfsindex_reset_network_stats: (a: number) => void;
|
|
400
|
-
readonly ipfsindex_save_cache_to_idb: (a: number) => any;
|
|
401
|
-
readonly ipfsindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
402
|
-
readonly ipfsindex_searchStructured: (a: number, b: any) => any;
|
|
403
|
-
readonly ipfsindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
404
|
-
readonly ipfsindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
405
|
-
readonly set_log_level: (a: number, b: number) => void;
|
|
406
|
-
readonly init: () => void;
|
|
407
|
-
readonly setup_logging: () => void;
|
|
408
377
|
readonly __wbg_localindex_free: (a: number, b: number) => void;
|
|
409
378
|
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
410
379
|
readonly localindex_addDocument: (a: number, b: any) => any;
|
|
@@ -441,6 +410,37 @@ export interface InitOutput {
|
|
|
441
410
|
readonly remoteindex_searchStructured: (a: number, b: any) => any;
|
|
442
411
|
readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
443
412
|
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
413
|
+
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
414
|
+
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
415
|
+
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
416
|
+
readonly indexregistry_list: (a: number) => any;
|
|
417
|
+
readonly indexregistry_new: () => number;
|
|
418
|
+
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
419
|
+
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
420
|
+
readonly ipfsindex_cache_stats: (a: number) => any;
|
|
421
|
+
readonly ipfsindex_clear_idb_cache: (a: number) => any;
|
|
422
|
+
readonly ipfsindex_default_fields: (a: number) => any;
|
|
423
|
+
readonly ipfsindex_export_cache: (a: number) => [number, number];
|
|
424
|
+
readonly ipfsindex_field_names: (a: number) => any;
|
|
425
|
+
readonly ipfsindex_getDocumentWithFields: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
426
|
+
readonly ipfsindex_get_document: (a: number, b: number, c: number, d: number) => any;
|
|
427
|
+
readonly ipfsindex_import_cache: (a: number, b: number, c: number) => [number, number];
|
|
428
|
+
readonly ipfsindex_load: (a: number, b: any, c: any) => any;
|
|
429
|
+
readonly ipfsindex_load_cache_from_idb: (a: number) => any;
|
|
430
|
+
readonly ipfsindex_load_with_idb_cache: (a: number, b: any, c: any) => any;
|
|
431
|
+
readonly ipfsindex_network_stats: (a: number) => any;
|
|
432
|
+
readonly ipfsindex_new: (a: number, b: number) => number;
|
|
433
|
+
readonly ipfsindex_num_docs: (a: number) => number;
|
|
434
|
+
readonly ipfsindex_num_segments: (a: number) => number;
|
|
435
|
+
readonly ipfsindex_reset_network_stats: (a: number) => void;
|
|
436
|
+
readonly ipfsindex_save_cache_to_idb: (a: number) => any;
|
|
437
|
+
readonly ipfsindex_search: (a: number, b: number, c: number, d: number) => any;
|
|
438
|
+
readonly ipfsindex_searchStructured: (a: number, b: any) => any;
|
|
439
|
+
readonly ipfsindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
440
|
+
readonly ipfsindex_with_cache_size: (a: number, b: number, c: 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,12 +1349,12 @@ 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:
|
|
1352
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 142, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1353
1353
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cdf688fa8d4c61a9___convert__closures_____invoke___web_sys_670dd788129f6f5a___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: 142, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1358
1358
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cdf688fa8d4c61a9___convert__closures_____invoke___web_sys_670dd788129f6f5a___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__2);
|
|
1359
1359
|
return ret;
|
|
1360
1360
|
},
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|