@wiscale/velesdb-wasm 1.5.1 → 1.7.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 Wiscale France
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # VelesDB WASM
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@wiscale/velesdb-wasm)](https://www.npmjs.com/package/@wiscale/velesdb-wasm)
4
- [![License](https://img.shields.io/badge/license-ELv2-blue)](https://github.com/cyberlife-coder/VelesDB/blob/main/LICENSE)
4
+ [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
5
5
 
6
6
  WebAssembly build of [VelesDB](https://github.com/cyberlife-coder/VelesDB) - vector search in the browser.
7
7
 
@@ -11,6 +11,10 @@ WebAssembly build of [VelesDB](https://github.com/cyberlife-coder/VelesDB) - vec
11
11
  - **SIMD optimized** - Uses WASM SIMD128 for fast distance calculations
12
12
  - **Multiple metrics** - Cosine, Euclidean, Dot Product, Hamming, Jaccard
13
13
  - **Memory optimization** - SQ8 (4x) and Binary (32x) quantization
14
+ - **Knowledge Graph** - In-memory graph store with BFS/DFS traversal
15
+ - **Agent Memory** - Semantic memory for AI agents (store/query knowledge facts)
16
+ - **VelesQL parser** - Parse and validate VelesQL queries client-side
17
+ - **Sparse search** - Inverted index with RRF hybrid fusion
14
18
  - **Lightweight** - Minimal bundle size
15
19
 
16
20
  ## Installation
@@ -89,18 +93,26 @@ class VectorStore {
89
93
 
90
94
  // Methods
91
95
  insert(id: bigint, vector: Float32Array): void;
92
- insert_with_payload(id: bigint, vector: Float32Array, payload: object): void; insert_batch(batch: Array<[bigint, number[]]>): void; // Bulk insert
96
+ insert_with_payload(id: bigint, vector: Float32Array, payload: object): void;
97
+ insert_batch(batch: Array<[bigint, number[]]>): void; // Bulk insert
93
98
  search(query: Float32Array, k: number): Array<[bigint, number]>;
94
- search_with_filter(query: Float32Array, k: number, filter: object): Array<{id, score, payload}>; text_search(query: string, k: number, field?: string): Array<{id, score, payload}>; get(id: bigint): {id, vector, payload} | null; remove(id: bigint): boolean;
99
+ search_with_filter(query: Float32Array, k: number, filter: object): Array<{id, score, payload}>;
100
+ text_search(query: string, k: number, field?: string): Array<{id, score, payload}>;
101
+ get(id: bigint): {id, vector, payload} | null;
102
+ remove(id: bigint): boolean;
95
103
  clear(): void;
96
104
  reserve(additional: number): void; // Pre-allocate memory
97
105
  memory_usage(): number; // Accurate for each storage mode
98
106
 
99
107
  //
100
108
  multi_query_search(vectors: Float32Array, num_vectors: number, k: number, strategy?: string, rrf_k?: number): Array<[bigint, number]>;
101
- hybrid_search(vector: Float32Array, text_query: string, k: number, vector_weight?: number, field?: string): Array<{id, score, payload}>;
109
+ hybrid_search(vector: Float32Array, text_query: string, k: number, vector_weight?: number): Array<{id, score, payload}>;
102
110
  batch_search(vectors: Float32Array, num_vectors: number, k: number): Array<Array<[bigint, number]>>;
103
111
 
112
+ // Sparse search (inverted index)
113
+ sparse_insert(doc_id: bigint, indices: Uint32Array, values: Float32Array): void;
114
+ sparse_search(indices: Uint32Array, values: Float32Array, k: number): Array<{doc_id, score}>;
115
+
104
116
  // Metadata-only store
105
117
  static new_metadata_only(): VectorStore;
106
118
  readonly is_metadata_only: boolean;
@@ -256,38 +268,114 @@ The WASM build is optimized for client-side use cases but has some limitations c
256
268
  | Full-text search (BM25) | ✅ | ✅ |
257
269
  | Multi-query fusion (MQG) | ✅ | ✅ |
258
270
  | Batch search | ✅ | ✅ |
259
- | Full VelesQL queries | | ✅ |
260
- | Knowledge Graph operations | | ✅ |
271
+ | Sparse search | | ✅ |
272
+ | Knowledge Graph (nodes, edges, traversal) | | ✅ |
273
+ | Agent Memory (SemanticMemory) | ✅ | ✅ |
274
+ | VelesQL parsing & validation | ✅ | ✅ |
275
+ | VelesQL query execution | ❌ | ✅ |
261
276
  | JOIN operations | ❌ | ✅ |
262
277
  | Aggregations (GROUP BY) | ❌ | ✅ |
263
278
  | Persistence | IndexedDB | Disk (mmap) |
264
279
  | Max vectors | ~100K (browser RAM) | Millions |
265
280
 
266
- ### Unsupported Operations
281
+ ### VelesQL (Parser Only)
267
282
 
268
- When you try to use unsupported features, you'll get clear error messages:
283
+ VelesQL parsing and validation are available in WASM. You can parse queries, inspect their AST, and validate syntax client-side. However, query **execution** (running queries against data) requires the REST server.
269
284
 
270
285
  ```javascript
271
- // VelesQL string queries not supported in WASM
272
- // Use the native API instead:
286
+ import { VelesQL } from '@wiscale/velesdb-wasm';
287
+
288
+ // Parse and inspect a query
289
+ const parsed = VelesQL.parse("SELECT * FROM docs WHERE vector NEAR $v LIMIT 10");
290
+ console.log(parsed.tableName); // "docs"
291
+ console.log(parsed.hasVectorSearch); // true
292
+ console.log(parsed.limit); // 10
293
+
294
+ // Validate syntax
295
+ VelesQL.isValid("SELECT * FROM docs"); // true
296
+ VelesQL.isValid("SELEC * FROM docs"); // false
297
+
298
+ // Parse MATCH (graph) queries
299
+ const match = VelesQL.parse("MATCH (p:Person)-[:KNOWS]->(f:Person) RETURN f.name");
300
+ console.log(match.isMatch); // true
301
+ console.log(match.matchNodeCount); // 2
302
+ console.log(match.matchRelationshipCount); // 1
303
+ ```
273
304
 
274
- // Instead of: store.query("SELECT * FROM docs WHERE vector NEAR $v")
275
- // Use:
276
- const results = store.search(queryVector, 10);
305
+ ### Knowledge Graph (GraphStore)
277
306
 
278
- // Instead of: store.query("SELECT * FROM docs WHERE category = 'tech'")
279
- // Use:
280
- const results = store.search_with_filter(queryVector, 10, {
281
- condition: { type: "eq", field: "category", value: "tech" }
282
- });
307
+ Build and traverse in-memory knowledge graphs entirely in the browser:
308
+
309
+ ```javascript
310
+ import { GraphStore, GraphNode, GraphEdge } from '@wiscale/velesdb-wasm';
311
+
312
+ const graph = new GraphStore();
313
+
314
+ // Create nodes
315
+ const alice = new GraphNode(1n, "Person");
316
+ alice.set_string_property("name", "Alice");
317
+ const bob = new GraphNode(2n, "Person");
318
+ bob.set_string_property("name", "Bob");
319
+
320
+ graph.add_node(alice);
321
+ graph.add_node(bob);
322
+
323
+ // Create edges
324
+ const edge = new GraphEdge(1n, 1n, 2n, "KNOWS");
325
+ graph.add_edge(edge);
326
+
327
+ // Traverse
328
+ const neighbors = graph.get_neighbors(1n); // [2n]
329
+ const outgoing = graph.get_outgoing(1n); // [GraphEdge]
330
+ const bfsResults = graph.bfs_traverse(1n, 3, 100); // BFS up to depth 3
331
+ ```
332
+
333
+ ### Agent Memory (SemanticMemory)
334
+
335
+ Store and retrieve knowledge facts by semantic similarity for AI agent workloads:
336
+
337
+ ```javascript
338
+ import { SemanticMemory } from '@wiscale/velesdb-wasm';
339
+
340
+ const memory = new SemanticMemory(384);
341
+
342
+ // Store knowledge with embedding vectors
343
+ memory.store(1n, "Paris is the capital of France", embedding1);
344
+ memory.store(2n, "Berlin is the capital of Germany", embedding2);
345
+
346
+ // Query by similarity
347
+ const results = memory.query(queryEmbedding, 5);
348
+ // [{id, score, content}, ...]
349
+
350
+ console.log(memory.len); // 2
351
+ console.log(memory.dimension); // 384
352
+ ```
353
+
354
+ ### Sparse Search (SparseIndex)
355
+
356
+ Inverted-index search with sparse vectors and RRF hybrid fusion:
357
+
358
+ ```javascript
359
+ import { SparseIndex, hybrid_search_fuse } from '@wiscale/velesdb-wasm';
360
+
361
+ const index = new SparseIndex();
362
+
363
+ // Insert sparse vectors (term indices + weights)
364
+ index.insert(1n, new Uint32Array([10, 20, 30]), new Float32Array([1.0, 0.5, 0.3]));
365
+ index.insert(2n, new Uint32Array([10, 40]), new Float32Array([0.8, 1.2]));
366
+
367
+ // Search
368
+ const results = index.search(new Uint32Array([10, 20]), new Float32Array([1.0, 1.0]), 5);
369
+
370
+ // Fuse dense + sparse results with RRF
371
+ const fused = hybrid_search_fuse(denseResults, sparseResults, 60, 10);
283
372
  ```
284
373
 
285
374
  ### When to Use REST Backend
286
375
 
287
376
  Consider using the [REST server](https://github.com/cyberlife-coder/VelesDB) if you need:
288
377
 
289
- - **Full VelesQL support** - Complex SQL-like queries with JOINs and aggregations
290
- - **Knowledge Graph** - Entity relationships and graph traversal
378
+ - **VelesQL query execution** - Running queries against data (JOINs, aggregations, server-side filtering)
291
379
  - **Large datasets** - More than 100K vectors
292
380
  - **Server-side processing** - Centralized vector database
293
381
 
@@ -342,6 +430,6 @@ Typical latencies on modern browsers:
342
430
 
343
431
  ## License
344
432
 
345
- Elastic License 2.0 (ELv2)
433
+ MIT License (bindings). The core engine (`velesdb-core` and `velesdb-server`) is under VelesDB Core License 1.0.
346
434
 
347
- See [LICENSE](https://github.com/cyberlife-coder/VelesDB/blob/main/LICENSE) for details.
435
+ See [LICENSE](./LICENSE) for WASM bindings license, [root LICENSE](https://github.com/cyberlife-coder/VelesDB/blob/main/LICENSE) for core engine.
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  "Julien Lange <contact@wiscale.fr>"
6
6
  ],
7
7
  "description": "VelesDB for WebAssembly - Vector search in the browser",
8
- "version": "1.5.1",
9
- "license": "SEE LICENSE IN ../../LICENSE",
8
+ "version": "1.7.0",
9
+ "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/cyberlife-coder/velesdb"
package/velesdb_wasm.d.ts CHANGED
@@ -531,7 +531,9 @@ export enum StorageMode {
531
531
  */
532
532
  Binary = 2,
533
533
  /**
534
- * Product Quantization (currently mapped to SQ8 path in WASM runtime)
534
+ * Product Quantization **WASM limitation**: PQ requires `rayon`/`persistence`
535
+ * which are unavailable in WASM. This variant uses the SQ8 codepath as a
536
+ * fallback. For true PQ, use the native `velesdb-core` crate.
535
537
  */
536
538
  ProductQuantization = 3,
537
539
  }
@@ -616,6 +618,17 @@ export class VectorStore {
616
618
  get(id: bigint): any;
617
619
  /**
618
620
  * Hybrid search (vector + text). `vector_weight` 0-1 (default 0.5).
621
+ *
622
+ * For `Full` storage mode, this computes per-vector distance and text
623
+ * matching in a single pass. For quantized modes (`SQ8`, `Binary`,
624
+ * `ProductQuantization`), a decomposed approach is used: vector scores
625
+ * are obtained via the quantization-aware `compute_scores` path, text
626
+ * matches are evaluated independently on payloads, and the two result
627
+ * sets are fused with the requested weight. Quantized vector scores are
628
+ * approximate, so recall may differ slightly from `Full` mode.
629
+ *
630
+ * Returns `[{id, score, payload}, ...]` sorted by combined score
631
+ * descending, truncated to `k` results.
619
632
  */
620
633
  hybrid_search(query_vector: Float32Array, text_query: string, k: number, vector_weight?: number | null): any;
621
634
  /**
@@ -957,17 +970,17 @@ export interface InitOutput {
957
970
  readonly __wbg_set_traversalprogress_current_depth: (a: number, b: number) => void;
958
971
  readonly __wbg_set_traversalprogress_estimated_total: (a: number, b: number) => void;
959
972
  readonly __wbg_set_traversalprogress_visited_count: (a: number, b: number) => void;
960
- readonly __wbg_get_traversalprogress_is_complete: (a: number) => number;
961
973
  readonly __wbg_get_traversalprogress_current_depth: (a: number) => number;
962
974
  readonly __wbg_get_traversalprogress_estimated_total: (a: number) => number;
963
975
  readonly __wbg_get_traversalprogress_visited_count: (a: number) => number;
964
976
  readonly graphnode_id: (a: number) => bigint;
977
+ readonly __wbg_get_traversalprogress_is_complete: (a: number) => number;
965
978
  readonly __wbg_traversalprogress_free: (a: number, b: number) => void;
966
- readonly __wasm_bindgen_func_elem_1295: (a: number, b: number) => void;
967
- readonly __wasm_bindgen_func_elem_284: (a: number, b: number) => void;
968
- readonly __wasm_bindgen_func_elem_1296: (a: number, b: number, c: number, d: number) => void;
969
- readonly __wasm_bindgen_func_elem_1327: (a: number, b: number, c: number, d: number) => void;
970
- readonly __wasm_bindgen_func_elem_285: (a: number, b: number, c: number) => void;
979
+ readonly __wasm_bindgen_func_elem_1315: (a: number, b: number) => void;
980
+ readonly __wasm_bindgen_func_elem_291: (a: number, b: number) => void;
981
+ readonly __wasm_bindgen_func_elem_1316: (a: number, b: number, c: number, d: number) => void;
982
+ readonly __wasm_bindgen_func_elem_1356: (a: number, b: number, c: number, d: number) => void;
983
+ readonly __wasm_bindgen_func_elem_292: (a: number, b: number, c: number) => void;
971
984
  readonly __wbindgen_export: (a: number, b: number) => number;
972
985
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
973
986
  readonly __wbindgen_export3: (a: number) => void;
package/velesdb_wasm.js CHANGED
@@ -1366,7 +1366,9 @@ export const StorageMode = Object.freeze({
1366
1366
  */
1367
1367
  Binary: 2, "2": "Binary",
1368
1368
  /**
1369
- * Product Quantization (currently mapped to SQ8 path in WASM runtime)
1369
+ * Product Quantization **WASM limitation**: PQ requires `rayon`/`persistence`
1370
+ * which are unavailable in WASM. This variant uses the SQ8 codepath as a
1371
+ * fallback. For true PQ, use the native `velesdb-core` crate.
1370
1372
  */
1371
1373
  ProductQuantization: 3, "3": "ProductQuantization",
1372
1374
  });
@@ -1628,6 +1630,17 @@ export class VectorStore {
1628
1630
  }
1629
1631
  /**
1630
1632
  * Hybrid search (vector + text). `vector_weight` 0-1 (default 0.5).
1633
+ *
1634
+ * For `Full` storage mode, this computes per-vector distance and text
1635
+ * matching in a single pass. For quantized modes (`SQ8`, `Binary`,
1636
+ * `ProductQuantization`), a decomposed approach is used: vector scores
1637
+ * are obtained via the quantization-aware `compute_scores` path, text
1638
+ * matches are evaluated independently on payloads, and the two result
1639
+ * sets are fused with the requested weight. Quantized vector scores are
1640
+ * approximate, so recall may differ slightly from `Full` mode.
1641
+ *
1642
+ * Returns `[{id, score, payload}, ...]` sorted by combined score
1643
+ * descending, truncated to `k` results.
1631
1644
  * @param {Float32Array} query_vector
1632
1645
  * @param {string} text_query
1633
1646
  * @param {number} k
@@ -2261,11 +2274,11 @@ export function should_use_worker(node_count, max_depth, config) {
2261
2274
  function __wbg_get_imports() {
2262
2275
  const import0 = {
2263
2276
  __proto__: null,
2264
- __wbg_Error_4577686b3a6d9b3a: function(arg0, arg1) {
2277
+ __wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
2265
2278
  const ret = Error(getStringFromWasm0(arg0, arg1));
2266
2279
  return addHeapObject(ret);
2267
2280
  },
2268
- __wbg_Number_e89e48a2fe1a6355: function(arg0) {
2281
+ __wbg_Number_a5a435bd7bbec835: function(arg0) {
2269
2282
  const ret = Number(getObject(arg0));
2270
2283
  return ret;
2271
2284
  },
@@ -2276,68 +2289,68 @@ function __wbg_get_imports() {
2276
2289
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2277
2290
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2278
2291
  },
2279
- __wbg___wbindgen_bigint_get_as_i64_578010f8442e0319: function(arg0, arg1) {
2292
+ __wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
2280
2293
  const v = getObject(arg1);
2281
2294
  const ret = typeof(v) === 'bigint' ? v : undefined;
2282
2295
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
2283
2296
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2284
2297
  },
2285
- __wbg___wbindgen_boolean_get_18c4ed9422296fff: function(arg0) {
2298
+ __wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
2286
2299
  const v = getObject(arg0);
2287
2300
  const ret = typeof(v) === 'boolean' ? v : undefined;
2288
2301
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
2289
2302
  },
2290
- __wbg___wbindgen_debug_string_ddde1867f49c2442: function(arg0, arg1) {
2303
+ __wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
2291
2304
  const ret = debugString(getObject(arg1));
2292
2305
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2293
2306
  const len1 = WASM_VECTOR_LEN;
2294
2307
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2295
2308
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2296
2309
  },
2297
- __wbg___wbindgen_in_1064a108f4d18b9e: function(arg0, arg1) {
2310
+ __wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
2298
2311
  const ret = getObject(arg0) in getObject(arg1);
2299
2312
  return ret;
2300
2313
  },
2301
- __wbg___wbindgen_is_bigint_a157f0734ca85901: function(arg0) {
2314
+ __wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
2302
2315
  const ret = typeof(getObject(arg0)) === 'bigint';
2303
2316
  return ret;
2304
2317
  },
2305
- __wbg___wbindgen_is_function_d633e708baf0d146: function(arg0) {
2318
+ __wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
2306
2319
  const ret = typeof(getObject(arg0)) === 'function';
2307
2320
  return ret;
2308
2321
  },
2309
- __wbg___wbindgen_is_null_a2a19127c13e7126: function(arg0) {
2322
+ __wbg___wbindgen_is_null_0b605fc6b167c56f: function(arg0) {
2310
2323
  const ret = getObject(arg0) === null;
2311
2324
  return ret;
2312
2325
  },
2313
- __wbg___wbindgen_is_object_4b3de556756ee8a8: function(arg0) {
2326
+ __wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
2314
2327
  const val = getObject(arg0);
2315
2328
  const ret = typeof(val) === 'object' && val !== null;
2316
2329
  return ret;
2317
2330
  },
2318
- __wbg___wbindgen_is_string_7debe47dc1e045c2: function(arg0) {
2331
+ __wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
2319
2332
  const ret = typeof(getObject(arg0)) === 'string';
2320
2333
  return ret;
2321
2334
  },
2322
- __wbg___wbindgen_is_undefined_c18285b9fc34cb7d: function(arg0) {
2335
+ __wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
2323
2336
  const ret = getObject(arg0) === undefined;
2324
2337
  return ret;
2325
2338
  },
2326
- __wbg___wbindgen_jsval_eq_a6afb59d8c5e78d6: function(arg0, arg1) {
2339
+ __wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
2327
2340
  const ret = getObject(arg0) === getObject(arg1);
2328
2341
  return ret;
2329
2342
  },
2330
- __wbg___wbindgen_jsval_loose_eq_1562ceb9af84e990: function(arg0, arg1) {
2343
+ __wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
2331
2344
  const ret = getObject(arg0) == getObject(arg1);
2332
2345
  return ret;
2333
2346
  },
2334
- __wbg___wbindgen_number_get_5854912275df1894: function(arg0, arg1) {
2347
+ __wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
2335
2348
  const obj = getObject(arg1);
2336
2349
  const ret = typeof(obj) === 'number' ? obj : undefined;
2337
2350
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
2338
2351
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2339
2352
  },
2340
- __wbg___wbindgen_string_get_3e5751597f39a112: function(arg0, arg1) {
2353
+ __wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
2341
2354
  const obj = getObject(arg1);
2342
2355
  const ret = typeof(obj) === 'string' ? obj : undefined;
2343
2356
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -2345,75 +2358,75 @@ function __wbg_get_imports() {
2345
2358
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2346
2359
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2347
2360
  },
2348
- __wbg___wbindgen_throw_39bc967c0e5a9b58: function(arg0, arg1) {
2361
+ __wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
2349
2362
  throw new Error(getStringFromWasm0(arg0, arg1));
2350
2363
  },
2351
- __wbg__wbg_cb_unref_b6d832240a919168: function(arg0) {
2364
+ __wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
2352
2365
  getObject(arg0)._wbg_cb_unref();
2353
2366
  },
2354
- __wbg_bound_6f6f52afeaa26de6: function() { return handleError(function (arg0, arg1) {
2367
+ __wbg_bound_1866ac5c25ad2f2c: function() { return handleError(function (arg0, arg1) {
2355
2368
  const ret = IDBKeyRange.bound(getObject(arg0), getObject(arg1));
2356
2369
  return addHeapObject(ret);
2357
2370
  }, arguments); },
2358
- __wbg_call_08ad0d89caa7cb79: function() { return handleError(function (arg0, arg1, arg2) {
2371
+ __wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
2359
2372
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2360
2373
  return addHeapObject(ret);
2361
2374
  }, arguments); },
2362
- __wbg_call_73af281463ec8b58: function() { return handleError(function (arg0, arg1) {
2375
+ __wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
2363
2376
  const ret = getObject(arg0).call(getObject(arg1));
2364
2377
  return addHeapObject(ret);
2365
2378
  }, arguments); },
2366
- __wbg_createObjectStore_bfd875621f13f126: function() { return handleError(function (arg0, arg1, arg2) {
2379
+ __wbg_createObjectStore_92a8aebcc6f9d7e3: function() { return handleError(function (arg0, arg1, arg2) {
2367
2380
  const ret = getObject(arg0).createObjectStore(getStringFromWasm0(arg1, arg2));
2368
2381
  return addHeapObject(ret);
2369
2382
  }, arguments); },
2370
- __wbg_deleteDatabase_14dffbeb78d18245: function() { return handleError(function (arg0, arg1, arg2) {
2383
+ __wbg_deleteDatabase_4cdf2c29aa0ce0ca: function() { return handleError(function (arg0, arg1, arg2) {
2371
2384
  const ret = getObject(arg0).deleteDatabase(getStringFromWasm0(arg1, arg2));
2372
2385
  return addHeapObject(ret);
2373
2386
  }, arguments); },
2374
- __wbg_delete_86cbf50563ab0bd6: function() { return handleError(function (arg0, arg1) {
2387
+ __wbg_delete_40db93c05c546fb9: function() { return handleError(function (arg0, arg1) {
2375
2388
  const ret = getObject(arg0).delete(getObject(arg1));
2376
2389
  return addHeapObject(ret);
2377
2390
  }, arguments); },
2378
- __wbg_done_5aad55ec6b1954b1: function(arg0) {
2391
+ __wbg_done_08ce71ee07e3bd17: function(arg0) {
2379
2392
  const ret = getObject(arg0).done;
2380
2393
  return ret;
2381
2394
  },
2382
- __wbg_entries_28d32ba4cd93f5fc: function(arg0) {
2395
+ __wbg_entries_e8a20ff8c9757101: function(arg0) {
2383
2396
  const ret = Object.entries(getObject(arg0));
2384
2397
  return addHeapObject(ret);
2385
2398
  },
2386
- __wbg_error_b8445866f700df1c: function(arg0, arg1) {
2399
+ __wbg_error_cfce0f619500de52: function(arg0, arg1) {
2387
2400
  console.error(getObject(arg0), getObject(arg1));
2388
2401
  },
2389
- __wbg_getAllKeys_65895da3d083228b: function() { return handleError(function (arg0) {
2402
+ __wbg_getAllKeys_578e442e4cc4c2b4: function() { return handleError(function (arg0) {
2390
2403
  const ret = getObject(arg0).getAllKeys();
2391
2404
  return addHeapObject(ret);
2392
2405
  }, arguments); },
2393
- __wbg_getAll_dbbb20886b9a441e: function() { return handleError(function (arg0, arg1) {
2406
+ __wbg_getAll_a959860fbb7a424a: function() { return handleError(function (arg0, arg1) {
2394
2407
  const ret = getObject(arg0).getAll(getObject(arg1));
2395
2408
  return addHeapObject(ret);
2396
2409
  }, arguments); },
2397
- __wbg_get_487b8166caa6bea1: function(arg0, arg1, arg2) {
2398
- const ret = getObject(arg1)[arg2 >>> 0];
2399
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2400
- var len1 = WASM_VECTOR_LEN;
2401
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2402
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2403
- },
2404
- __wbg_get_4920fefd3451364b: function() { return handleError(function (arg0, arg1) {
2410
+ __wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
2405
2411
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
2406
2412
  return addHeapObject(ret);
2407
2413
  }, arguments); },
2408
- __wbg_get_791b26b41a7de3d5: function() { return handleError(function (arg0, arg1) {
2414
+ __wbg_get_6ac8c8119f577720: function() { return handleError(function (arg0, arg1) {
2409
2415
  const ret = getObject(arg0).get(getObject(arg1));
2410
2416
  return addHeapObject(ret);
2411
2417
  }, arguments); },
2412
- __wbg_get_f09c3a16f8848381: function(arg0, arg1) {
2418
+ __wbg_get_7873e3afa59bad00: function(arg0, arg1, arg2) {
2419
+ const ret = getObject(arg1)[arg2 >>> 0];
2420
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2421
+ var len1 = WASM_VECTOR_LEN;
2422
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2423
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2424
+ },
2425
+ __wbg_get_a8ee5c45dabc1b3b: function(arg0, arg1) {
2413
2426
  const ret = getObject(arg0)[arg1 >>> 0];
2414
2427
  return addHeapObject(ret);
2415
2428
  },
2416
- __wbg_get_unchecked_3d0f4b91c8eca4f0: function(arg0, arg1) {
2429
+ __wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
2417
2430
  const ret = getObject(arg0)[arg1 >>> 0];
2418
2431
  return addHeapObject(ret);
2419
2432
  },
@@ -2433,11 +2446,11 @@ function __wbg_get_imports() {
2433
2446
  const ret = GraphStore.__wrap(arg0);
2434
2447
  return addHeapObject(ret);
2435
2448
  },
2436
- __wbg_indexedDB_f950945d950fbd5e: function() { return handleError(function (arg0) {
2449
+ __wbg_indexedDB_c83feb7151bbde52: function() { return handleError(function (arg0) {
2437
2450
  const ret = getObject(arg0).indexedDB;
2438
2451
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2439
2452
  }, arguments); },
2440
- __wbg_instanceof_ArrayBuffer_15859862b80b732d: function(arg0) {
2453
+ __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6: function(arg0) {
2441
2454
  let result;
2442
2455
  try {
2443
2456
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -2447,7 +2460,7 @@ function __wbg_get_imports() {
2447
2460
  const ret = result;
2448
2461
  return ret;
2449
2462
  },
2450
- __wbg_instanceof_Map_9df16bf25ceb4ecb: function(arg0) {
2463
+ __wbg_instanceof_Map_f194b366846aca0c: function(arg0) {
2451
2464
  let result;
2452
2465
  try {
2453
2466
  result = getObject(arg0) instanceof Map;
@@ -2457,7 +2470,7 @@ function __wbg_get_imports() {
2457
2470
  const ret = result;
2458
2471
  return ret;
2459
2472
  },
2460
- __wbg_instanceof_Uint8Array_2240b7046ac16f05: function(arg0) {
2473
+ __wbg_instanceof_Uint8Array_740438561a5b956d: function(arg0) {
2461
2474
  let result;
2462
2475
  try {
2463
2476
  result = getObject(arg0) instanceof Uint8Array;
@@ -2467,7 +2480,7 @@ function __wbg_get_imports() {
2467
2480
  const ret = result;
2468
2481
  return ret;
2469
2482
  },
2470
- __wbg_instanceof_Window_4aba49e4d1a12365: function(arg0) {
2483
+ __wbg_instanceof_Window_23e677d2c6843922: function(arg0) {
2471
2484
  let result;
2472
2485
  try {
2473
2486
  result = getObject(arg0) instanceof Window;
@@ -2477,42 +2490,54 @@ function __wbg_get_imports() {
2477
2490
  const ret = result;
2478
2491
  return ret;
2479
2492
  },
2480
- __wbg_isArray_fad08a0d12828686: function(arg0) {
2493
+ __wbg_isArray_33b91feb269ff46e: function(arg0) {
2481
2494
  const ret = Array.isArray(getObject(arg0));
2482
2495
  return ret;
2483
2496
  },
2484
- __wbg_isSafeInteger_10e4151eb694e42a: function(arg0) {
2497
+ __wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
2485
2498
  const ret = Number.isSafeInteger(getObject(arg0));
2486
2499
  return ret;
2487
2500
  },
2488
- __wbg_iterator_fc7ad8d33bab9e26: function() {
2501
+ __wbg_iterator_d8f549ec8fb061b1: function() {
2489
2502
  const ret = Symbol.iterator;
2490
2503
  return addHeapObject(ret);
2491
2504
  },
2492
- __wbg_length_5855c1f289dfffc1: function(arg0) {
2505
+ __wbg_length_02c4f6002306a824: function(arg0) {
2493
2506
  const ret = getObject(arg0).length;
2494
2507
  return ret;
2495
2508
  },
2496
- __wbg_length_a31e05262e09b7f8: function(arg0) {
2509
+ __wbg_length_b3416cf66a5452c8: function(arg0) {
2497
2510
  const ret = getObject(arg0).length;
2498
2511
  return ret;
2499
2512
  },
2500
- __wbg_length_fbd9fbbcd74a4420: function(arg0) {
2513
+ __wbg_length_ea16607d7b61445b: function(arg0) {
2501
2514
  const ret = getObject(arg0).length;
2502
2515
  return ret;
2503
2516
  },
2504
- __wbg_new_09959f7b4c92c246: function(arg0) {
2517
+ __wbg_new_49d5571bd3f0c4d4: function() {
2518
+ const ret = new Map();
2519
+ return addHeapObject(ret);
2520
+ },
2521
+ __wbg_new_5f486cdf45a04d78: function(arg0) {
2505
2522
  const ret = new Uint8Array(getObject(arg0));
2506
2523
  return addHeapObject(ret);
2507
2524
  },
2508
- __wbg_new_79ce7968119cfd96: function(arg0, arg1) {
2525
+ __wbg_new_a70fbab9066b301f: function() {
2526
+ const ret = new Array();
2527
+ return addHeapObject(ret);
2528
+ },
2529
+ __wbg_new_ab79df5bd7c26067: function() {
2530
+ const ret = new Object();
2531
+ return addHeapObject(ret);
2532
+ },
2533
+ __wbg_new_d098e265629cd10f: function(arg0, arg1) {
2509
2534
  try {
2510
2535
  var state0 = {a: arg0, b: arg1};
2511
2536
  var cb0 = (arg0, arg1) => {
2512
2537
  const a = state0.a;
2513
2538
  state0.a = 0;
2514
2539
  try {
2515
- return __wasm_bindgen_func_elem_1327(a, state0.b, arg0, arg1);
2540
+ return __wasm_bindgen_func_elem_1356(a, state0.b, arg0, arg1);
2516
2541
  } finally {
2517
2542
  state0.a = a;
2518
2543
  }
@@ -2523,30 +2548,18 @@ function __wbg_get_imports() {
2523
2548
  state0.a = state0.b = 0;
2524
2549
  }
2525
2550
  },
2526
- __wbg_new_92df58a8ec3bfb6b: function() {
2527
- const ret = new Map();
2528
- return addHeapObject(ret);
2529
- },
2530
- __wbg_new_cbee8c0d5c479eac: function() {
2531
- const ret = new Array();
2532
- return addHeapObject(ret);
2533
- },
2534
- __wbg_new_ed69e637b553a997: function() {
2535
- const ret = new Object();
2536
- return addHeapObject(ret);
2537
- },
2538
- __wbg_new_from_slice_d7e202fdbee3c396: function(arg0, arg1) {
2551
+ __wbg_new_from_slice_22da9388ac046e50: function(arg0, arg1) {
2539
2552
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
2540
2553
  return addHeapObject(ret);
2541
2554
  },
2542
- __wbg_new_typed_8258a0d8488ef2a2: function(arg0, arg1) {
2555
+ __wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
2543
2556
  try {
2544
2557
  var state0 = {a: arg0, b: arg1};
2545
2558
  var cb0 = (arg0, arg1) => {
2546
2559
  const a = state0.a;
2547
2560
  state0.a = 0;
2548
2561
  try {
2549
- return __wasm_bindgen_func_elem_1327(a, state0.b, arg0, arg1);
2562
+ return __wasm_bindgen_func_elem_1356(a, state0.b, arg0, arg1);
2550
2563
  } finally {
2551
2564
  state0.a = a;
2552
2565
  }
@@ -2557,120 +2570,120 @@ function __wbg_get_imports() {
2557
2570
  state0.a = state0.b = 0;
2558
2571
  }
2559
2572
  },
2560
- __wbg_next_a5fe6f328f7affc2: function(arg0) {
2561
- const ret = getObject(arg0).next;
2562
- return addHeapObject(ret);
2563
- },
2564
- __wbg_next_e592122bb4ed4c67: function() { return handleError(function (arg0) {
2573
+ __wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
2565
2574
  const ret = getObject(arg0).next();
2566
2575
  return addHeapObject(ret);
2567
2576
  }, arguments); },
2568
- __wbg_now_edd718b3004d8631: function() {
2577
+ __wbg_next_e01a967809d1aa68: function(arg0) {
2578
+ const ret = getObject(arg0).next;
2579
+ return addHeapObject(ret);
2580
+ },
2581
+ __wbg_now_16f0c993d5dd6c27: function() {
2569
2582
  const ret = Date.now();
2570
2583
  return ret;
2571
2584
  },
2572
- __wbg_objectStoreNames_3645b6da2d1f3852: function(arg0) {
2585
+ __wbg_objectStoreNames_564985d2e9ae7523: function(arg0) {
2573
2586
  const ret = getObject(arg0).objectStoreNames;
2574
2587
  return addHeapObject(ret);
2575
2588
  },
2576
- __wbg_objectStore_3a6b969b917c6262: function() { return handleError(function (arg0, arg1, arg2) {
2589
+ __wbg_objectStore_f314ab152a5c7bd0: function() { return handleError(function (arg0, arg1, arg2) {
2577
2590
  const ret = getObject(arg0).objectStore(getStringFromWasm0(arg1, arg2));
2578
2591
  return addHeapObject(ret);
2579
2592
  }, arguments); },
2580
- __wbg_open_9badd3c8846fbf11: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2593
+ __wbg_open_e7a9d3d6344572f6: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2581
2594
  const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
2582
2595
  return addHeapObject(ret);
2583
2596
  }, arguments); },
2584
- __wbg_open_c2bd4b4a6be9d67b: function() { return handleError(function (arg0, arg1, arg2) {
2597
+ __wbg_open_f3dc09caa3990bc4: function() { return handleError(function (arg0, arg1, arg2) {
2585
2598
  const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2));
2586
2599
  return addHeapObject(ret);
2587
2600
  }, arguments); },
2588
- __wbg_prototypesetcall_f034d444741426c3: function(arg0, arg1, arg2) {
2601
+ __wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
2589
2602
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
2590
2603
  },
2591
- __wbg_push_a6f9488ffd3fae3b: function(arg0, arg1) {
2604
+ __wbg_push_e87b0e732085a946: function(arg0, arg1) {
2592
2605
  const ret = getObject(arg0).push(getObject(arg1));
2593
2606
  return ret;
2594
2607
  },
2595
- __wbg_put_d86a6833e14a4c3b: function() { return handleError(function (arg0, arg1, arg2) {
2608
+ __wbg_put_f1673d719f93ce22: function() { return handleError(function (arg0, arg1, arg2) {
2596
2609
  const ret = getObject(arg0).put(getObject(arg1), getObject(arg2));
2597
2610
  return addHeapObject(ret);
2598
2611
  }, arguments); },
2599
- __wbg_queueMicrotask_2c8dfd1056f24fdc: function(arg0) {
2612
+ __wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
2600
2613
  const ret = getObject(arg0).queueMicrotask;
2601
2614
  return addHeapObject(ret);
2602
2615
  },
2603
- __wbg_queueMicrotask_8985ad63815852e7: function(arg0) {
2616
+ __wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
2604
2617
  queueMicrotask(getObject(arg0));
2605
2618
  },
2606
- __wbg_resolve_5d61e0d10c14730a: function(arg0) {
2619
+ __wbg_resolve_ae8d83246e5bcc12: function(arg0) {
2607
2620
  const ret = Promise.resolve(getObject(arg0));
2608
2621
  return addHeapObject(ret);
2609
2622
  },
2610
- __wbg_result_aaba1e6bbc5d42c8: function() { return handleError(function (arg0) {
2623
+ __wbg_result_c5baa2d3d690a01a: function() { return handleError(function (arg0) {
2611
2624
  const ret = getObject(arg0).result;
2612
2625
  return addHeapObject(ret);
2613
2626
  }, arguments); },
2614
- __wbg_set_4c81cfb5dc3a333c: function(arg0, arg1, arg2) {
2627
+ __wbg_set_282384002438957f: function(arg0, arg1, arg2) {
2615
2628
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
2616
2629
  },
2617
2630
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
2618
2631
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
2619
2632
  },
2620
- __wbg_set_cfc6de03f990decf: function(arg0, arg1, arg2) {
2633
+ __wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
2621
2634
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
2622
2635
  return addHeapObject(ret);
2623
2636
  },
2624
- __wbg_set_onerror_8b43a0b08de76f6d: function(arg0, arg1) {
2637
+ __wbg_set_onerror_8a268cb237177bba: function(arg0, arg1) {
2625
2638
  getObject(arg0).onerror = getObject(arg1);
2626
2639
  },
2627
- __wbg_set_onsuccess_76214f5146684855: function(arg0, arg1) {
2640
+ __wbg_set_onsuccess_fca94ded107b64af: function(arg0, arg1) {
2628
2641
  getObject(arg0).onsuccess = getObject(arg1);
2629
2642
  },
2630
- __wbg_set_onupgradeneeded_74f1c8e9dbd2b70c: function(arg0, arg1) {
2643
+ __wbg_set_onupgradeneeded_860ce42184f987e7: function(arg0, arg1) {
2631
2644
  getObject(arg0).onupgradeneeded = getObject(arg1);
2632
2645
  },
2633
- __wbg_static_accessor_GLOBAL_THIS_14325d8cca34bb77: function() {
2634
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
2646
+ __wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
2647
+ const ret = typeof global === 'undefined' ? null : global;
2635
2648
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2636
2649
  },
2637
- __wbg_static_accessor_GLOBAL_f3a1e69f9c5a7e8e: function() {
2638
- const ret = typeof global === 'undefined' ? null : global;
2650
+ __wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
2651
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
2639
2652
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2640
2653
  },
2641
- __wbg_static_accessor_SELF_50cdb5b517789aca: function() {
2654
+ __wbg_static_accessor_SELF_f207c857566db248: function() {
2642
2655
  const ret = typeof self === 'undefined' ? null : self;
2643
2656
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2644
2657
  },
2645
- __wbg_static_accessor_WINDOW_d6c4126e4c244380: function() {
2658
+ __wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
2646
2659
  const ret = typeof window === 'undefined' ? null : window;
2647
2660
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2648
2661
  },
2649
- __wbg_then_d4163530723f56f4: function(arg0, arg1, arg2) {
2650
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
2662
+ __wbg_then_098abe61755d12f6: function(arg0, arg1) {
2663
+ const ret = getObject(arg0).then(getObject(arg1));
2651
2664
  return addHeapObject(ret);
2652
2665
  },
2653
- __wbg_then_f1c954fe00733701: function(arg0, arg1) {
2654
- const ret = getObject(arg0).then(getObject(arg1));
2666
+ __wbg_then_9e335f6dd892bc11: function(arg0, arg1, arg2) {
2667
+ const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
2655
2668
  return addHeapObject(ret);
2656
2669
  },
2657
- __wbg_transaction_30dda0e59a945fe4: function() { return handleError(function (arg0, arg1, arg2) {
2658
- const ret = getObject(arg0).transaction(getObject(arg1), __wbindgen_enum_IdbTransactionMode[arg2]);
2670
+ __wbg_transaction_1309b463c399d2b3: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2671
+ const ret = getObject(arg0).transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
2659
2672
  return addHeapObject(ret);
2660
2673
  }, arguments); },
2661
- __wbg_transaction_8555c5d00a94c767: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2662
- const ret = getObject(arg0).transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
2674
+ __wbg_transaction_2237af0233efbdf3: function() { return handleError(function (arg0, arg1, arg2) {
2675
+ const ret = getObject(arg0).transaction(getStringFromWasm0(arg1, arg2));
2663
2676
  return addHeapObject(ret);
2664
2677
  }, arguments); },
2665
- __wbg_transaction_d40b35a1d301d310: function() { return handleError(function (arg0, arg1) {
2666
- const ret = getObject(arg0).transaction(getObject(arg1));
2678
+ __wbg_transaction_3223f7c8d0f40129: function() { return handleError(function (arg0, arg1, arg2) {
2679
+ const ret = getObject(arg0).transaction(getObject(arg1), __wbindgen_enum_IdbTransactionMode[arg2]);
2667
2680
  return addHeapObject(ret);
2668
2681
  }, arguments); },
2669
- __wbg_transaction_f90e157c0cdb0001: function() { return handleError(function (arg0, arg1, arg2) {
2670
- const ret = getObject(arg0).transaction(getStringFromWasm0(arg1, arg2));
2682
+ __wbg_transaction_84882292fc35ffff: function() { return handleError(function (arg0, arg1) {
2683
+ const ret = getObject(arg0).transaction(getObject(arg1));
2671
2684
  return addHeapObject(ret);
2672
2685
  }, arguments); },
2673
- __wbg_value_667dcb90597486a6: function(arg0) {
2686
+ __wbg_value_21fc78aab0322612: function(arg0) {
2674
2687
  const ret = getObject(arg0).value;
2675
2688
  return addHeapObject(ret);
2676
2689
  },
@@ -2679,13 +2692,13 @@ function __wbg_get_imports() {
2679
2692
  return addHeapObject(ret);
2680
2693
  },
2681
2694
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2682
- // Cast intrinsic for `Closure(Closure { dtor_idx: 136, function: Function { arguments: [Externref], shim_idx: 137, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2683
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1295, __wasm_bindgen_func_elem_1296);
2695
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 143, function: Function { arguments: [Externref], shim_idx: 144, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2696
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1315, __wasm_bindgen_func_elem_1316);
2684
2697
  return addHeapObject(ret);
2685
2698
  },
2686
2699
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2687
2700
  // Cast intrinsic for `Closure(Closure { dtor_idx: 9, function: Function { arguments: [NamedExternref("Event")], shim_idx: 10, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2688
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_284, __wasm_bindgen_func_elem_285);
2701
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_291, __wasm_bindgen_func_elem_292);
2689
2702
  return addHeapObject(ret);
2690
2703
  },
2691
2704
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -2722,14 +2735,14 @@ function __wbg_get_imports() {
2722
2735
  };
2723
2736
  }
2724
2737
 
2725
- function __wasm_bindgen_func_elem_285(arg0, arg1, arg2) {
2726
- wasm.__wasm_bindgen_func_elem_285(arg0, arg1, addHeapObject(arg2));
2738
+ function __wasm_bindgen_func_elem_292(arg0, arg1, arg2) {
2739
+ wasm.__wasm_bindgen_func_elem_292(arg0, arg1, addHeapObject(arg2));
2727
2740
  }
2728
2741
 
2729
- function __wasm_bindgen_func_elem_1296(arg0, arg1, arg2) {
2742
+ function __wasm_bindgen_func_elem_1316(arg0, arg1, arg2) {
2730
2743
  try {
2731
2744
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2732
- wasm.__wasm_bindgen_func_elem_1296(retptr, arg0, arg1, addHeapObject(arg2));
2745
+ wasm.__wasm_bindgen_func_elem_1316(retptr, arg0, arg1, addHeapObject(arg2));
2733
2746
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2734
2747
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2735
2748
  if (r1) {
@@ -2740,8 +2753,8 @@ function __wasm_bindgen_func_elem_1296(arg0, arg1, arg2) {
2740
2753
  }
2741
2754
  }
2742
2755
 
2743
- function __wasm_bindgen_func_elem_1327(arg0, arg1, arg2, arg3) {
2744
- wasm.__wasm_bindgen_func_elem_1327(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2756
+ function __wasm_bindgen_func_elem_1356(arg0, arg1, arg2, arg3) {
2757
+ wasm.__wasm_bindgen_func_elem_1356(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2745
2758
  }
2746
2759
 
2747
2760
 
Binary file