@taladb/web 0.10.1 → 0.11.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.
@@ -40,10 +40,6 @@ export class CollectionWasm {
40
40
  * Delete all matching documents. Returns the count deleted.
41
41
  */
42
42
  deleteMany(filter: any): number;
43
- /**
44
- * Delete many documents by id, in one commit. Returns the number removed.
45
- */
46
- deleteManyWithIds(ids: any, origin: string): number;
47
43
  /**
48
44
  * Delete the first matching document. Returns true if deleted.
49
45
  */
@@ -97,18 +93,6 @@ export class CollectionWasm {
97
93
  * Insert multiple documents. Returns an array of ULID string ids.
98
94
  */
99
95
  insertMany(docs: any): any;
100
- /**
101
- * Upsert many documents **by caller-supplied `_id`**, in one commit.
102
- *
103
- * Unlike [`Self::insert_many`] — which mints a fresh ULID and discards `_id` —
104
- * this honours the id on each document, which is what lets replication address
105
- * a remote row by a *derived* id so repeated fetches converge on one document
106
- * instead of duplicating it.
107
- *
108
- * `origin` is `"remote"` for authoritative rows replicated in from an origin,
109
- * or `"local"` for ordinary user writes.
110
- */
111
- replaceManyWithIds(docs: any, origin: string): any;
112
96
  /**
113
97
  * Rank documents against a free-text query using BM25 (OR semantics).
114
98
  *
@@ -137,12 +121,6 @@ export class TalaDBWasm {
137
121
  * Get a collection handle by name.
138
122
  */
139
123
  collection(name: string): CollectionWasm;
140
- /**
141
- * Export changes to `collections` after `sinceMs` (exclusive) as a JSON
142
- * changeset string, for bidirectional sync. `sinceMs` is a millisecond
143
- * epoch timestamp (the persisted sync cursor).
144
- */
145
- exportChanges(since_ms: number, collections: string[]): string;
146
124
  /**
147
125
  * Serialize the entire in-memory database to bytes.
148
126
  *
@@ -151,14 +129,8 @@ export class TalaDBWasm {
151
129
  * `openWithSnapshot` to restore all data.
152
130
  */
153
131
  exportSnapshot(): Uint8Array;
154
- /**
155
- * Merge a JSON changeset string (from a remote peer) into the local
156
- * database via Last-Write-Wins. Returns the number of documents changed.
157
- */
158
- importChanges(changeset_json: string): number;
159
132
  /**
160
133
  * User collection names (reserved `_`-prefixed collections excluded).
161
- * Backs the sync orchestration's "sync all collections" default.
162
134
  */
163
135
  listCollectionNames(): string[];
164
136
  /**
@@ -212,20 +184,6 @@ export class WorkerDB {
212
184
  * ```
213
185
  */
214
186
  compact(): void;
215
- /**
216
- * Remove tombstones older than `before_ms` from the given collection.
217
- *
218
- * Call periodically (e.g. on app startup) after your sync retention window
219
- * has elapsed so deleted document IDs no longer accumulate indefinitely.
220
- * Returns the number of tombstones removed.
221
- *
222
- * ```js
223
- * // Prune tombstones older than 30 days
224
- * const cutoff = Date.now() - 30 * 24 * 60 * 60 * 1000;
225
- * const pruned = db.compactTombstones('users', cutoff);
226
- * ```
227
- */
228
- compactTombstones(collection: string, before_ms: number): number;
229
187
  /**
230
188
  * Count matching documents.
231
189
  */
@@ -250,9 +208,10 @@ export class WorkerDB {
250
208
  */
251
209
  deleteMany(collection: string, filter_json: string): number;
252
210
  /**
253
- * Delete many documents by id, in one commit. Returns the number removed.
211
+ * Delete documents by id. Returns how many were present and removed.
212
+ * The delete half of cross-tab write propagation.
254
213
  */
255
- deleteManyWithIds(collection: string, ids_json: string, origin: string): number;
214
+ deleteManyWithIds(collection: string, ids_json: string): number;
256
215
  /**
257
216
  * Delete the first matching document. Returns `true` / `false`.
258
217
  */
@@ -267,18 +226,6 @@ export class WorkerDB {
267
226
  * Drop a vector index (and its HNSW graph if present).
268
227
  */
269
228
  dropVectorIndex(collection: string, field: string): void;
270
- /**
271
- * Export a changeset for the given collections since `since_ms`.
272
- *
273
- * Returns a JSON string representing `Vec<Change>` that can be sent
274
- * to a remote peer via fetch, WebSocket, or SSE.
275
- *
276
- * ```js
277
- * const json = db.exportChangeset(JSON.stringify(['users', 'posts']), 0);
278
- * await fetch('/sync', { method: 'POST', body: json });
279
- * ```
280
- */
281
- exportChangeset(collections_json: string, since_ms: number): string;
282
229
  /**
283
230
  * Serialize the entire in-memory database to bytes for persistence.
284
231
  *
@@ -311,26 +258,6 @@ export class WorkerDB {
311
258
  * Returns a JSON array of `{ document, score, textRank, vectorRank }`.
312
259
  */
313
260
  hybridSearch(collection: string, text_field: string, text: string, vector_field: string, vector_json: string, top_k: number, filter_json: string, options_json: string): string;
314
- /**
315
- * Import a remote changeset and merge it into the local database using
316
- * Last-Write-Wins conflict resolution.
317
- *
318
- * Returns the number of documents actually changed.
319
- *
320
- * ```js
321
- * const resp = await fetch('/sync?since=' + lastSync);
322
- * const applied = db.importChangeset(await resp.text());
323
- * if (applied > 0) { rerender(); }
324
- * ```
325
- */
326
- importChangeset(changeset_json: string): number;
327
- /**
328
- * Import a remote changeset through a tolerant structural validator built
329
- * from `schemas_json` (`{ "<collection>": { version, required, types,
330
- * defaults } }`). Returns a JSON `{ applied, skipped, quarantined }`.
331
- * Rejected documents are set aside (see `quarantined`), never dropped.
332
- */
333
- importChangesetValidated(changeset_json: string, schemas_json: string): string;
334
261
  /**
335
262
  * Insert a document. Returns the new ULID as a string.
336
263
  */
@@ -341,7 +268,6 @@ export class WorkerDB {
341
268
  insertMany(collection: string, docs_json: string): string;
342
269
  /**
343
270
  * Returns a JSON array of all collection names in the database.
344
- * Used by the Worker to build the collections list for exportChangeset.
345
271
  */
346
272
  listCollections(): string;
347
273
  /**
@@ -356,8 +282,6 @@ export class WorkerDB {
356
282
  /**
357
283
  * Open a database backed by OPFS with HTTP push sync config.
358
284
  *
359
- * Not available when compiled with the `cf-workers` feature.
360
- *
361
285
  * `config_json` - JSON-serialised `TalaDbConfig`, or `null` to open without sync.
362
286
  *
363
287
  * ```js
@@ -379,8 +303,6 @@ export class WorkerDB {
379
303
  /**
380
304
  * Open a database backed by an OPFS `FileSystemSyncAccessHandle`.
381
305
  *
382
- * Not available when compiled with the `cf-workers` feature.
383
- *
384
306
  * Call sequence in the SharedWorker:
385
307
  * ```js
386
308
  * const handle = await file_handle.createSyncAccessHandle();
@@ -400,24 +322,6 @@ export class WorkerDB {
400
322
  * ```
401
323
  */
402
324
  static openWithSnapshot(data?: Uint8Array | null): WorkerDB;
403
- /**
404
- * Documents set aside in `collection`'s quarantine table, as a JSON array
405
- * of `{ document, reason, changedAt }`.
406
- */
407
- quarantined(collection: string): string;
408
- /**
409
- * Upsert many documents **by caller-supplied `_id`**, in one commit.
410
- *
411
- * Unlike `insert_many` — which discards `_id` and mints a fresh ULID — this
412
- * honours the id in each document. That is what lets the replication
413
- * coordinator address a remote row by a *derived* id (see `deriveDocId`) and
414
- * have repeated fetches converge on one document instead of duplicating it.
415
- *
416
- * `origin` is `"remote"` for authoritative rows replicated in from an origin,
417
- * or `"local"` for ordinary user writes. Remote rows are marked so they can
418
- * never replicate back out — see `Collection::replace_many_with_ids`.
419
- */
420
- replaceManyWithIds(collection: string, docs_json: string, origin: string): string;
421
325
  /**
422
326
  * Rank documents against a free-text query using BM25 (OR semantics).
423
327
  *
@@ -435,8 +339,6 @@ export class WorkerDB {
435
339
  * body succeeds so a crash mid-run resumes from the last applied version.
436
340
  */
437
341
  setUserVersion(version: number): void;
438
- syncPending(): bigint;
439
- syncStatus(): string;
440
342
  /**
441
343
  * Update all matching documents. Returns the count updated.
442
344
  */
@@ -452,11 +354,33 @@ export class WorkerDB {
452
354
  * No-op when the `vector-hnsw` feature is disabled or the index is flat-only.
453
355
  */
454
356
  upgradeVectorIndex(collection: string, field: string): void;
357
+ /**
358
+ * Upsert documents **by their own `_id`**, in one commit per document.
359
+ *
360
+ * Backs cross-tab write propagation: a tab that cannot hold the OPFS lock
361
+ * writes to an in-memory database, then forwards the committed documents
362
+ * here so the tab holding the lock applies them to the durable file. The
363
+ * `_id`s travel with the documents, so an id an application already holds
364
+ * stays valid after the hand-off — which a plain re-`insert` would break by
365
+ * minting a new ULID.
366
+ *
367
+ * Unlike `insert_many`, a caller-supplied `_id` is required, not ignored.
368
+ */
369
+ upsertManyWithIds(collection: string, docs_json: string): string;
455
370
  /**
456
371
  * Read the current application migration version (0 if never set). Backs
457
372
  * the `openDB({ migrations })` runner, which advances it per migration.
458
373
  */
459
374
  userVersion(): number;
375
+ /**
376
+ * This collection's write generation — a counter bumped once per committed
377
+ * mutation.
378
+ *
379
+ * Backs `subscribe()`: a live query can compare one integer per tick
380
+ * instead of re-running the query and `JSON.stringify`-ing the whole
381
+ * result set to see whether anything moved.
382
+ */
383
+ writeGeneration(collection: string): number;
460
384
  }
461
385
 
462
386
  /**
@@ -512,31 +436,65 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
512
436
 
513
437
  export interface InitOutput {
514
438
  readonly memory: WebAssembly.Memory;
439
+ readonly __wbg_collectionwasm_free: (a: number, b: number) => void;
440
+ readonly __wbg_taladbwasm_free: (a: number, b: number) => void;
515
441
  readonly __wbg_workerdb_free: (a: number, b: number) => void;
442
+ readonly collectionwasm_aggregate: (a: number, b: any) => [number, number, number];
443
+ readonly collectionwasm_count: (a: number, b: any) => [number, number, number];
444
+ readonly collectionwasm_createCompoundIndex: (a: number, b: number, c: number) => [number, number];
445
+ readonly collectionwasm_createFtsIndex: (a: number, b: number, c: number) => [number, number];
446
+ readonly collectionwasm_createIndex: (a: number, b: number, c: number) => [number, number];
447
+ readonly collectionwasm_createVectorIndex: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number];
448
+ readonly collectionwasm_deleteMany: (a: number, b: any) => [number, number, number];
449
+ readonly collectionwasm_deleteOne: (a: number, b: any) => [number, number, number];
450
+ readonly collectionwasm_dropCompoundIndex: (a: number, b: number, c: number) => [number, number];
451
+ readonly collectionwasm_dropFtsIndex: (a: number, b: number, c: number) => [number, number];
452
+ readonly collectionwasm_dropIndex: (a: number, b: number, c: number) => [number, number];
453
+ readonly collectionwasm_dropVectorIndex: (a: number, b: number, c: number) => [number, number];
454
+ readonly collectionwasm_find: (a: number, b: any) => [number, number, number];
455
+ readonly collectionwasm_findNearest: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => [number, number, number];
456
+ readonly collectionwasm_findOne: (a: number, b: any) => [number, number, number];
457
+ readonly collectionwasm_hybridSearch: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: any, l: any) => [number, number, number];
458
+ readonly collectionwasm_insert: (a: number, b: any) => [number, number, number, number];
459
+ readonly collectionwasm_insertMany: (a: number, b: any) => [number, number, number];
460
+ readonly collectionwasm_searchText: (a: number, b: number, c: number, d: number, e: number, f: number, g: any, h: any) => [number, number, number];
461
+ readonly collectionwasm_updateMany: (a: number, b: any, c: any) => [number, number, number];
462
+ readonly collectionwasm_updateOne: (a: number, b: any, c: any) => [number, number, number];
463
+ readonly collectionwasm_upgradeVectorIndex: (a: number, b: number, c: number) => [number, number];
464
+ readonly idb_load_snapshot: (a: number, b: number) => any;
465
+ readonly idb_save_snapshot: (a: number, b: number, c: number, d: number) => any;
466
+ readonly is_opfs_available: () => any;
467
+ readonly opfs_delete_snapshot: (a: number, b: number) => any;
468
+ readonly opfs_flush_snapshot: (a: number, b: number, c: number, d: number) => any;
469
+ readonly opfs_load_snapshot: (a: number, b: number) => any;
470
+ readonly opfs_open_backend: (a: number, b: number) => any;
471
+ readonly taladbwasm_collection: (a: number, b: number, c: number) => [number, number, number];
472
+ readonly taladbwasm_exportSnapshot: (a: number) => [number, number, number, number];
473
+ readonly taladbwasm_listCollectionNames: (a: number) => [number, number, number, number];
474
+ readonly taladbwasm_openInMemory: () => [number, number, number];
475
+ readonly taladbwasm_openWithSnapshot: (a: number, b: number) => [number, number, number];
476
+ readonly taladbwasm_setUserVersion: (a: number, b: number) => [number, number];
477
+ readonly taladbwasm_userVersion: (a: number) => [number, number, number];
516
478
  readonly workerdb_aggregate: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
517
479
  readonly workerdb_compact: (a: number) => [number, number];
518
- readonly workerdb_compactTombstones: (a: number, b: number, c: number, d: number) => [number, number, number];
519
480
  readonly workerdb_count: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
520
481
  readonly workerdb_createCompoundIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
521
482
  readonly workerdb_createFtsIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
522
483
  readonly workerdb_createIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
523
484
  readonly workerdb_createVectorIndex: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => [number, number];
524
485
  readonly workerdb_deleteMany: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
525
- readonly workerdb_deleteManyWithIds: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
486
+ readonly workerdb_deleteManyWithIds: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
526
487
  readonly workerdb_deleteOne: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
527
488
  readonly workerdb_dropCompoundIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
528
489
  readonly workerdb_dropFtsIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
529
490
  readonly workerdb_dropIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
530
491
  readonly workerdb_dropVectorIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
531
- readonly workerdb_exportChangeset: (a: number, b: number, c: number, d: number) => [number, number, number, number];
532
492
  readonly workerdb_exportSnapshot: (a: number) => [number, number, number, number];
533
493
  readonly workerdb_find: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
534
494
  readonly workerdb_findNearest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number, number, number];
535
495
  readonly workerdb_findOne: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
536
496
  readonly workerdb_flush: (a: number) => [number, number];
537
497
  readonly workerdb_hybridSearch: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => [number, number, number, number];
538
- readonly workerdb_importChangeset: (a: number, b: number, c: number) => [number, number, number];
539
- readonly workerdb_importChangesetValidated: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
540
498
  readonly workerdb_insert: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
541
499
  readonly workerdb_insertMany: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
542
500
  readonly workerdb_listCollections: (a: number) => [number, number, number, number];
@@ -546,67 +504,21 @@ export interface InitOutput {
546
504
  readonly workerdb_openWithConfigAndSnapshot: (a: number, b: number, c: number, d: number) => [number, number, number];
547
505
  readonly workerdb_openWithOpfs: (a: any) => [number, number, number];
548
506
  readonly workerdb_openWithSnapshot: (a: number, b: number) => [number, number, number];
549
- readonly workerdb_quarantined: (a: number, b: number, c: number) => [number, number, number, number];
550
- readonly workerdb_replaceManyWithIds: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
551
507
  readonly workerdb_searchText: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => [number, number, number, number];
552
508
  readonly workerdb_setDurability: (a: number, b: number) => void;
553
509
  readonly workerdb_setUserVersion: (a: number, b: number) => [number, number];
554
- readonly workerdb_syncPending: (a: number) => bigint;
555
- readonly workerdb_syncStatus: (a: number) => [number, number];
556
510
  readonly workerdb_updateMany: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
557
511
  readonly workerdb_updateOne: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
558
512
  readonly workerdb_upgradeVectorIndex: (a: number, b: number, c: number, d: number, e: number) => [number, number];
513
+ readonly workerdb_upsertManyWithIds: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
559
514
  readonly workerdb_userVersion: (a: number) => [number, number, number];
560
- readonly __wbg_collectionwasm_free: (a: number, b: number) => void;
561
- readonly __wbg_taladbwasm_free: (a: number, b: number) => void;
562
- readonly collectionwasm_aggregate: (a: number, b: any) => [number, number, number];
563
- readonly collectionwasm_count: (a: number, b: any) => [number, number, number];
564
- readonly collectionwasm_createCompoundIndex: (a: number, b: number, c: number) => [number, number];
565
- readonly collectionwasm_createFtsIndex: (a: number, b: number, c: number) => [number, number];
566
- readonly collectionwasm_createIndex: (a: number, b: number, c: number) => [number, number];
567
- readonly collectionwasm_createVectorIndex: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number];
568
- readonly collectionwasm_deleteMany: (a: number, b: any) => [number, number, number];
569
- readonly collectionwasm_deleteManyWithIds: (a: number, b: any, c: number, d: number) => [number, number, number];
570
- readonly collectionwasm_deleteOne: (a: number, b: any) => [number, number, number];
571
- readonly collectionwasm_dropCompoundIndex: (a: number, b: number, c: number) => [number, number];
572
- readonly collectionwasm_dropFtsIndex: (a: number, b: number, c: number) => [number, number];
573
- readonly collectionwasm_dropIndex: (a: number, b: number, c: number) => [number, number];
574
- readonly collectionwasm_dropVectorIndex: (a: number, b: number, c: number) => [number, number];
575
- readonly collectionwasm_find: (a: number, b: any) => [number, number, number];
576
- readonly collectionwasm_findNearest: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => [number, number, number];
577
- readonly collectionwasm_findOne: (a: number, b: any) => [number, number, number];
578
- readonly collectionwasm_hybridSearch: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: any, l: any) => [number, number, number];
579
- readonly collectionwasm_insert: (a: number, b: any) => [number, number, number, number];
580
- readonly collectionwasm_insertMany: (a: number, b: any) => [number, number, number];
581
- readonly collectionwasm_replaceManyWithIds: (a: number, b: any, c: number, d: number) => [number, number, number];
582
- readonly collectionwasm_searchText: (a: number, b: number, c: number, d: number, e: number, f: number, g: any, h: any) => [number, number, number];
583
- readonly collectionwasm_updateMany: (a: number, b: any, c: any) => [number, number, number];
584
- readonly collectionwasm_updateOne: (a: number, b: any, c: any) => [number, number, number];
585
- readonly collectionwasm_upgradeVectorIndex: (a: number, b: number, c: number) => [number, number];
586
- readonly taladbwasm_collection: (a: number, b: number, c: number) => [number, number, number];
587
- readonly taladbwasm_exportChanges: (a: number, b: number, c: number, d: number) => [number, number, number, number];
588
- readonly taladbwasm_exportSnapshot: (a: number) => [number, number, number, number];
589
- readonly taladbwasm_importChanges: (a: number, b: number, c: number) => [number, number, number];
590
- readonly taladbwasm_listCollectionNames: (a: number) => [number, number, number, number];
591
- readonly taladbwasm_openInMemory: () => [number, number, number];
592
- readonly taladbwasm_openWithSnapshot: (a: number, b: number) => [number, number, number];
593
- readonly taladbwasm_setUserVersion: (a: number, b: number) => [number, number];
594
- readonly taladbwasm_userVersion: (a: number) => [number, number, number];
515
+ readonly workerdb_writeGeneration: (a: number, b: number, c: number) => [number, number, number];
595
516
  readonly init: () => void;
596
- readonly idb_load_snapshot: (a: number, b: number) => any;
597
- readonly idb_save_snapshot: (a: number, b: number, c: number, d: number) => any;
598
- readonly opfs_open_backend: (a: number, b: number) => any;
599
- readonly is_opfs_available: () => any;
600
- readonly opfs_delete_snapshot: (a: number, b: number) => any;
601
- readonly opfs_flush_snapshot: (a: number, b: number, c: number, d: number) => any;
602
- readonly opfs_load_snapshot: (a: number, b: number) => any;
603
- readonly wasm_bindgen_4501a39796791c69___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_4501a39796791c69___JsValue____Output_______: (a: number, b: number) => void;
604
- readonly wasm_bindgen_4501a39796791c69___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
605
- readonly wasm_bindgen_4501a39796791c69___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_4501a39796791c69___JsValue____Output___core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_4501a39796791c69___JsError___: (a: number, b: number) => void;
606
- readonly wasm_bindgen_4501a39796791c69___convert__closures_____invoke___wasm_bindgen_4501a39796791c69___JsValue__core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_4501a39796791c69___JsError___true_: (a: number, b: number, c: any) => [number, number];
607
- readonly wasm_bindgen_4501a39796791c69___convert__closures_____invoke___js_sys_d1fdfe5cb3da44fc___Function_fn_wasm_bindgen_4501a39796791c69___JsValue_____wasm_bindgen_4501a39796791c69___sys__Undefined___js_sys_d1fdfe5cb3da44fc___Function_fn_wasm_bindgen_4501a39796791c69___JsValue_____wasm_bindgen_4501a39796791c69___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
608
- readonly wasm_bindgen_4501a39796791c69___convert__closures_____invoke___wasm_bindgen_4501a39796791c69___JsValue______true_: (a: number, b: number, c: any) => void;
609
- readonly wasm_bindgen_4501a39796791c69___convert__closures_____invoke_______true_: (a: number, b: number) => void;
517
+ readonly wasm_bindgen_188fd7264b65779d___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_188fd7264b65779d___JsValue____Output_______: (a: number, b: number) => void;
518
+ readonly wasm_bindgen_188fd7264b65779d___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_188fd7264b65779d___JsValue____Output___core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_188fd7264b65779d___JsError___: (a: number, b: number) => void;
519
+ readonly wasm_bindgen_188fd7264b65779d___convert__closures_____invoke___wasm_bindgen_188fd7264b65779d___JsValue__core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_188fd7264b65779d___JsError___true_: (a: number, b: number, c: any) => [number, number];
520
+ readonly wasm_bindgen_188fd7264b65779d___convert__closures_____invoke___js_sys_6ed69cd23706a2fe___Function_fn_wasm_bindgen_188fd7264b65779d___JsValue_____wasm_bindgen_188fd7264b65779d___sys__Undefined___js_sys_6ed69cd23706a2fe___Function_fn_wasm_bindgen_188fd7264b65779d___JsValue_____wasm_bindgen_188fd7264b65779d___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
521
+ readonly wasm_bindgen_188fd7264b65779d___convert__closures_____invoke___wasm_bindgen_188fd7264b65779d___JsValue______true_: (a: number, b: number, c: any) => void;
610
522
  readonly __wbindgen_malloc: (a: number, b: number) => number;
611
523
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
612
524
  readonly __wbindgen_exn_store: (a: number) => void;