hermes-wasm 1.8.114 → 1.8.115
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 +10 -10
- 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,8 +374,13 @@ 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;
|
|
377
378
|
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
378
|
-
readonly
|
|
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;
|
|
379
384
|
readonly ipfsindex_cache_stats: (a: number) => any;
|
|
380
385
|
readonly ipfsindex_clear_idb_cache: (a: number) => any;
|
|
381
386
|
readonly ipfsindex_default_fields: (a: number) => any;
|
|
@@ -397,6 +402,10 @@ export interface InitOutput {
|
|
|
397
402
|
readonly ipfsindex_searchStructured: (a: number, b: any) => any;
|
|
398
403
|
readonly ipfsindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
399
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
|
+
readonly __wbg_localindex_free: (a: number, b: number) => void;
|
|
400
409
|
readonly localindex_addDocument: (a: number, b: any) => any;
|
|
401
410
|
readonly localindex_addDocuments: (a: number, b: any) => any;
|
|
402
411
|
readonly localindex_commit: (a: number) => any;
|
|
@@ -410,13 +419,7 @@ export interface InitOutput {
|
|
|
410
419
|
readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
411
420
|
readonly localindex_searchStructured: (a: number, b: any) => any;
|
|
412
421
|
readonly localindex_withStorage: (a: any, b: number, c: number) => any;
|
|
413
|
-
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
414
422
|
readonly __wbg_remoteindex_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
423
|
readonly remoteindex_cache_stats: (a: number) => any;
|
|
421
424
|
readonly remoteindex_clear_idb_cache: (a: number) => any;
|
|
422
425
|
readonly remoteindex_default_fields: (a: number) => any;
|
|
@@ -438,9 +441,6 @@ export interface InitOutput {
|
|
|
438
441
|
readonly remoteindex_searchStructured: (a: number, b: any) => any;
|
|
439
442
|
readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
440
443
|
readonly remoteindex_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
|
@@ -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: 1759, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1348
1348
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cbe8ffa0906b14c2___convert__closures_____invoke___wasm_bindgen_cbe8ffa0906b14c2___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_cbe8ffa0906b14c2___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: 156, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1353
1353
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cbe8ffa0906b14c2___convert__closures_____invoke___web_sys_a97ff51a0fb47d90___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: 156, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1358
1358
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cbe8ffa0906b14c2___convert__closures_____invoke___web_sys_a97ff51a0fb47d90___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: 889, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1363
1363
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_cbe8ffa0906b14c2___convert__closures_____invoke_______true_);
|
|
1364
1364
|
return ret;
|
|
1365
1365
|
},
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|