hermes-wasm 1.8.121 → 1.8.123
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/README.md +7 -3
- package/hermes_wasm.d.ts +38 -38
- package/hermes_wasm.js +229 -229
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,9 +8,9 @@ WebAssembly bindings for the [Hermes](https://github.com/SpaceFrontiers/hermes)
|
|
|
8
8
|
- **Pluggable persistence** — bring your own storage (IDB, encrypted, OPFS) via simple JS interface
|
|
9
9
|
- **Remote search** — load pre-built indexes over HTTP with slice caching
|
|
10
10
|
- **IPFS support** — load indexes from IPFS via JavaScript fetch callbacks
|
|
11
|
-
- **
|
|
11
|
+
- **Language-aware tokenizers** — English, German, French, Spanish, Russian, Arabic, and more
|
|
12
12
|
- **Query language** — `field:term`, `AND`, `OR`, `NOT`, grouping with parentheses
|
|
13
|
-
-
|
|
13
|
+
- **Static deployment** — host the generated JS/WASM and index files over HTTP
|
|
14
14
|
|
|
15
15
|
## Quick Start
|
|
16
16
|
|
|
@@ -279,11 +279,13 @@ const results = await index.searchStructured({
|
|
|
279
279
|
|
|
280
280
|
## Building
|
|
281
281
|
|
|
282
|
+
From the repository root, using Node.js 22.12+ for the test harness:
|
|
283
|
+
|
|
282
284
|
```bash
|
|
283
285
|
cd hermes-wasm
|
|
284
286
|
bash build.sh # requires Homebrew LLVM on macOS
|
|
285
287
|
npm ci
|
|
286
|
-
npm test
|
|
288
|
+
npm test -- --run
|
|
287
289
|
```
|
|
288
290
|
|
|
289
291
|
The build script sets `CC` and `AR` to Homebrew LLVM binaries for zstd cross-compilation to `wasm32-unknown-unknown`.
|
|
@@ -292,6 +294,8 @@ metadata is generated in `pkg/` by `wasm-pack` from `Cargo.toml`.
|
|
|
292
294
|
|
|
293
295
|
## Example
|
|
294
296
|
|
|
297
|
+
Start from the repository root for the commands below.
|
|
298
|
+
|
|
295
299
|
Open `examples/index.html` in a browser (needs to be served, not opened as file):
|
|
296
300
|
|
|
297
301
|
```bash
|
package/hermes_wasm.d.ts
CHANGED
|
@@ -67,6 +67,10 @@ export class IpfsIndex {
|
|
|
67
67
|
* Import cache
|
|
68
68
|
*/
|
|
69
69
|
import_cache(data: Uint8Array): void;
|
|
70
|
+
/**
|
|
71
|
+
* Load cache from IndexedDB
|
|
72
|
+
*/
|
|
73
|
+
load_cache_from_idb(): Promise<boolean>;
|
|
70
74
|
/**
|
|
71
75
|
* Load index using JavaScript fetch functions
|
|
72
76
|
*
|
|
@@ -74,10 +78,6 @@ export class IpfsIndex {
|
|
|
74
78
|
* @param size_fn - JS function: (path: string) => Promise<number>
|
|
75
79
|
*/
|
|
76
80
|
load(fetch_fn: Function, size_fn: Function): Promise<void>;
|
|
77
|
-
/**
|
|
78
|
-
* Load cache from IndexedDB
|
|
79
|
-
*/
|
|
80
|
-
load_cache_from_idb(): Promise<boolean>;
|
|
81
81
|
/**
|
|
82
82
|
* Load index with IndexedDB cache pre-loaded
|
|
83
83
|
*
|
|
@@ -115,6 +115,10 @@ export class IpfsIndex {
|
|
|
115
115
|
* Save cache to IndexedDB
|
|
116
116
|
*/
|
|
117
117
|
save_cache_to_idb(): Promise<void>;
|
|
118
|
+
/**
|
|
119
|
+
* Structured search: accepts a query object instead of a query string.
|
|
120
|
+
*/
|
|
121
|
+
searchStructured(request: any): Promise<any>;
|
|
118
122
|
/**
|
|
119
123
|
* Search the index
|
|
120
124
|
*
|
|
@@ -122,10 +126,6 @@ export class IpfsIndex {
|
|
|
122
126
|
* Use `get_document(hit.address.segment_id, hit.address.doc_id)` to fetch document content.
|
|
123
127
|
*/
|
|
124
128
|
search(query_str: string, limit: number): Promise<any>;
|
|
125
|
-
/**
|
|
126
|
-
* Structured search: accepts a query object instead of a query string.
|
|
127
|
-
*/
|
|
128
|
-
searchStructured(request: any): Promise<any>;
|
|
129
129
|
/**
|
|
130
130
|
* Search the index with offset for pagination
|
|
131
131
|
*/
|
|
@@ -175,16 +175,16 @@ export class LocalIndex {
|
|
|
175
175
|
* Get field names from the schema.
|
|
176
176
|
*/
|
|
177
177
|
fieldNames(): any;
|
|
178
|
-
/**
|
|
179
|
-
* Get a document by its address.
|
|
180
|
-
*/
|
|
181
|
-
getDocument(segment_id: string, doc_id: number): Promise<any>;
|
|
182
178
|
/**
|
|
183
179
|
* Get a document by its address, loading only the specified fields.
|
|
184
180
|
*
|
|
185
181
|
* `fields_to_load` is a JS array of field name strings, e.g. `["title", "body"]`.
|
|
186
182
|
*/
|
|
187
183
|
getDocumentWithFields(segment_id: string, doc_id: number, fields_to_load: string[]): Promise<any>;
|
|
184
|
+
/**
|
|
185
|
+
* Get a document by its address.
|
|
186
|
+
*/
|
|
187
|
+
getDocument(segment_id: string, doc_id: number): Promise<any>;
|
|
188
188
|
/**
|
|
189
189
|
* Number of indexed documents (across all committed segments).
|
|
190
190
|
*/
|
|
@@ -193,12 +193,6 @@ export class LocalIndex {
|
|
|
193
193
|
* Number of documents pending (not yet committed).
|
|
194
194
|
*/
|
|
195
195
|
pendingDocs(): number;
|
|
196
|
-
/**
|
|
197
|
-
* Search the index.
|
|
198
|
-
*
|
|
199
|
-
* Returns `{ hits: [{ address: { segment_id, doc_id }, score }], total_hits }`.
|
|
200
|
-
*/
|
|
201
|
-
search(query_str: string, limit: number): Promise<any>;
|
|
202
196
|
/**
|
|
203
197
|
* Search with offset for pagination.
|
|
204
198
|
*/
|
|
@@ -216,6 +210,12 @@ export class LocalIndex {
|
|
|
216
210
|
* ```
|
|
217
211
|
*/
|
|
218
212
|
searchStructured(request: any): Promise<any>;
|
|
213
|
+
/**
|
|
214
|
+
* Search the index.
|
|
215
|
+
*
|
|
216
|
+
* Returns `{ hits: [{ address: { segment_id, doc_id }, score }], total_hits }`.
|
|
217
|
+
*/
|
|
218
|
+
search(query_str: string, limit: number): Promise<any>;
|
|
219
219
|
/**
|
|
220
220
|
* Create or open an index with a pluggable storage backend.
|
|
221
221
|
*
|
|
@@ -284,6 +284,12 @@ export class RemoteIndex {
|
|
|
284
284
|
* network requests for previously fetched data.
|
|
285
285
|
*/
|
|
286
286
|
import_cache(data: Uint8Array): void;
|
|
287
|
+
/**
|
|
288
|
+
* Load the slice cache from IndexedDB
|
|
289
|
+
*
|
|
290
|
+
* Call this after load() to restore cached data from a previous session.
|
|
291
|
+
*/
|
|
292
|
+
load_cache_from_idb(): Promise<boolean>;
|
|
287
293
|
/**
|
|
288
294
|
* Load index from URL using hermes-core Index with slice caching
|
|
289
295
|
*
|
|
@@ -291,12 +297,6 @@ export class RemoteIndex {
|
|
|
291
297
|
* to prefill the cache with hot data, reducing cold-start latency.
|
|
292
298
|
*/
|
|
293
299
|
load(): Promise<void>;
|
|
294
|
-
/**
|
|
295
|
-
* Load the slice cache from IndexedDB
|
|
296
|
-
*
|
|
297
|
-
* Call this after load() to restore cached data from a previous session.
|
|
298
|
-
*/
|
|
299
|
-
load_cache_from_idb(): Promise<boolean>;
|
|
300
300
|
/**
|
|
301
301
|
* Load index with IndexedDB cache pre-loaded
|
|
302
302
|
*
|
|
@@ -331,6 +331,10 @@ export class RemoteIndex {
|
|
|
331
331
|
* The cache is stored under a key derived from the base URL.
|
|
332
332
|
*/
|
|
333
333
|
save_cache_to_idb(): Promise<void>;
|
|
334
|
+
/**
|
|
335
|
+
* Structured search: accepts a query object instead of a query string.
|
|
336
|
+
*/
|
|
337
|
+
searchStructured(request: any): Promise<any>;
|
|
334
338
|
/**
|
|
335
339
|
* Search the index
|
|
336
340
|
*
|
|
@@ -341,10 +345,6 @@ export class RemoteIndex {
|
|
|
341
345
|
* Use `get_document(hit.address.segment_id, hit.address.doc_id)` to fetch document content.
|
|
342
346
|
*/
|
|
343
347
|
search(query_str: string, limit: number): Promise<any>;
|
|
344
|
-
/**
|
|
345
|
-
* Structured search: accepts a query object instead of a query string.
|
|
346
|
-
*/
|
|
347
|
-
searchStructured(request: any): Promise<any>;
|
|
348
348
|
/**
|
|
349
349
|
* Search with offset for pagination
|
|
350
350
|
*/
|
|
@@ -376,11 +376,14 @@ export interface InitOutput {
|
|
|
376
376
|
readonly memory: WebAssembly.Memory;
|
|
377
377
|
readonly __wbg_indexregistry_free: (a: number, b: number) => void;
|
|
378
378
|
readonly __wbg_ipfsindex_free: (a: number, b: number) => void;
|
|
379
|
+
readonly __wbg_localindex_free: (a: number, b: number) => void;
|
|
380
|
+
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
379
381
|
readonly indexregistry_add_remote: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
380
382
|
readonly indexregistry_list: (a: number) => any;
|
|
381
383
|
readonly indexregistry_new: () => number;
|
|
382
384
|
readonly indexregistry_remove: (a: number, b: number, c: number) => void;
|
|
383
385
|
readonly indexregistry_search: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
386
|
+
readonly init: () => void;
|
|
384
387
|
readonly ipfsindex_cache_stats: (a: number) => any;
|
|
385
388
|
readonly ipfsindex_clear_idb_cache: (a: number) => any;
|
|
386
389
|
readonly ipfsindex_default_fields: (a: number) => any;
|
|
@@ -402,10 +405,6 @@ export interface InitOutput {
|
|
|
402
405
|
readonly ipfsindex_searchStructured: (a: number, b: any) => any;
|
|
403
406
|
readonly ipfsindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
404
407
|
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;
|
|
409
408
|
readonly localindex_addDocument: (a: number, b: any) => any;
|
|
410
409
|
readonly localindex_addDocuments: (a: number, b: any) => any;
|
|
411
410
|
readonly localindex_commit: (a: number) => any;
|
|
@@ -419,7 +418,6 @@ export interface InitOutput {
|
|
|
419
418
|
readonly localindex_searchOffset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
420
419
|
readonly localindex_searchStructured: (a: number, b: any) => any;
|
|
421
420
|
readonly localindex_withStorage: (a: any, b: number, c: number) => any;
|
|
422
|
-
readonly __wbg_remoteindex_free: (a: number, b: number) => void;
|
|
423
421
|
readonly remoteindex_cache_stats: (a: number) => any;
|
|
424
422
|
readonly remoteindex_clear_idb_cache: (a: number) => any;
|
|
425
423
|
readonly remoteindex_default_fields: (a: number) => any;
|
|
@@ -441,6 +439,8 @@ export interface InitOutput {
|
|
|
441
439
|
readonly remoteindex_searchStructured: (a: number, b: any) => any;
|
|
442
440
|
readonly remoteindex_search_offset: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
443
441
|
readonly remoteindex_with_cache_size: (a: number, b: number, c: number) => number;
|
|
442
|
+
readonly set_log_level: (a: number, b: number) => 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;
|
|
@@ -449,11 +449,11 @@ export interface InitOutput {
|
|
|
449
449
|
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
450
450
|
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
451
451
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
452
|
-
readonly
|
|
453
|
-
readonly
|
|
454
|
-
readonly
|
|
455
|
-
readonly
|
|
456
|
-
readonly
|
|
452
|
+
readonly wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
453
|
+
readonly wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___wasm_bindgen_7dc0dc7663c6ddce___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_7dc0dc7663c6ddce___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
454
|
+
readonly wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_: (a: number, b: number, c: any) => void;
|
|
455
|
+
readonly wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__66: (a: number, b: number, c: any) => void;
|
|
456
|
+
readonly wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
457
457
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
458
458
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
459
459
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/hermes_wasm.js
CHANGED
|
@@ -176,6 +176,14 @@ export class IpfsIndex {
|
|
|
176
176
|
throw takeFromExternrefTable0(ret[0]);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Load cache from IndexedDB
|
|
181
|
+
* @returns {Promise<boolean>}
|
|
182
|
+
*/
|
|
183
|
+
load_cache_from_idb() {
|
|
184
|
+
const ret = wasm.ipfsindex_load_cache_from_idb(this.__wbg_ptr);
|
|
185
|
+
return ret;
|
|
186
|
+
}
|
|
179
187
|
/**
|
|
180
188
|
* Load index using JavaScript fetch functions
|
|
181
189
|
*
|
|
@@ -189,14 +197,6 @@ export class IpfsIndex {
|
|
|
189
197
|
const ret = wasm.ipfsindex_load(this.__wbg_ptr, fetch_fn, size_fn);
|
|
190
198
|
return ret;
|
|
191
199
|
}
|
|
192
|
-
/**
|
|
193
|
-
* Load cache from IndexedDB
|
|
194
|
-
* @returns {Promise<boolean>}
|
|
195
|
-
*/
|
|
196
|
-
load_cache_from_idb() {
|
|
197
|
-
const ret = wasm.ipfsindex_load_cache_from_idb(this.__wbg_ptr);
|
|
198
|
-
return ret;
|
|
199
|
-
}
|
|
200
200
|
/**
|
|
201
201
|
* Load index with IndexedDB cache pre-loaded
|
|
202
202
|
*
|
|
@@ -266,6 +266,15 @@ export class IpfsIndex {
|
|
|
266
266
|
const ret = wasm.ipfsindex_save_cache_to_idb(this.__wbg_ptr);
|
|
267
267
|
return ret;
|
|
268
268
|
}
|
|
269
|
+
/**
|
|
270
|
+
* Structured search: accepts a query object instead of a query string.
|
|
271
|
+
* @param {any} request
|
|
272
|
+
* @returns {Promise<any>}
|
|
273
|
+
*/
|
|
274
|
+
searchStructured(request) {
|
|
275
|
+
const ret = wasm.ipfsindex_searchStructured(this.__wbg_ptr, request);
|
|
276
|
+
return ret;
|
|
277
|
+
}
|
|
269
278
|
/**
|
|
270
279
|
* Search the index
|
|
271
280
|
*
|
|
@@ -281,15 +290,6 @@ export class IpfsIndex {
|
|
|
281
290
|
const ret = wasm.ipfsindex_search(this.__wbg_ptr, ptr0, len0, limit);
|
|
282
291
|
return ret;
|
|
283
292
|
}
|
|
284
|
-
/**
|
|
285
|
-
* Structured search: accepts a query object instead of a query string.
|
|
286
|
-
* @param {any} request
|
|
287
|
-
* @returns {Promise<any>}
|
|
288
|
-
*/
|
|
289
|
-
searchStructured(request) {
|
|
290
|
-
const ret = wasm.ipfsindex_searchStructured(this.__wbg_ptr, request);
|
|
291
|
-
return ret;
|
|
292
|
-
}
|
|
293
293
|
/**
|
|
294
294
|
* Search the index with offset for pagination
|
|
295
295
|
* @param {string} query_str
|
|
@@ -396,32 +396,32 @@ export class LocalIndex {
|
|
|
396
396
|
return ret;
|
|
397
397
|
}
|
|
398
398
|
/**
|
|
399
|
-
* Get a document by its address.
|
|
399
|
+
* Get a document by its address, loading only the specified fields.
|
|
400
|
+
*
|
|
401
|
+
* `fields_to_load` is a JS array of field name strings, e.g. `["title", "body"]`.
|
|
400
402
|
* @param {string} segment_id
|
|
401
403
|
* @param {number} doc_id
|
|
404
|
+
* @param {string[]} fields_to_load
|
|
402
405
|
* @returns {Promise<any>}
|
|
403
406
|
*/
|
|
404
|
-
|
|
407
|
+
getDocumentWithFields(segment_id, doc_id, fields_to_load) {
|
|
405
408
|
const ptr0 = passStringToWasm0(segment_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
406
409
|
const len0 = WASM_VECTOR_LEN;
|
|
407
|
-
const
|
|
410
|
+
const ptr1 = passArrayJsValueToWasm0(fields_to_load, wasm.__wbindgen_malloc);
|
|
411
|
+
const len1 = WASM_VECTOR_LEN;
|
|
412
|
+
const ret = wasm.localindex_getDocumentWithFields(this.__wbg_ptr, ptr0, len0, doc_id, ptr1, len1);
|
|
408
413
|
return ret;
|
|
409
414
|
}
|
|
410
415
|
/**
|
|
411
|
-
* Get a document by its address
|
|
412
|
-
*
|
|
413
|
-
* `fields_to_load` is a JS array of field name strings, e.g. `["title", "body"]`.
|
|
416
|
+
* Get a document by its address.
|
|
414
417
|
* @param {string} segment_id
|
|
415
418
|
* @param {number} doc_id
|
|
416
|
-
* @param {string[]} fields_to_load
|
|
417
419
|
* @returns {Promise<any>}
|
|
418
420
|
*/
|
|
419
|
-
|
|
421
|
+
getDocument(segment_id, doc_id) {
|
|
420
422
|
const ptr0 = passStringToWasm0(segment_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
421
423
|
const len0 = WASM_VECTOR_LEN;
|
|
422
|
-
const
|
|
423
|
-
const len1 = WASM_VECTOR_LEN;
|
|
424
|
-
const ret = wasm.localindex_getDocumentWithFields(this.__wbg_ptr, ptr0, len0, doc_id, ptr1, len1);
|
|
424
|
+
const ret = wasm.localindex_getDocument(this.__wbg_ptr, ptr0, len0, doc_id);
|
|
425
425
|
return ret;
|
|
426
426
|
}
|
|
427
427
|
/**
|
|
@@ -440,20 +440,6 @@ export class LocalIndex {
|
|
|
440
440
|
const ret = wasm.localindex_pendingDocs(this.__wbg_ptr);
|
|
441
441
|
return ret >>> 0;
|
|
442
442
|
}
|
|
443
|
-
/**
|
|
444
|
-
* Search the index.
|
|
445
|
-
*
|
|
446
|
-
* Returns `{ hits: [{ address: { segment_id, doc_id }, score }], total_hits }`.
|
|
447
|
-
* @param {string} query_str
|
|
448
|
-
* @param {number} limit
|
|
449
|
-
* @returns {Promise<any>}
|
|
450
|
-
*/
|
|
451
|
-
search(query_str, limit) {
|
|
452
|
-
const ptr0 = passStringToWasm0(query_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
453
|
-
const len0 = WASM_VECTOR_LEN;
|
|
454
|
-
const ret = wasm.localindex_search(this.__wbg_ptr, ptr0, len0, limit);
|
|
455
|
-
return ret;
|
|
456
|
-
}
|
|
457
443
|
/**
|
|
458
444
|
* Search with offset for pagination.
|
|
459
445
|
* @param {string} query_str
|
|
@@ -485,6 +471,20 @@ export class LocalIndex {
|
|
|
485
471
|
const ret = wasm.localindex_searchStructured(this.__wbg_ptr, request);
|
|
486
472
|
return ret;
|
|
487
473
|
}
|
|
474
|
+
/**
|
|
475
|
+
* Search the index.
|
|
476
|
+
*
|
|
477
|
+
* Returns `{ hits: [{ address: { segment_id, doc_id }, score }], total_hits }`.
|
|
478
|
+
* @param {string} query_str
|
|
479
|
+
* @param {number} limit
|
|
480
|
+
* @returns {Promise<any>}
|
|
481
|
+
*/
|
|
482
|
+
search(query_str, limit) {
|
|
483
|
+
const ptr0 = passStringToWasm0(query_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
484
|
+
const len0 = WASM_VECTOR_LEN;
|
|
485
|
+
const ret = wasm.localindex_search(this.__wbg_ptr, ptr0, len0, limit);
|
|
486
|
+
return ret;
|
|
487
|
+
}
|
|
488
488
|
/**
|
|
489
489
|
* Create or open an index with a pluggable storage backend.
|
|
490
490
|
*
|
|
@@ -628,6 +628,16 @@ export class RemoteIndex {
|
|
|
628
628
|
throw takeFromExternrefTable0(ret[0]);
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* Load the slice cache from IndexedDB
|
|
633
|
+
*
|
|
634
|
+
* Call this after load() to restore cached data from a previous session.
|
|
635
|
+
* @returns {Promise<boolean>}
|
|
636
|
+
*/
|
|
637
|
+
load_cache_from_idb() {
|
|
638
|
+
const ret = wasm.remoteindex_load_cache_from_idb(this.__wbg_ptr);
|
|
639
|
+
return ret;
|
|
640
|
+
}
|
|
631
641
|
/**
|
|
632
642
|
* Load index from URL using hermes-core Index with slice caching
|
|
633
643
|
*
|
|
@@ -639,16 +649,6 @@ export class RemoteIndex {
|
|
|
639
649
|
const ret = wasm.remoteindex_load(this.__wbg_ptr);
|
|
640
650
|
return ret;
|
|
641
651
|
}
|
|
642
|
-
/**
|
|
643
|
-
* Load the slice cache from IndexedDB
|
|
644
|
-
*
|
|
645
|
-
* Call this after load() to restore cached data from a previous session.
|
|
646
|
-
* @returns {Promise<boolean>}
|
|
647
|
-
*/
|
|
648
|
-
load_cache_from_idb() {
|
|
649
|
-
const ret = wasm.remoteindex_load_cache_from_idb(this.__wbg_ptr);
|
|
650
|
-
return ret;
|
|
651
|
-
}
|
|
652
652
|
/**
|
|
653
653
|
* Load index with IndexedDB cache pre-loaded
|
|
654
654
|
*
|
|
@@ -713,6 +713,15 @@ export class RemoteIndex {
|
|
|
713
713
|
const ret = wasm.remoteindex_save_cache_to_idb(this.__wbg_ptr);
|
|
714
714
|
return ret;
|
|
715
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* Structured search: accepts a query object instead of a query string.
|
|
718
|
+
* @param {any} request
|
|
719
|
+
* @returns {Promise<any>}
|
|
720
|
+
*/
|
|
721
|
+
searchStructured(request) {
|
|
722
|
+
const ret = wasm.remoteindex_searchStructured(this.__wbg_ptr, request);
|
|
723
|
+
return ret;
|
|
724
|
+
}
|
|
716
725
|
/**
|
|
717
726
|
* Search the index
|
|
718
727
|
*
|
|
@@ -731,15 +740,6 @@ export class RemoteIndex {
|
|
|
731
740
|
const ret = wasm.remoteindex_search(this.__wbg_ptr, ptr0, len0, limit);
|
|
732
741
|
return ret;
|
|
733
742
|
}
|
|
734
|
-
/**
|
|
735
|
-
* Structured search: accepts a query object instead of a query string.
|
|
736
|
-
* @param {any} request
|
|
737
|
-
* @returns {Promise<any>}
|
|
738
|
-
*/
|
|
739
|
-
searchStructured(request) {
|
|
740
|
-
const ret = wasm.remoteindex_searchStructured(this.__wbg_ptr, request);
|
|
741
|
-
return ret;
|
|
742
|
-
}
|
|
743
743
|
/**
|
|
744
744
|
* Search with offset for pagination
|
|
745
745
|
* @param {string} query_str
|
|
@@ -794,11 +794,11 @@ export function setup_logging() {
|
|
|
794
794
|
function __wbg_get_imports() {
|
|
795
795
|
const import0 = {
|
|
796
796
|
__proto__: null,
|
|
797
|
-
|
|
797
|
+
__wbg_Error_67e7344beaa85059: function(arg0, arg1) {
|
|
798
798
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
799
799
|
return ret;
|
|
800
800
|
},
|
|
801
|
-
|
|
801
|
+
__wbg_Number_c54e7112a3fa7e3e: function(arg0) {
|
|
802
802
|
const ret = Number(arg0);
|
|
803
803
|
return ret;
|
|
804
804
|
},
|
|
@@ -809,68 +809,68 @@ function __wbg_get_imports() {
|
|
|
809
809
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
810
810
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
811
811
|
},
|
|
812
|
-
|
|
812
|
+
__wbg___wbindgen_bigint_get_as_i64_b482365c149396c8: function(arg0, arg1) {
|
|
813
813
|
const v = arg1;
|
|
814
814
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
815
815
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
816
816
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
817
817
|
},
|
|
818
|
-
|
|
818
|
+
__wbg___wbindgen_boolean_get_7a12af2b3f899c5a: function(arg0) {
|
|
819
819
|
const v = arg0;
|
|
820
820
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
821
821
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
822
822
|
},
|
|
823
|
-
|
|
823
|
+
__wbg___wbindgen_debug_string_0e68cf47c9cbd9b0: function(arg0, arg1) {
|
|
824
824
|
const ret = debugString(arg1);
|
|
825
825
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
826
826
|
const len1 = WASM_VECTOR_LEN;
|
|
827
827
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
828
828
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
829
829
|
},
|
|
830
|
-
|
|
830
|
+
__wbg___wbindgen_in_50072d4d6e45c193: function(arg0, arg1) {
|
|
831
831
|
const ret = arg0 in arg1;
|
|
832
832
|
return ret;
|
|
833
833
|
},
|
|
834
|
-
|
|
834
|
+
__wbg___wbindgen_is_bigint_60fc0336cb14f5d7: function(arg0) {
|
|
835
835
|
const ret = typeof(arg0) === 'bigint';
|
|
836
836
|
return ret;
|
|
837
837
|
},
|
|
838
|
-
|
|
838
|
+
__wbg___wbindgen_is_function_fcda5e3902d732fe: function(arg0) {
|
|
839
839
|
const ret = typeof(arg0) === 'function';
|
|
840
840
|
return ret;
|
|
841
841
|
},
|
|
842
|
-
|
|
842
|
+
__wbg___wbindgen_is_null_5160b3e381865372: function(arg0) {
|
|
843
843
|
const ret = arg0 === null;
|
|
844
844
|
return ret;
|
|
845
845
|
},
|
|
846
|
-
|
|
846
|
+
__wbg___wbindgen_is_object_edb6b15aa3afe12e: function(arg0) {
|
|
847
847
|
const val = arg0;
|
|
848
848
|
const ret = typeof(val) === 'object' && val !== null;
|
|
849
849
|
return ret;
|
|
850
850
|
},
|
|
851
|
-
|
|
851
|
+
__wbg___wbindgen_is_string_c4f7cb494a2a21f1: function(arg0) {
|
|
852
852
|
const ret = typeof(arg0) === 'string';
|
|
853
853
|
return ret;
|
|
854
854
|
},
|
|
855
|
-
|
|
855
|
+
__wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
|
|
856
856
|
const ret = arg0 === undefined;
|
|
857
857
|
return ret;
|
|
858
858
|
},
|
|
859
|
-
|
|
859
|
+
__wbg___wbindgen_jsval_eq_9fdcd3c0a860dd3b: function(arg0, arg1) {
|
|
860
860
|
const ret = arg0 === arg1;
|
|
861
861
|
return ret;
|
|
862
862
|
},
|
|
863
|
-
|
|
863
|
+
__wbg___wbindgen_jsval_loose_eq_3c30021c243b64cd: function(arg0, arg1) {
|
|
864
864
|
const ret = arg0 == arg1;
|
|
865
865
|
return ret;
|
|
866
866
|
},
|
|
867
|
-
|
|
867
|
+
__wbg___wbindgen_number_get_1dc732b810cb937c: function(arg0, arg1) {
|
|
868
868
|
const obj = arg1;
|
|
869
869
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
870
870
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
871
871
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
872
872
|
},
|
|
873
|
-
|
|
873
|
+
__wbg___wbindgen_string_get_92ab86bb19cbc12f: function(arg0, arg1) {
|
|
874
874
|
const obj = arg1;
|
|
875
875
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
876
876
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -878,42 +878,42 @@ function __wbg_get_imports() {
|
|
|
878
878
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
879
879
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
880
880
|
},
|
|
881
|
-
|
|
881
|
+
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
882
882
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
883
883
|
},
|
|
884
|
-
|
|
884
|
+
__wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
|
|
885
885
|
arg0._wbg_cb_unref();
|
|
886
886
|
},
|
|
887
|
-
|
|
887
|
+
__wbg_abort_03f8c5804715cb9a: function(arg0, arg1) {
|
|
888
888
|
arg0.abort(arg1);
|
|
889
889
|
},
|
|
890
|
-
|
|
890
|
+
__wbg_abort_76dea11221098ae5: function(arg0) {
|
|
891
891
|
arg0.abort();
|
|
892
892
|
},
|
|
893
|
-
|
|
893
|
+
__wbg_append_8e87c13f0f08f8cd: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
894
894
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
895
895
|
}, arguments); },
|
|
896
|
-
|
|
896
|
+
__wbg_arrayBuffer_06f3da76f071d37f: function() { return handleError(function (arg0) {
|
|
897
897
|
const ret = arg0.arrayBuffer();
|
|
898
898
|
return ret;
|
|
899
899
|
}, arguments); },
|
|
900
|
-
|
|
900
|
+
__wbg_buffer_4a989bded7035f57: function(arg0) {
|
|
901
901
|
const ret = arg0.buffer;
|
|
902
902
|
return ret;
|
|
903
903
|
},
|
|
904
|
-
|
|
905
|
-
const ret = arg0.call(arg1, arg2, arg3);
|
|
906
|
-
return ret;
|
|
907
|
-
}, arguments); },
|
|
908
|
-
__wbg_call_1c5886ab9c57d1c7: function() { return handleError(function (arg0, arg1) {
|
|
904
|
+
__wbg_call_269c5566fbede3eb: function() { return handleError(function (arg0, arg1) {
|
|
909
905
|
const ret = arg0.call(arg1);
|
|
910
906
|
return ret;
|
|
911
907
|
}, arguments); },
|
|
912
|
-
|
|
908
|
+
__wbg_call_6bcf8d3e20937e46: function() { return handleError(function (arg0, arg1, arg2) {
|
|
913
909
|
const ret = arg0.call(arg1, arg2);
|
|
914
910
|
return ret;
|
|
915
911
|
}, arguments); },
|
|
916
|
-
|
|
912
|
+
__wbg_call_7bbd9cceba9949ad: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
913
|
+
const ret = arg0.call(arg1, arg2, arg3);
|
|
914
|
+
return ret;
|
|
915
|
+
}, arguments); },
|
|
916
|
+
__wbg_call_c1ad1cb1b78e8130: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
917
917
|
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
918
918
|
return ret;
|
|
919
919
|
}, arguments); },
|
|
@@ -921,33 +921,36 @@ function __wbg_get_imports() {
|
|
|
921
921
|
const ret = clearTimeout(arg0);
|
|
922
922
|
return ret;
|
|
923
923
|
},
|
|
924
|
-
|
|
924
|
+
__wbg_contains_6f0186c842f4c23e: function(arg0, arg1, arg2) {
|
|
925
925
|
const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
|
|
926
926
|
return ret;
|
|
927
927
|
},
|
|
928
|
-
|
|
928
|
+
__wbg_createObjectStore_615d9f80ee29af47: function() { return handleError(function (arg0, arg1, arg2) {
|
|
929
929
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2));
|
|
930
930
|
return ret;
|
|
931
931
|
}, arguments); },
|
|
932
|
-
|
|
932
|
+
__wbg_debug_eb092a10b3338acb: function(arg0) {
|
|
933
933
|
console.debug(arg0);
|
|
934
934
|
},
|
|
935
|
-
|
|
935
|
+
__wbg_delete_c66e14397c562c32: function() { return handleError(function (arg0, arg1) {
|
|
936
936
|
const ret = arg0.delete(arg1);
|
|
937
937
|
return ret;
|
|
938
938
|
}, arguments); },
|
|
939
|
-
|
|
939
|
+
__wbg_done_cffed884d87aa22e: function(arg0) {
|
|
940
940
|
const ret = arg0.done;
|
|
941
941
|
return ret;
|
|
942
942
|
},
|
|
943
|
-
|
|
944
|
-
const ret =
|
|
943
|
+
__wbg_entries_972a87586902cf87: function(arg0) {
|
|
944
|
+
const ret = Object.entries(arg0);
|
|
945
945
|
return ret;
|
|
946
946
|
},
|
|
947
|
-
|
|
948
|
-
const ret =
|
|
947
|
+
__wbg_entries_f9de04c09a57314e: function(arg0) {
|
|
948
|
+
const ret = arg0.entries();
|
|
949
949
|
return ret;
|
|
950
950
|
},
|
|
951
|
+
__wbg_error_756c5934221e6fee: function(arg0) {
|
|
952
|
+
console.error(arg0);
|
|
953
|
+
},
|
|
951
954
|
__wbg_error_757e9472f8410341: function(arg0, arg1) {
|
|
952
955
|
let deferred0_0;
|
|
953
956
|
let deferred0_1;
|
|
@@ -959,41 +962,38 @@ function __wbg_get_imports() {
|
|
|
959
962
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
960
963
|
}
|
|
961
964
|
},
|
|
962
|
-
__wbg_error_dd408a7b3cb542dd: function(arg0) {
|
|
963
|
-
console.error(arg0);
|
|
964
|
-
},
|
|
965
965
|
__wbg_fetch_074561c3e313c86f: function(arg0) {
|
|
966
966
|
const ret = fetch(arg0);
|
|
967
967
|
return ret;
|
|
968
968
|
},
|
|
969
|
-
|
|
969
|
+
__wbg_fetch_82e0a5258707356f: function(arg0, arg1) {
|
|
970
970
|
const ret = arg0.fetch(arg1);
|
|
971
971
|
return ret;
|
|
972
972
|
},
|
|
973
|
-
|
|
973
|
+
__wbg_fetch_920242d59bac2026: function(arg0, arg1) {
|
|
974
974
|
const ret = arg0.fetch(arg1);
|
|
975
975
|
return ret;
|
|
976
976
|
},
|
|
977
977
|
__wbg_getRandomValues_a608c4436c19407a: function() { return handleError(function (arg0, arg1) {
|
|
978
978
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
979
979
|
}, arguments); },
|
|
980
|
-
|
|
981
|
-
const ret =
|
|
980
|
+
__wbg_get_6cf5a4d4d8ad3c5a: function() { return handleError(function (arg0, arg1) {
|
|
981
|
+
const ret = Reflect.get(arg0, arg1);
|
|
982
982
|
return ret;
|
|
983
983
|
}, arguments); },
|
|
984
|
-
|
|
984
|
+
__wbg_get_989d0a1309644f2b: function() { return handleError(function (arg0, arg1) {
|
|
985
985
|
const ret = Reflect.get(arg0, arg1);
|
|
986
986
|
return ret;
|
|
987
987
|
}, arguments); },
|
|
988
|
-
|
|
988
|
+
__wbg_get_a1a386ee18563120: function() { return handleError(function (arg0, arg1) {
|
|
989
|
+
const ret = arg0.get(arg1);
|
|
990
|
+
return ret;
|
|
991
|
+
}, arguments); },
|
|
992
|
+
__wbg_get_b1f0ab13c737f856: function(arg0, arg1) {
|
|
989
993
|
const ret = arg0[arg1 >>> 0];
|
|
990
994
|
return ret;
|
|
991
995
|
},
|
|
992
|
-
|
|
993
|
-
const ret = Reflect.get(arg0, arg1);
|
|
994
|
-
return ret;
|
|
995
|
-
}, arguments); },
|
|
996
|
-
__wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
|
|
996
|
+
__wbg_get_unchecked_363572bdd397d473: function(arg0, arg1) {
|
|
997
997
|
const ret = arg0[arg1 >>> 0];
|
|
998
998
|
return ret;
|
|
999
999
|
},
|
|
@@ -1001,22 +1001,22 @@ function __wbg_get_imports() {
|
|
|
1001
1001
|
const ret = arg0[arg1];
|
|
1002
1002
|
return ret;
|
|
1003
1003
|
},
|
|
1004
|
-
|
|
1004
|
+
__wbg_has_464f8b9416279d65: function() { return handleError(function (arg0, arg1) {
|
|
1005
1005
|
const ret = Reflect.has(arg0, arg1);
|
|
1006
1006
|
return ret;
|
|
1007
1007
|
}, arguments); },
|
|
1008
|
-
|
|
1008
|
+
__wbg_headers_2594464ff62969f3: function(arg0) {
|
|
1009
1009
|
const ret = arg0.headers;
|
|
1010
1010
|
return ret;
|
|
1011
1011
|
},
|
|
1012
|
-
|
|
1012
|
+
__wbg_indexedDB_2d959d90beb14c29: function() { return handleError(function (arg0) {
|
|
1013
1013
|
const ret = arg0.indexedDB;
|
|
1014
1014
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1015
1015
|
}, arguments); },
|
|
1016
|
-
|
|
1016
|
+
__wbg_info_f25c01bee103395d: function(arg0) {
|
|
1017
1017
|
console.info(arg0);
|
|
1018
1018
|
},
|
|
1019
|
-
|
|
1019
|
+
__wbg_instanceof_ArrayBuffer_d4ff01f8247925ae: function(arg0) {
|
|
1020
1020
|
let result;
|
|
1021
1021
|
try {
|
|
1022
1022
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1026,7 +1026,7 @@ function __wbg_get_imports() {
|
|
|
1026
1026
|
const ret = result;
|
|
1027
1027
|
return ret;
|
|
1028
1028
|
},
|
|
1029
|
-
|
|
1029
|
+
__wbg_instanceof_IdbDatabase_ae33ffa3aa7692d2: function(arg0) {
|
|
1030
1030
|
let result;
|
|
1031
1031
|
try {
|
|
1032
1032
|
result = arg0 instanceof IDBDatabase;
|
|
@@ -1036,7 +1036,7 @@ function __wbg_get_imports() {
|
|
|
1036
1036
|
const ret = result;
|
|
1037
1037
|
return ret;
|
|
1038
1038
|
},
|
|
1039
|
-
|
|
1039
|
+
__wbg_instanceof_IdbOpenDbRequest_02e2ab03818fe24d: function(arg0) {
|
|
1040
1040
|
let result;
|
|
1041
1041
|
try {
|
|
1042
1042
|
result = arg0 instanceof IDBOpenDBRequest;
|
|
@@ -1046,7 +1046,7 @@ function __wbg_get_imports() {
|
|
|
1046
1046
|
const ret = result;
|
|
1047
1047
|
return ret;
|
|
1048
1048
|
},
|
|
1049
|
-
|
|
1049
|
+
__wbg_instanceof_IdbRequest_a43e52936679d71f: function(arg0) {
|
|
1050
1050
|
let result;
|
|
1051
1051
|
try {
|
|
1052
1052
|
result = arg0 instanceof IDBRequest;
|
|
@@ -1056,7 +1056,7 @@ function __wbg_get_imports() {
|
|
|
1056
1056
|
const ret = result;
|
|
1057
1057
|
return ret;
|
|
1058
1058
|
},
|
|
1059
|
-
|
|
1059
|
+
__wbg_instanceof_Map_1ff6a2b54c899f0d: function(arg0) {
|
|
1060
1060
|
let result;
|
|
1061
1061
|
try {
|
|
1062
1062
|
result = arg0 instanceof Map;
|
|
@@ -1066,7 +1066,7 @@ function __wbg_get_imports() {
|
|
|
1066
1066
|
const ret = result;
|
|
1067
1067
|
return ret;
|
|
1068
1068
|
},
|
|
1069
|
-
|
|
1069
|
+
__wbg_instanceof_Response_6366a785e400039b: function(arg0) {
|
|
1070
1070
|
let result;
|
|
1071
1071
|
try {
|
|
1072
1072
|
result = arg0 instanceof Response;
|
|
@@ -1076,7 +1076,7 @@ function __wbg_get_imports() {
|
|
|
1076
1076
|
const ret = result;
|
|
1077
1077
|
return ret;
|
|
1078
1078
|
},
|
|
1079
|
-
|
|
1079
|
+
__wbg_instanceof_Uint8Array_598adc0fef426aa8: function(arg0) {
|
|
1080
1080
|
let result;
|
|
1081
1081
|
try {
|
|
1082
1082
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1086,7 +1086,7 @@ function __wbg_get_imports() {
|
|
|
1086
1086
|
const ret = result;
|
|
1087
1087
|
return ret;
|
|
1088
1088
|
},
|
|
1089
|
-
|
|
1089
|
+
__wbg_instanceof_Window_a3b8566f0a9c5d1a: function(arg0) {
|
|
1090
1090
|
let result;
|
|
1091
1091
|
try {
|
|
1092
1092
|
result = arg0 instanceof Window;
|
|
@@ -1096,23 +1096,23 @@ function __wbg_get_imports() {
|
|
|
1096
1096
|
const ret = result;
|
|
1097
1097
|
return ret;
|
|
1098
1098
|
},
|
|
1099
|
-
|
|
1099
|
+
__wbg_isArray_5674713bb7b79043: function(arg0) {
|
|
1100
1100
|
const ret = Array.isArray(arg0);
|
|
1101
1101
|
return ret;
|
|
1102
1102
|
},
|
|
1103
|
-
|
|
1103
|
+
__wbg_isSafeInteger_8f51c743827d1ec5: function(arg0) {
|
|
1104
1104
|
const ret = Number.isSafeInteger(arg0);
|
|
1105
1105
|
return ret;
|
|
1106
1106
|
},
|
|
1107
|
-
|
|
1107
|
+
__wbg_iterator_22ddeb808cf55a6f: function() {
|
|
1108
1108
|
const ret = Symbol.iterator;
|
|
1109
1109
|
return ret;
|
|
1110
1110
|
},
|
|
1111
|
-
|
|
1111
|
+
__wbg_length_31bdaf014f5fbde2: function(arg0) {
|
|
1112
1112
|
const ret = arg0.length;
|
|
1113
1113
|
return ret;
|
|
1114
1114
|
},
|
|
1115
|
-
|
|
1115
|
+
__wbg_length_4e1adc0d42e23620: function(arg0) {
|
|
1116
1116
|
const ret = arg0.length;
|
|
1117
1117
|
return ret;
|
|
1118
1118
|
},
|
|
@@ -1120,49 +1120,49 @@ function __wbg_get_imports() {
|
|
|
1120
1120
|
const ret = LocalIndex.__wrap(arg0);
|
|
1121
1121
|
return ret;
|
|
1122
1122
|
},
|
|
1123
|
-
|
|
1123
|
+
__wbg_log_363d83b9114c8831: function(arg0) {
|
|
1124
1124
|
console.log(arg0);
|
|
1125
1125
|
},
|
|
1126
|
-
|
|
1127
|
-
const ret = new
|
|
1126
|
+
__wbg_new_0afe64b4dc16ab74: function() { return handleError(function () {
|
|
1127
|
+
const ret = new Headers();
|
|
1128
|
+
return ret;
|
|
1129
|
+
}, arguments); },
|
|
1130
|
+
__wbg_new_1da3429bc3c4541c: function(arg0) {
|
|
1131
|
+
const ret = new Uint8Array(arg0);
|
|
1128
1132
|
return ret;
|
|
1129
1133
|
},
|
|
1130
1134
|
__wbg_new_227d7c05414eb861: function() {
|
|
1131
1135
|
const ret = new Error();
|
|
1132
1136
|
return ret;
|
|
1133
1137
|
},
|
|
1134
|
-
|
|
1135
|
-
const ret = new
|
|
1138
|
+
__wbg_new_8d36e20aa758e411: function() {
|
|
1139
|
+
const ret = new Map();
|
|
1136
1140
|
return ret;
|
|
1137
1141
|
},
|
|
1138
|
-
|
|
1139
|
-
const ret = new
|
|
1142
|
+
__wbg_new_baa0a0207935dd43: function() { return handleError(function () {
|
|
1143
|
+
const ret = new AbortController();
|
|
1140
1144
|
return ret;
|
|
1141
1145
|
}, arguments); },
|
|
1142
|
-
|
|
1143
|
-
const ret = new Map();
|
|
1144
|
-
return ret;
|
|
1145
|
-
},
|
|
1146
|
-
__wbg_new_ebe3e0f6837f0879: function() {
|
|
1146
|
+
__wbg_new_bebc3f4757acf305: function() {
|
|
1147
1147
|
const ret = new Object();
|
|
1148
1148
|
return ret;
|
|
1149
1149
|
},
|
|
1150
|
-
|
|
1151
|
-
const ret = new
|
|
1150
|
+
__wbg_new_ffa92086ea89f79c: function() {
|
|
1151
|
+
const ret = new Array();
|
|
1152
1152
|
return ret;
|
|
1153
|
-
},
|
|
1154
|
-
|
|
1153
|
+
},
|
|
1154
|
+
__wbg_new_from_slice_4ee02165f9de919e: function(arg0, arg1) {
|
|
1155
1155
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1156
1156
|
return ret;
|
|
1157
1157
|
},
|
|
1158
|
-
|
|
1158
|
+
__wbg_new_typed_6f8b0d724fe26c07: function(arg0, arg1) {
|
|
1159
1159
|
try {
|
|
1160
1160
|
var state0 = {a: arg0, b: arg1};
|
|
1161
1161
|
var cb0 = (arg0, arg1) => {
|
|
1162
1162
|
const a = state0.a;
|
|
1163
1163
|
state0.a = 0;
|
|
1164
1164
|
try {
|
|
1165
|
-
return
|
|
1165
|
+
return wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1166
1166
|
} finally {
|
|
1167
1167
|
state0.a = a;
|
|
1168
1168
|
}
|
|
@@ -1173,61 +1173,61 @@ function __wbg_get_imports() {
|
|
|
1173
1173
|
state0.a = 0;
|
|
1174
1174
|
}
|
|
1175
1175
|
},
|
|
1176
|
-
|
|
1176
|
+
__wbg_new_with_str_and_init_2f31a77deda127fd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1177
1177
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1178
1178
|
return ret;
|
|
1179
1179
|
}, arguments); },
|
|
1180
|
-
|
|
1181
|
-
const ret = arg0.next();
|
|
1182
|
-
return ret;
|
|
1183
|
-
}, arguments); },
|
|
1184
|
-
__wbg_next_8f26b64fa5e9f64b: function(arg0) {
|
|
1180
|
+
__wbg_next_95053e306b1c3aed: function(arg0) {
|
|
1185
1181
|
const ret = arg0.next;
|
|
1186
1182
|
return ret;
|
|
1187
1183
|
},
|
|
1188
|
-
|
|
1184
|
+
__wbg_next_f31ecb8646d2c605: function() { return handleError(function (arg0) {
|
|
1185
|
+
const ret = arg0.next();
|
|
1186
|
+
return ret;
|
|
1187
|
+
}, arguments); },
|
|
1188
|
+
__wbg_now_0b7736bc17fd7719: function(arg0) {
|
|
1189
1189
|
const ret = arg0.now();
|
|
1190
1190
|
return ret;
|
|
1191
1191
|
},
|
|
1192
|
-
|
|
1192
|
+
__wbg_objectStoreNames_0d5b2223ea497c57: function(arg0) {
|
|
1193
1193
|
const ret = arg0.objectStoreNames;
|
|
1194
1194
|
return ret;
|
|
1195
1195
|
},
|
|
1196
|
-
|
|
1196
|
+
__wbg_objectStore_54d81e3f83434edc: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1197
1197
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
1198
1198
|
return ret;
|
|
1199
1199
|
}, arguments); },
|
|
1200
|
-
|
|
1200
|
+
__wbg_ok_0d8e8fee3573b7ce: function(arg0) {
|
|
1201
1201
|
const ret = arg0.ok;
|
|
1202
1202
|
return ret;
|
|
1203
1203
|
},
|
|
1204
|
-
|
|
1204
|
+
__wbg_open_56eb9bc2b4228b89: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1205
1205
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
1206
1206
|
return ret;
|
|
1207
1207
|
}, arguments); },
|
|
1208
|
-
|
|
1208
|
+
__wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
|
|
1209
1209
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1210
1210
|
},
|
|
1211
|
-
|
|
1211
|
+
__wbg_push_bfdf956ba476f65b: function(arg0, arg1) {
|
|
1212
1212
|
const ret = arg0.push(arg1);
|
|
1213
1213
|
return ret;
|
|
1214
1214
|
},
|
|
1215
|
-
|
|
1215
|
+
__wbg_put_7d52c69d9da5ab22: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1216
1216
|
const ret = arg0.put(arg1, arg2);
|
|
1217
1217
|
return ret;
|
|
1218
1218
|
}, arguments); },
|
|
1219
|
-
|
|
1220
|
-
queueMicrotask(arg0);
|
|
1221
|
-
},
|
|
1222
|
-
__wbg_queueMicrotask_be5fe34a8f4cad4d: function(arg0) {
|
|
1219
|
+
__wbg_queueMicrotask_85c90f6987555d65: function(arg0) {
|
|
1223
1220
|
const ret = arg0.queueMicrotask;
|
|
1224
1221
|
return ret;
|
|
1225
1222
|
},
|
|
1226
|
-
|
|
1223
|
+
__wbg_queueMicrotask_f6a1fa10b81d1fc0: function(arg0) {
|
|
1224
|
+
queueMicrotask(arg0);
|
|
1225
|
+
},
|
|
1226
|
+
__wbg_resolve_35ec7e0c6af4c82c: function(arg0) {
|
|
1227
1227
|
const ret = Promise.resolve(arg0);
|
|
1228
1228
|
return ret;
|
|
1229
1229
|
},
|
|
1230
|
-
|
|
1230
|
+
__wbg_result_1ee542654b519ece: function() { return handleError(function (arg0) {
|
|
1231
1231
|
const ret = arg0.result;
|
|
1232
1232
|
return ret;
|
|
1233
1233
|
}, arguments); },
|
|
@@ -1235,50 +1235,50 @@ function __wbg_get_imports() {
|
|
|
1235
1235
|
const ret = setTimeout(arg0, arg1);
|
|
1236
1236
|
return ret;
|
|
1237
1237
|
},
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
return ret;
|
|
1238
|
+
__wbg_set_13d25b81ab403f5e: function(arg0, arg1, arg2) {
|
|
1239
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1241
1240
|
},
|
|
1242
1241
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1243
1242
|
arg0[arg1] = arg2;
|
|
1244
1243
|
},
|
|
1245
|
-
|
|
1246
|
-
|
|
1244
|
+
__wbg_set_bf6dde4923b9b059: function(arg0, arg1, arg2) {
|
|
1245
|
+
const ret = arg0.set(arg1, arg2);
|
|
1246
|
+
return ret;
|
|
1247
1247
|
},
|
|
1248
|
-
|
|
1248
|
+
__wbg_set_body_f39cee72c74a5b02: function(arg0, arg1) {
|
|
1249
1249
|
arg0.body = arg1;
|
|
1250
1250
|
},
|
|
1251
|
-
|
|
1251
|
+
__wbg_set_cache_6e8c35a5ed76edb1: function(arg0, arg1) {
|
|
1252
1252
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1253
1253
|
},
|
|
1254
|
-
|
|
1254
|
+
__wbg_set_credentials_bf1d3e014213a571: function(arg0, arg1) {
|
|
1255
1255
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1256
1256
|
},
|
|
1257
|
-
|
|
1257
|
+
__wbg_set_headers_31d373f68f28bf76: function(arg0, arg1) {
|
|
1258
1258
|
arg0.headers = arg1;
|
|
1259
1259
|
},
|
|
1260
|
-
|
|
1260
|
+
__wbg_set_method_82e6c3c083da0734: function(arg0, arg1, arg2) {
|
|
1261
1261
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1262
1262
|
},
|
|
1263
|
-
|
|
1263
|
+
__wbg_set_mode_f7e56ed768d0ade0: function(arg0, arg1) {
|
|
1264
1264
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1265
1265
|
},
|
|
1266
|
-
|
|
1266
|
+
__wbg_set_oncomplete_18b4816241642ed1: function(arg0, arg1) {
|
|
1267
1267
|
arg0.oncomplete = arg1;
|
|
1268
1268
|
},
|
|
1269
|
-
|
|
1269
|
+
__wbg_set_onerror_1938848fb2ee8cc8: function(arg0, arg1) {
|
|
1270
1270
|
arg0.onerror = arg1;
|
|
1271
1271
|
},
|
|
1272
|
-
|
|
1272
|
+
__wbg_set_onsuccess_4e8073573d1f2b4e: function(arg0, arg1) {
|
|
1273
1273
|
arg0.onsuccess = arg1;
|
|
1274
1274
|
},
|
|
1275
|
-
|
|
1275
|
+
__wbg_set_onupgradeneeded_49d6dd635034b91f: function(arg0, arg1) {
|
|
1276
1276
|
arg0.onupgradeneeded = arg1;
|
|
1277
1277
|
},
|
|
1278
|
-
|
|
1278
|
+
__wbg_set_signal_f4b32f40f19786f4: function(arg0, arg1) {
|
|
1279
1279
|
arg0.signal = arg1;
|
|
1280
1280
|
},
|
|
1281
|
-
|
|
1281
|
+
__wbg_signal_45367c6c2255877a: function(arg0) {
|
|
1282
1282
|
const ret = arg0.signal;
|
|
1283
1283
|
return ret;
|
|
1284
1284
|
},
|
|
@@ -1289,96 +1289,96 @@ function __wbg_get_imports() {
|
|
|
1289
1289
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1290
1290
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1291
1291
|
},
|
|
1292
|
-
|
|
1293
|
-
const ret = typeof
|
|
1292
|
+
__wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
|
|
1293
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1294
1294
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1295
1295
|
},
|
|
1296
|
-
|
|
1297
|
-
const ret = typeof
|
|
1296
|
+
__wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
|
|
1297
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1298
1298
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1299
1299
|
},
|
|
1300
|
-
|
|
1300
|
+
__wbg_static_accessor_SELF_d8b50611246a6d92: function() {
|
|
1301
1301
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1302
1302
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1303
1303
|
},
|
|
1304
|
-
|
|
1304
|
+
__wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
|
|
1305
1305
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1306
1306
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1307
1307
|
},
|
|
1308
|
-
|
|
1308
|
+
__wbg_status_88ccc72fe7bea621: function(arg0) {
|
|
1309
1309
|
const ret = arg0.status;
|
|
1310
1310
|
return ret;
|
|
1311
1311
|
},
|
|
1312
|
-
|
|
1312
|
+
__wbg_target_3e80dc66a5936e87: function(arg0) {
|
|
1313
1313
|
const ret = arg0.target;
|
|
1314
1314
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1315
1315
|
},
|
|
1316
|
-
|
|
1317
|
-
const ret = arg0.then(arg1);
|
|
1316
|
+
__wbg_then_7a850dae4493f353: function(arg0, arg1, arg2) {
|
|
1317
|
+
const ret = arg0.then(arg1, arg2);
|
|
1318
1318
|
return ret;
|
|
1319
1319
|
},
|
|
1320
|
-
|
|
1321
|
-
const ret = arg0.then(arg1
|
|
1320
|
+
__wbg_then_b830475380919203: function(arg0, arg1) {
|
|
1321
|
+
const ret = arg0.then(arg1);
|
|
1322
1322
|
return ret;
|
|
1323
1323
|
},
|
|
1324
|
-
|
|
1324
|
+
__wbg_transaction_5915699c9044222a: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1325
1325
|
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2));
|
|
1326
1326
|
return ret;
|
|
1327
1327
|
}, arguments); },
|
|
1328
|
-
|
|
1328
|
+
__wbg_transaction_a42a399637cea7ea: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1329
1329
|
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
|
|
1330
1330
|
return ret;
|
|
1331
1331
|
}, arguments); },
|
|
1332
|
-
|
|
1332
|
+
__wbg_url_f1948b0d7f881e02: function(arg0, arg1) {
|
|
1333
1333
|
const ret = arg1.url;
|
|
1334
1334
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1335
1335
|
const len1 = WASM_VECTOR_LEN;
|
|
1336
1336
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1337
1337
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1338
1338
|
},
|
|
1339
|
-
|
|
1339
|
+
__wbg_value_c227f843d21da141: function(arg0) {
|
|
1340
1340
|
const ret = arg0.value;
|
|
1341
1341
|
return ret;
|
|
1342
1342
|
},
|
|
1343
|
-
|
|
1343
|
+
__wbg_warn_d3544c7814fab534: function(arg0) {
|
|
1344
1344
|
console.warn(arg0);
|
|
1345
1345
|
},
|
|
1346
|
-
|
|
1347
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1348
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1346
|
+
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1347
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1887, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1348
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___wasm_bindgen_7dc0dc7663c6ddce___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_7dc0dc7663c6ddce___JsError___true_);
|
|
1349
1349
|
return ret;
|
|
1350
1350
|
},
|
|
1351
|
-
|
|
1352
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1353
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1351
|
+
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
1352
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 350, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1353
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_);
|
|
1354
1354
|
return ret;
|
|
1355
1355
|
},
|
|
1356
|
-
|
|
1357
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx:
|
|
1358
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1356
|
+
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
1357
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 350, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1358
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__66);
|
|
1359
1359
|
return ret;
|
|
1360
1360
|
},
|
|
1361
|
-
|
|
1362
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1363
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1361
|
+
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
1362
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1019, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1363
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke_______true_);
|
|
1364
1364
|
return ret;
|
|
1365
1365
|
},
|
|
1366
|
-
|
|
1366
|
+
__wbindgen_generic_0000000000000005: function(arg0) {
|
|
1367
1367
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1368
1368
|
const ret = arg0;
|
|
1369
1369
|
return ret;
|
|
1370
1370
|
},
|
|
1371
|
-
|
|
1371
|
+
__wbindgen_generic_0000000000000006: function(arg0) {
|
|
1372
1372
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1373
1373
|
const ret = arg0;
|
|
1374
1374
|
return ret;
|
|
1375
1375
|
},
|
|
1376
|
-
|
|
1376
|
+
__wbindgen_generic_0000000000000007: function(arg0, arg1) {
|
|
1377
1377
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1378
1378
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1379
1379
|
return ret;
|
|
1380
1380
|
},
|
|
1381
|
-
|
|
1381
|
+
__wbindgen_generic_0000000000000008: function(arg0) {
|
|
1382
1382
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1383
1383
|
const ret = BigInt.asUintN(64, arg0);
|
|
1384
1384
|
return ret;
|
|
@@ -1399,27 +1399,27 @@ function __wbg_get_imports() {
|
|
|
1399
1399
|
};
|
|
1400
1400
|
}
|
|
1401
1401
|
|
|
1402
|
-
function
|
|
1403
|
-
wasm.
|
|
1402
|
+
function wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1403
|
+
wasm.wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
|
-
function
|
|
1407
|
-
wasm.
|
|
1406
|
+
function wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2) {
|
|
1407
|
+
wasm.wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true_(arg0, arg1, arg2);
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
|
-
function
|
|
1411
|
-
wasm.
|
|
1410
|
+
function wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__66(arg0, arg1, arg2) {
|
|
1411
|
+
wasm.wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___web_sys_456b715baf4530bf___features__gen_IdbVersionChangeEvent__IdbVersionChangeEvent______true__66(arg0, arg1, arg2);
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
|
-
function
|
|
1415
|
-
const ret = wasm.
|
|
1414
|
+
function wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___wasm_bindgen_7dc0dc7663c6ddce___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_7dc0dc7663c6ddce___JsError___true_(arg0, arg1, arg2) {
|
|
1415
|
+
const ret = wasm.wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___wasm_bindgen_7dc0dc7663c6ddce___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_7dc0dc7663c6ddce___JsError___true_(arg0, arg1, arg2);
|
|
1416
1416
|
if (ret[1]) {
|
|
1417
1417
|
throw takeFromExternrefTable0(ret[0]);
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
|
-
function
|
|
1422
|
-
wasm.
|
|
1421
|
+
function wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
1422
|
+
wasm.wasm_bindgen_7dc0dc7663c6ddce___convert__closures_____invoke___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined___js_sys_59b4256fe4dcc1af___Function_fn_wasm_bindgen_7dc0dc7663c6ddce___JsValue_____wasm_bindgen_7dc0dc7663c6ddce___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
1425
|
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|