@trust0/ridb-core 1.6.1 → 1.7.0-rc.2

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "1.6.1",
8
+ "version": "1.7.0-rc.2",
9
9
  "main": "./pkg/ridb_core.js",
10
10
  "types": "./pkg/ridb_core.d.ts",
11
11
  "sideEffects": [
@@ -38,6 +38,16 @@ export function __wbgtest_console_warn(args: Array<any>): void;
38
38
  */
39
39
  export function __wbgtest_console_error(args: Array<any>): void;
40
40
  /**
41
+ */
42
+ export enum Errors {
43
+ Error = 0,
44
+ HookError = 1,
45
+ QueryError = 2,
46
+ SerializationError = 3,
47
+ ValidationError = 4,
48
+ AuthenticationError = 5,
49
+ }
50
+ /**
41
51
  * Represents the type of operation to be performed on the collection.
42
52
  */
43
53
  export enum OpType {
@@ -62,16 +72,6 @@ export enum OpType {
62
72
  */
63
73
  COUNT = 4,
64
74
  }
65
- /**
66
- */
67
- export enum Errors {
68
- Error = 0,
69
- HookError = 1,
70
- QueryError = 2,
71
- SerializationError = 3,
72
- ValidationError = 4,
73
- AuthenticationError = 5,
74
- }
75
75
 
76
76
  export type Operators<T> = {
77
77
  $gte?: number,
@@ -109,46 +109,6 @@ export class Query<T extends SchemaType> {
109
109
 
110
110
 
111
111
 
112
- export class CoreStorage {
113
- /**
114
- * @param {any} document
115
- * @param {Query} query
116
- * @returns {boolean}
117
- */
118
- matchesQuery(document: any, query: Query<any>): boolean;
119
- getPrimaryKeyTyped(value: any): string | number;
120
- getIndexes(schema: Schema<any>, op: Operation): string[];
121
- }
122
-
123
-
124
-
125
- /**
126
- * Represents an operation to be performed on a collection.
127
- *
128
- * @template T - The schema type of the collection.
129
- */
130
- export type Operation<T extends SchemaType = SchemaType> = {
131
- /**
132
- * The name of the collection on which the operation will be performed.
133
- */
134
- collection: string,
135
-
136
- /**
137
- * The type of operation to be performed (e.g., CREATE, UPDATE, DELETE).
138
- */
139
- opType: OpType,
140
-
141
- /**
142
- * The data involved in the operation, conforming to the schema type.
143
- */
144
- data: Doc<T>,
145
-
146
- primaryKeyField?: string,
147
- primaryKey?: string
148
- }
149
-
150
-
151
-
152
112
  export type InternalsRecord = {
153
113
  [name: string]: BaseStorage<SchemaTypeRecord>
154
114
  };
@@ -190,6 +150,8 @@ export type Doc<T extends SchemaType> = {
190
150
  ExtractType<T["properties"][K]["type"]>
191
151
  } & {
192
152
  __version?: number;
153
+ createdAt?: number;
154
+ updatedAt?: number;
193
155
  };
194
156
 
195
157
  export type QueryOptions = {
@@ -271,91 +233,19 @@ export class InMemory<T extends SchemaTypeRecord> extends BaseStorage<T> {
271
233
 
272
234
 
273
235
 
274
- export type BaseStorageOptions = {
275
- [name:string]:string | boolean | number
276
- }
277
-
278
- export class BaseStorage<Schemas extends SchemaTypeRecord> extends StorageInternal<Schemas> {
279
- static create<SchemasCreate extends SchemaTypeRecord>(
280
- dbName: string,
281
- schemas: SchemasCreate,
282
- options?: BaseStorageOptions
283
- ): Promise<
284
- BaseStorage<
285
- SchemasCreate
286
- >
287
- >;
288
- constructor(
289
- dbName: string,
290
- schemas: Schemas,
291
- options?: BaseStorageOptions
292
- );
293
- readonly dbName: string;
294
- readonly schemas: Record<keyof Schemas, Schema<Schemas[keyof Schemas]>>;
295
- readonly options: BaseStorageOptions;
296
- readonly core: CoreStorage;
297
- start(): Promise<void>;
298
- close(): Promise<void>;
299
- count(colectionName: keyof Schemas, query: QueryType<Schemas[keyof Schemas]>, options?: QueryOptions): Promise<number>;
300
- findDocumentById(collectionName: keyof Schemas, id: string): Promise<Doc<Schemas[keyof Schemas]> | null>;
301
- find(collectionName: keyof Schemas, query: QueryType<Schemas[keyof Schemas]>, options?: QueryOptions): Promise<Doc<Schemas[keyof Schemas]>[]>;
302
- write(op: Operation<Schemas[keyof Schemas]>): Promise<Doc<Schemas[keyof Schemas]>>;
303
- getOption(name: string): string | boolean | number | undefined;
304
- getSchema(name: string): Schema<any>;
305
- //Call addIndexSchemas if you need extra indexing schemas for your database
306
- addIndexSchemas(): null
236
+ export class CoreStorage {
237
+ /**
238
+ * @param {any} document
239
+ * @param {Query} query
240
+ * @returns {boolean}
241
+ */
242
+ matchesQuery(document: any, query: Query<any>): boolean;
243
+ getPrimaryKeyTyped(value: any): string | number;
244
+ getIndexes(schema: Schema<any>, op: Operation): string[];
307
245
  }
308
246
 
309
247
 
310
248
 
311
- export type EnumerateUpTo<
312
- N extends number,
313
- Acc extends number[] = []
314
- > = Acc['length'] extends N ?
315
- Acc[number]:
316
- EnumerateUpTo<N, [...Acc, Acc['length']]> ;
317
-
318
- export type EnumerateFrom1To<
319
- N extends number
320
- > = Exclude<EnumerateUpTo<N>,0> | (N extends 0 ? never : N);
321
-
322
- export type IsVersionGreaterThan0<
323
- V extends number
324
- > = V extends 0 ? false : true;
325
-
326
- export type AnyVersionGreaterThan1<
327
- T extends Record<string, SchemaType>
328
- > = true extends {
329
- [K in keyof T]: IsVersionGreaterThan0<T[K]['version']>;
330
- } [keyof T] ? true : false;
331
-
332
- export type MigrationFunction<T extends SchemaType> = (doc: Doc <T> ) => Doc <T>
333
-
334
- export type MigrationPathsForSchema<
335
- T extends SchemaType
336
- > = T['version'] extends 0 ? {}: // No migrations needed for version 1
337
- {
338
- [K in EnumerateFrom1To < T['version'] > ]: MigrationFunction<T> ;
339
- };
340
-
341
- export type MigrationPathsForSchemas<
342
- T extends SchemaTypeRecord
343
- > = {
344
- [K in keyof T]: MigrationPathsForSchema<T[K]>;
345
- };
346
-
347
- export type MigrationsParameter<
348
- T extends SchemaTypeRecord
349
- > = AnyVersionGreaterThan1<T> extends true ?
350
- {
351
- migrations: MigrationPathsForSchemas<T>
352
- }:
353
- {
354
- migrations?: never
355
- };
356
-
357
-
358
-
359
249
  /**
360
250
  * Represents a property within a schema, including various constraints and nested properties.
361
251
  */
@@ -551,6 +441,81 @@ export class IndexDB<T extends SchemaTypeRecord> extends BaseStorage<T> {
551
441
 
552
442
 
553
443
 
444
+ export type EnumerateUpTo<
445
+ N extends number,
446
+ Acc extends number[] = []
447
+ > = Acc['length'] extends N ?
448
+ Acc[number]:
449
+ EnumerateUpTo<N, [...Acc, Acc['length']]> ;
450
+
451
+ export type EnumerateFrom1To<
452
+ N extends number
453
+ > = Exclude<EnumerateUpTo<N>,0> | (N extends 0 ? never : N);
454
+
455
+ export type IsVersionGreaterThan0<
456
+ V extends number
457
+ > = V extends 0 ? false : true;
458
+
459
+ export type AnyVersionGreaterThan1<
460
+ T extends Record<string, SchemaType>
461
+ > = true extends {
462
+ [K in keyof T]: IsVersionGreaterThan0<T[K]['version']>;
463
+ } [keyof T] ? true : false;
464
+
465
+ export type MigrationFunction<T extends SchemaType> = (doc: Doc <T> ) => Doc <T>
466
+
467
+ export type MigrationPathsForSchema<
468
+ T extends SchemaType
469
+ > = T['version'] extends 0 ? {}: // No migrations needed for version 1
470
+ {
471
+ [K in EnumerateFrom1To < T['version'] > ]: MigrationFunction<T> ;
472
+ };
473
+
474
+ export type MigrationPathsForSchemas<
475
+ T extends SchemaTypeRecord
476
+ > = {
477
+ [K in keyof T]: MigrationPathsForSchema<T[K]>;
478
+ };
479
+
480
+ export type MigrationsParameter<
481
+ T extends SchemaTypeRecord
482
+ > = AnyVersionGreaterThan1<T> extends true ?
483
+ {
484
+ migrations: MigrationPathsForSchemas<T>
485
+ }:
486
+ {
487
+ migrations?: never
488
+ };
489
+
490
+
491
+
492
+ /**
493
+ * Represents an operation to be performed on a collection.
494
+ *
495
+ * @template T - The schema type of the collection.
496
+ */
497
+ export type Operation<T extends SchemaType = SchemaType> = {
498
+ /**
499
+ * The name of the collection on which the operation will be performed.
500
+ */
501
+ collection: string,
502
+
503
+ /**
504
+ * The type of operation to be performed (e.g., CREATE, UPDATE, DELETE).
505
+ */
506
+ opType: OpType,
507
+
508
+ /**
509
+ * The data involved in the operation, conforming to the schema type.
510
+ */
511
+ data: Doc<T>,
512
+
513
+ primaryKeyField?: string,
514
+ primaryKey?: string
515
+ }
516
+
517
+
518
+
554
519
  type Hook = (
555
520
  schema: Schema<SchemaType>,
556
521
  migration: MigrationPathsForSchema<SchemaType>,
@@ -603,6 +568,43 @@ export abstract class StorageInternal<Schemas extends SchemaTypeRecord> {
603
568
  }
604
569
 
605
570
 
571
+ export type BaseStorageOptions = {
572
+ [name:string]:string | boolean | number
573
+ }
574
+
575
+ export class BaseStorage<Schemas extends SchemaTypeRecord> extends StorageInternal<Schemas> {
576
+ static create<SchemasCreate extends SchemaTypeRecord>(
577
+ dbName: string,
578
+ schemas: SchemasCreate,
579
+ options?: BaseStorageOptions
580
+ ): Promise<
581
+ BaseStorage<
582
+ SchemasCreate
583
+ >
584
+ >;
585
+ constructor(
586
+ dbName: string,
587
+ schemas: Schemas,
588
+ options?: BaseStorageOptions
589
+ );
590
+ readonly dbName: string;
591
+ readonly schemas: Record<keyof Schemas, Schema<Schemas[keyof Schemas]>>;
592
+ readonly options: BaseStorageOptions;
593
+ readonly core: CoreStorage;
594
+ start(): Promise<void>;
595
+ close(): Promise<void>;
596
+ count(colectionName: keyof Schemas, query: QueryType<Schemas[keyof Schemas]>, options?: QueryOptions): Promise<number>;
597
+ findDocumentById(collectionName: keyof Schemas, id: string): Promise<Doc<Schemas[keyof Schemas]> | null>;
598
+ find(collectionName: keyof Schemas, query: QueryType<Schemas[keyof Schemas]>, options?: QueryOptions): Promise<Doc<Schemas[keyof Schemas]>[]>;
599
+ write(op: Operation<Schemas[keyof Schemas]>): Promise<Doc<Schemas[keyof Schemas]>>;
600
+ getOption(name: string): string | boolean | number | undefined;
601
+ getSchema(name: string): Schema<any>;
602
+ //Call addIndexSchemas if you need extra indexing schemas for your database
603
+ addIndexSchemas(): null
604
+ }
605
+
606
+
607
+
606
608
  /**
607
609
  * Represents a database containing collections of documents.
608
610
  * RIDB extends from this class and is used to expose collections.
@@ -853,23 +855,6 @@ export interface InitOutput {
853
855
  readonly __wbgt_test_query_parse_eq_operator_wrong_type_32: (a: number) => void;
854
856
  readonly __wbgt_test_query_parse_ne_operator_33: (a: number) => void;
855
857
  readonly __wbgt_test_query_parse_ne_operator_wrong_type_34: (a: number) => void;
856
- readonly corestorage_new: () => number;
857
- readonly corestorage_getPrimaryKeyTyped: (a: number, b: number, c: number) => void;
858
- readonly corestorage_getIndexes: (a: number, b: number, c: number, d: number) => void;
859
- readonly corestorage_matchesQuery: (a: number, b: number, c: number, d: number) => void;
860
- readonly __wbg_queryoptions_free: (a: number) => void;
861
- readonly queryoptions_limit: (a: number, b: number) => void;
862
- readonly queryoptions_offset: (a: number, b: number) => void;
863
- readonly __wbg_operation_free: (a: number) => void;
864
- readonly operation_collection: (a: number, b: number) => void;
865
- readonly operation_opType: (a: number) => number;
866
- readonly operation_data: (a: number) => number;
867
- readonly operation_primaryKeyField: (a: number) => number;
868
- readonly operation_primaryKey: (a: number) => number;
869
- readonly operation_primaryKeyIndex: (a: number, b: number) => void;
870
- readonly main_js: () => void;
871
- readonly is_debug_mode: () => number;
872
- readonly __wbg_corestorage_free: (a: number) => void;
873
858
  readonly __wbg_collection_free: (a: number) => void;
874
859
  readonly collection_name: (a: number, b: number) => void;
875
860
  readonly collection_schema: (a: number, b: number) => void;
@@ -888,12 +873,14 @@ export interface InitOutput {
888
873
  readonly inmemory_count: (a: number, b: number, c: number, d: number, e: number) => number;
889
874
  readonly inmemory_close: (a: number) => number;
890
875
  readonly inmemory_start: (a: number) => number;
891
- readonly __wbg_basestorage_free: (a: number) => void;
892
- readonly basestorage_new: (a: number, b: number, c: number, d: number, e: number) => void;
893
- readonly basestorage_addIndexSchemas: (a: number, b: number) => void;
894
- readonly basestorage_getOption: (a: number, b: number, c: number, d: number) => void;
895
- readonly basestorage_getSchema: (a: number, b: number, c: number, d: number) => void;
896
- readonly basestorage_core: (a: number, b: number) => void;
876
+ readonly corestorage_new: () => number;
877
+ readonly corestorage_getPrimaryKeyTyped: (a: number, b: number, c: number) => void;
878
+ readonly corestorage_getIndexes: (a: number, b: number, c: number, d: number) => void;
879
+ readonly corestorage_matchesQuery: (a: number, b: number, c: number, d: number) => void;
880
+ readonly __wbg_queryoptions_free: (a: number) => void;
881
+ readonly queryoptions_limit: (a: number, b: number) => void;
882
+ readonly queryoptions_offset: (a: number, b: number) => void;
883
+ readonly __wbg_corestorage_free: (a: number) => void;
897
884
  readonly __wbg_property_free: (a: number) => void;
898
885
  readonly property_is_valid: (a: number, b: number) => void;
899
886
  readonly property_type: (a: number) => number;
@@ -929,13 +916,6 @@ export interface InitOutput {
929
916
  readonly indexdb_count: (a: number, b: number, c: number, d: number, e: number) => number;
930
917
  readonly indexdb_close: (a: number) => number;
931
918
  readonly indexdb_start: (a: number) => number;
932
- readonly __wbg_baseplugin_free: (a: number) => void;
933
- readonly baseplugin_new: (a: number, b: number, c: number) => void;
934
- readonly baseplugin_name: (a: number) => number;
935
- readonly baseplugin_get_doc_create_hook: (a: number) => number;
936
- readonly baseplugin_get_doc_recover_hook: (a: number) => number;
937
- readonly baseplugin_set_doc_create_hook: (a: number, b: number) => void;
938
- readonly baseplugin_set_doc_recover_hook: (a: number, b: number) => void;
939
919
  readonly __wbg_ridberror_free: (a: number) => void;
940
920
  readonly ridberror_new: (a: number, b: number, c: number, d: number, e: number) => number;
941
921
  readonly ridberror_type: (a: number, b: number) => void;
@@ -948,6 +928,28 @@ export interface InitOutput {
948
928
  readonly ridberror_serialisation: (a: number, b: number, c: number) => number;
949
929
  readonly ridberror_validation: (a: number, b: number, c: number) => number;
950
930
  readonly ridberror_hook: (a: number, b: number, c: number) => number;
931
+ readonly __wbg_operation_free: (a: number) => void;
932
+ readonly operation_collection: (a: number, b: number) => void;
933
+ readonly operation_opType: (a: number) => number;
934
+ readonly operation_data: (a: number) => number;
935
+ readonly operation_primaryKeyField: (a: number) => number;
936
+ readonly operation_primaryKey: (a: number) => number;
937
+ readonly operation_primaryKeyIndex: (a: number, b: number) => void;
938
+ readonly __wbg_baseplugin_free: (a: number) => void;
939
+ readonly baseplugin_new: (a: number, b: number, c: number) => void;
940
+ readonly baseplugin_name: (a: number) => number;
941
+ readonly baseplugin_get_doc_create_hook: (a: number) => number;
942
+ readonly baseplugin_get_doc_recover_hook: (a: number) => number;
943
+ readonly baseplugin_set_doc_create_hook: (a: number, b: number) => void;
944
+ readonly baseplugin_set_doc_recover_hook: (a: number, b: number) => void;
945
+ readonly main_js: () => void;
946
+ readonly is_debug_mode: () => number;
947
+ readonly __wbg_basestorage_free: (a: number) => void;
948
+ readonly basestorage_new: (a: number, b: number, c: number, d: number, e: number) => void;
949
+ readonly basestorage_addIndexSchemas: (a: number, b: number) => void;
950
+ readonly basestorage_getOption: (a: number, b: number, c: number, d: number) => void;
951
+ readonly basestorage_getSchema: (a: number, b: number, c: number, d: number) => void;
952
+ readonly basestorage_core: (a: number, b: number) => void;
951
953
  readonly __wbg_database_free: (a: number) => void;
952
954
  readonly database_start: (a: number) => number;
953
955
  readonly database_close: (a: number) => number;
@@ -967,16 +969,16 @@ export interface InitOutput {
967
969
  readonly __wbindgen_malloc: (a: number, b: number) => number;
968
970
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
969
971
  readonly __wbindgen_export_2: WebAssembly.Table;
972
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8fda0c55cc3a81de: (a: number, b: number, c: number) => void;
970
973
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
971
- readonly _dyn_core__ops__function__Fn__A_B_C___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbbd70d909398e1ba: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
972
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc5f5145da16b26e4: (a: number, b: number, c: number) => number;
973
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbe98bae341e12bb6: (a: number, b: number, c: number) => void;
974
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h80ee32fc34c22e0b: (a: number, b: number, c: number) => void;
974
+ readonly _dyn_core__ops__function__Fn__A_B_C___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd6d7e1645277db8b: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
975
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb8ff6b112b411818: (a: number, b: number, c: number) => number;
976
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha88f7e4598f57d81: (a: number, b: number, c: number) => void;
975
977
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
976
978
  readonly __wbindgen_exn_store: (a: number) => void;
977
- readonly wasm_bindgen__convert__closures__invoke0_mut__h84bd533389574f4d: (a: number, b: number) => void;
978
- readonly wasm_bindgen__convert__closures__invoke3_mut__h3608a0bbf7229368: (a: number, b: number, c: number, d: number, e: number) => void;
979
- readonly wasm_bindgen__convert__closures__invoke2_mut__h0b860a6b6d5d8826: (a: number, b: number, c: number, d: number) => void;
979
+ readonly wasm_bindgen__convert__closures__invoke0_mut__h99a9f0884c9cd22a: (a: number, b: number) => void;
980
+ readonly wasm_bindgen__convert__closures__invoke3_mut__h07c8feee2a4f48f8: (a: number, b: number, c: number, d: number, e: number) => void;
981
+ readonly wasm_bindgen__convert__closures__invoke2_mut__h424d8c39cf909020: (a: number, b: number, c: number, d: number) => void;
980
982
  readonly __wbindgen_start: () => void;
981
983
  }
982
984
 
package/pkg/ridb_core.js CHANGED
@@ -20,15 +20,6 @@ function takeObject(idx) {
20
20
  return ret;
21
21
  }
22
22
 
23
- function addHeapObject(obj) {
24
- if (heap_next === heap.length) heap.push(heap.length + 1);
25
- const idx = heap_next;
26
- heap_next = heap[idx];
27
-
28
- heap[idx] = obj;
29
- return idx;
30
- }
31
-
32
23
  const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
33
24
 
34
25
  if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
@@ -47,6 +38,15 @@ function getStringFromWasm0(ptr, len) {
47
38
  return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
48
39
  }
49
40
 
41
+ function addHeapObject(obj) {
42
+ if (heap_next === heap.length) heap.push(heap.length + 1);
43
+ const idx = heap_next;
44
+ heap_next = heap[idx];
45
+
46
+ heap[idx] = obj;
47
+ return idx;
48
+ }
49
+
50
50
  let WASM_VECTOR_LEN = 0;
51
51
 
52
52
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
@@ -205,20 +205,23 @@ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
205
205
  wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
206
206
  });
207
207
 
208
- function makeClosure(arg0, arg1, dtor, f) {
208
+ function makeMutClosure(arg0, arg1, dtor, f) {
209
209
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
210
210
  const real = (...args) => {
211
211
  // First up with a closure we increment the internal reference
212
212
  // count. This ensures that the Rust closure environment won't
213
213
  // be deallocated while we're invoking it.
214
214
  state.cnt++;
215
+ const a = state.a;
216
+ state.a = 0;
215
217
  try {
216
- return f(state.a, state.b, ...args);
218
+ return f(a, state.b, ...args);
217
219
  } finally {
218
220
  if (--state.cnt === 0) {
219
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
220
- state.a = 0;
221
+ wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
221
222
  CLOSURE_DTORS.unregister(state);
223
+ } else {
224
+ state.a = a;
222
225
  }
223
226
  }
224
227
  };
@@ -226,39 +229,24 @@ function makeClosure(arg0, arg1, dtor, f) {
226
229
  CLOSURE_DTORS.register(real, state, state);
227
230
  return real;
228
231
  }
229
- function __wbg_adapter_56(arg0, arg1, arg2, arg3, arg4) {
230
- try {
231
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
232
- wasm._dyn_core__ops__function__Fn__A_B_C___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbbd70d909398e1ba(retptr, arg0, arg1, addHeapObject(arg2), addHeapObject(arg3), addHeapObject(arg4));
233
- var r0 = getInt32Memory0()[retptr / 4 + 0];
234
- var r1 = getInt32Memory0()[retptr / 4 + 1];
235
- var r2 = getInt32Memory0()[retptr / 4 + 2];
236
- if (r2) {
237
- throw takeObject(r1);
238
- }
239
- return takeObject(r0);
240
- } finally {
241
- wasm.__wbindgen_add_to_stack_pointer(16);
242
- }
232
+ function __wbg_adapter_56(arg0, arg1, arg2) {
233
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8fda0c55cc3a81de(arg0, arg1, addHeapObject(arg2));
243
234
  }
244
235
 
245
- function makeMutClosure(arg0, arg1, dtor, f) {
236
+ function makeClosure(arg0, arg1, dtor, f) {
246
237
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
247
238
  const real = (...args) => {
248
239
  // First up with a closure we increment the internal reference
249
240
  // count. This ensures that the Rust closure environment won't
250
241
  // be deallocated while we're invoking it.
251
242
  state.cnt++;
252
- const a = state.a;
253
- state.a = 0;
254
243
  try {
255
- return f(a, state.b, ...args);
244
+ return f(state.a, state.b, ...args);
256
245
  } finally {
257
246
  if (--state.cnt === 0) {
258
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
247
+ wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
248
+ state.a = 0;
259
249
  CLOSURE_DTORS.unregister(state);
260
- } else {
261
- state.a = a;
262
250
  }
263
251
  }
264
252
  };
@@ -266,17 +254,29 @@ function makeMutClosure(arg0, arg1, dtor, f) {
266
254
  CLOSURE_DTORS.register(real, state, state);
267
255
  return real;
268
256
  }
269
- function __wbg_adapter_59(arg0, arg1, arg2) {
270
- const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc5f5145da16b26e4(arg0, arg1, addHeapObject(arg2));
271
- return takeObject(ret);
257
+ function __wbg_adapter_59(arg0, arg1, arg2, arg3, arg4) {
258
+ try {
259
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
260
+ wasm._dyn_core__ops__function__Fn__A_B_C___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd6d7e1645277db8b(retptr, arg0, arg1, addHeapObject(arg2), addHeapObject(arg3), addHeapObject(arg4));
261
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
262
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
263
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
264
+ if (r2) {
265
+ throw takeObject(r1);
266
+ }
267
+ return takeObject(r0);
268
+ } finally {
269
+ wasm.__wbindgen_add_to_stack_pointer(16);
270
+ }
272
271
  }
273
272
 
274
273
  function __wbg_adapter_62(arg0, arg1, arg2) {
275
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbe98bae341e12bb6(arg0, arg1, addHeapObject(arg2));
274
+ const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb8ff6b112b411818(arg0, arg1, addHeapObject(arg2));
275
+ return takeObject(ret);
276
276
  }
277
277
 
278
278
  function __wbg_adapter_65(arg0, arg1, arg2) {
279
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h80ee32fc34c22e0b(arg0, arg1, addHeapObject(arg2));
279
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha88f7e4598f57d81(arg0, arg1, addHeapObject(arg2));
280
280
  }
281
281
 
282
282
  function _assertClass(instance, klass) {
@@ -410,17 +410,20 @@ export function __wbgtest_console_error(args) {
410
410
  }
411
411
 
412
412
  function __wbg_adapter_290(arg0, arg1) {
413
- wasm.wasm_bindgen__convert__closures__invoke0_mut__h84bd533389574f4d(arg0, arg1);
413
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__h99a9f0884c9cd22a(arg0, arg1);
414
414
  }
415
415
 
416
416
  function __wbg_adapter_333(arg0, arg1, arg2, arg3, arg4) {
417
- wasm.wasm_bindgen__convert__closures__invoke3_mut__h3608a0bbf7229368(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
417
+ wasm.wasm_bindgen__convert__closures__invoke3_mut__h07c8feee2a4f48f8(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
418
418
  }
419
419
 
420
- function __wbg_adapter_384(arg0, arg1, arg2, arg3) {
421
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h0b860a6b6d5d8826(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
420
+ function __wbg_adapter_388(arg0, arg1, arg2, arg3) {
421
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h424d8c39cf909020(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
422
422
  }
423
423
 
424
+ /**
425
+ */
426
+ export const Errors = Object.freeze({ Error:0,"0":"Error",HookError:1,"1":"HookError",QueryError:2,"2":"QueryError",SerializationError:3,"3":"SerializationError",ValidationError:4,"4":"ValidationError",AuthenticationError:5,"5":"AuthenticationError", });
424
427
  /**
425
428
  * Represents the type of operation to be performed on the collection.
426
429
  */
@@ -445,9 +448,6 @@ QUERY:3,"3":"QUERY",
445
448
  * Count Operation.
446
449
  */
447
450
  COUNT:4,"4":"COUNT", });
448
- /**
449
- */
450
- export const Errors = Object.freeze({ Error:0,"0":"Error",HookError:1,"1":"HookError",QueryError:2,"2":"QueryError",SerializationError:3,"3":"SerializationError",ValidationError:4,"4":"ValidationError",AuthenticationError:5,"5":"AuthenticationError", });
451
451
 
452
452
  const BasePluginFinalization = (typeof FinalizationRegistry === 'undefined')
453
453
  ? { register: () => {}, unregister: () => {} }
@@ -2304,42 +2304,30 @@ function __wbg_get_imports() {
2304
2304
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2305
2305
  takeObject(arg0);
2306
2306
  };
2307
- imports.wbg.__wbg_ridberror_new = function(arg0) {
2308
- const ret = RIDBError.__wrap(arg0);
2307
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2308
+ const ret = getStringFromWasm0(arg0, arg1);
2309
2309
  return addHeapObject(ret);
2310
2310
  };
2311
- imports.wbg.__wbg_find_567c5c9f064fe3d2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2312
- const ret = getObject(arg0).find(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2313
- return addHeapObject(ret);
2314
- }, arguments) };
2315
2311
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
2316
2312
  const ret = getObject(arg0);
2317
2313
  return addHeapObject(ret);
2318
2314
  };
2319
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2320
- const ret = getStringFromWasm0(arg0, arg1);
2315
+ imports.wbg.__wbg_ridberror_new = function(arg0) {
2316
+ const ret = RIDBError.__wrap(arg0);
2321
2317
  return addHeapObject(ret);
2322
2318
  };
2323
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
2324
- const ret = getObject(arg0) === undefined;
2325
- return ret;
2319
+ imports.wbg.__wbindgen_number_new = function(arg0) {
2320
+ const ret = arg0;
2321
+ return addHeapObject(ret);
2326
2322
  };
2327
2323
  imports.wbg.__wbindgen_is_null = function(arg0) {
2328
2324
  const ret = getObject(arg0) === null;
2329
2325
  return ret;
2330
2326
  };
2331
- imports.wbg.__wbg_start_76c138c3b73ae6f8 = function() { return handleError(function (arg0) {
2332
- const ret = getObject(arg0).start();
2333
- return addHeapObject(ret);
2334
- }, arguments) };
2335
- imports.wbg.__wbindgen_number_new = function(arg0) {
2336
- const ret = arg0;
2337
- return addHeapObject(ret);
2327
+ imports.wbg.__wbindgen_is_undefined = function(arg0) {
2328
+ const ret = getObject(arg0) === undefined;
2329
+ return ret;
2338
2330
  };
2339
- imports.wbg.__wbg_close_6384ed3c27ef25c1 = function() { return handleError(function (arg0) {
2340
- const ret = getObject(arg0).close();
2341
- return addHeapObject(ret);
2342
- }, arguments) };
2343
2331
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
2344
2332
  const obj = getObject(arg1);
2345
2333
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -2348,6 +2336,18 @@ function __wbg_get_imports() {
2348
2336
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2349
2337
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2350
2338
  };
2339
+ imports.wbg.__wbg_count_19db4c3174d573d5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2340
+ const ret = getObject(arg0).count(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2341
+ return addHeapObject(ret);
2342
+ }, arguments) };
2343
+ imports.wbg.__wbg_start_76c138c3b73ae6f8 = function() { return handleError(function (arg0) {
2344
+ const ret = getObject(arg0).start();
2345
+ return addHeapObject(ret);
2346
+ }, arguments) };
2347
+ imports.wbg.__wbg_close_6384ed3c27ef25c1 = function() { return handleError(function (arg0) {
2348
+ const ret = getObject(arg0).close();
2349
+ return addHeapObject(ret);
2350
+ }, arguments) };
2351
2351
  imports.wbg.__wbg_apply_9f557eba1534d597 = function() { return handleError(function (arg0, arg1, arg2) {
2352
2352
  const ret = getObject(arg1).apply(takeObject(arg2));
2353
2353
  const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);
@@ -2359,8 +2359,8 @@ function __wbg_get_imports() {
2359
2359
  const ret = InMemory.__wrap(arg0);
2360
2360
  return addHeapObject(ret);
2361
2361
  };
2362
- imports.wbg.__wbg_count_19db4c3174d573d5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2363
- const ret = getObject(arg0).count(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2362
+ imports.wbg.__wbg_find_567c5c9f064fe3d2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2363
+ const ret = getObject(arg0).find(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
2364
2364
  return addHeapObject(ret);
2365
2365
  }, arguments) };
2366
2366
  imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
@@ -2386,6 +2386,26 @@ function __wbg_get_imports() {
2386
2386
  const ret = getObject(arg0).write(Operation.__wrap(arg1));
2387
2387
  return addHeapObject(ret);
2388
2388
  }, arguments) };
2389
+ imports.wbg.__wbg_indexdb_new = function(arg0) {
2390
+ const ret = IndexDB.__wrap(arg0);
2391
+ return addHeapObject(ret);
2392
+ };
2393
+ imports.wbg.__wbg_database_new = function(arg0) {
2394
+ const ret = Database.__wrap(arg0);
2395
+ return addHeapObject(ret);
2396
+ };
2397
+ imports.wbg.__wbg_collection_new = function(arg0) {
2398
+ const ret = Collection.__wrap(arg0);
2399
+ return addHeapObject(ret);
2400
+ };
2401
+ imports.wbg.__wbindgen_is_string = function(arg0) {
2402
+ const ret = typeof(getObject(arg0)) === 'string';
2403
+ return ret;
2404
+ };
2405
+ imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
2406
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
2407
+ return addHeapObject(ret);
2408
+ };
2389
2409
  imports.wbg.__wbindgen_is_array = function(arg0) {
2390
2410
  const ret = Array.isArray(getObject(arg0));
2391
2411
  return ret;
@@ -2395,35 +2415,15 @@ function __wbg_get_imports() {
2395
2415
  const ret = typeof(val) === 'object' && val !== null;
2396
2416
  return ret;
2397
2417
  };
2398
- imports.wbg.__wbindgen_is_string = function(arg0) {
2399
- const ret = typeof(getObject(arg0)) === 'string';
2400
- return ret;
2401
- };
2402
2418
  imports.wbg.__wbindgen_is_falsy = function(arg0) {
2403
2419
  const ret = !getObject(arg0);
2404
2420
  return ret;
2405
2421
  };
2406
- imports.wbg.__wbg_indexdb_new = function(arg0) {
2407
- const ret = IndexDB.__wrap(arg0);
2408
- return addHeapObject(ret);
2409
- };
2410
- imports.wbg.__wbg_collection_new = function(arg0) {
2411
- const ret = Collection.__wrap(arg0);
2412
- return addHeapObject(ret);
2413
- };
2414
- imports.wbg.__wbg_database_new = function(arg0) {
2415
- const ret = Database.__wrap(arg0);
2416
- return addHeapObject(ret);
2417
- };
2418
2422
  imports.wbg.__wbindgen_boolean_get = function(arg0) {
2419
2423
  const v = getObject(arg0);
2420
2424
  const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
2421
2425
  return ret;
2422
2426
  };
2423
- imports.wbg.__wbindgen_is_function = function(arg0) {
2424
- const ret = typeof(getObject(arg0)) === 'function';
2425
- return ret;
2426
- };
2427
2427
  imports.wbg.__wbindgen_is_bigint = function(arg0) {
2428
2428
  const ret = typeof(getObject(arg0)) === 'bigint';
2429
2429
  return ret;
@@ -2444,9 +2444,9 @@ function __wbg_get_imports() {
2444
2444
  const ret = BigInt.asUintN(64, arg0);
2445
2445
  return addHeapObject(ret);
2446
2446
  };
2447
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
2448
- const ret = new Error(getStringFromWasm0(arg0, arg1));
2449
- return addHeapObject(ret);
2447
+ imports.wbg.__wbindgen_is_function = function(arg0) {
2448
+ const ret = typeof(getObject(arg0)) === 'function';
2449
+ return ret;
2450
2450
  };
2451
2451
  imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
2452
2452
  const ret = getObject(arg0).crypto;
@@ -2604,8 +2604,8 @@ function __wbg_get_imports() {
2604
2604
  const ret = getObject(arg0).value;
2605
2605
  return addHeapObject(ret);
2606
2606
  }, arguments) };
2607
- imports.wbg.__wbg_open_f0d7259fd7e689ce = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2608
- const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
2607
+ imports.wbg.__wbg_only_cacf767244bdc280 = function() { return handleError(function (arg0) {
2608
+ const ret = IDBKeyRange.only(getObject(arg0));
2609
2609
  return addHeapObject(ret);
2610
2610
  }, arguments) };
2611
2611
  imports.wbg.__wbg_instanceof_IdbOpenDbRequest_3f4a166bc0340578 = function(arg0) {
@@ -2655,13 +2655,13 @@ function __wbg_get_imports() {
2655
2655
  const ret = getObject(arg0).objectStore(getStringFromWasm0(arg1, arg2));
2656
2656
  return addHeapObject(ret);
2657
2657
  }, arguments) };
2658
+ imports.wbg.__wbg_open_f0d7259fd7e689ce = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2659
+ const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
2660
+ return addHeapObject(ret);
2661
+ }, arguments) };
2658
2662
  imports.wbg.__wbg_continue_f1c3e0815924de62 = function() { return handleError(function (arg0) {
2659
2663
  getObject(arg0).continue();
2660
2664
  }, arguments) };
2661
- imports.wbg.__wbg_only_cacf767244bdc280 = function() { return handleError(function (arg0) {
2662
- const ret = IDBKeyRange.only(getObject(arg0));
2663
- return addHeapObject(ret);
2664
- }, arguments) };
2665
2665
  imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
2666
2666
  const ret = getObject(arg0) == getObject(arg1);
2667
2667
  return ret;
@@ -2722,6 +2722,17 @@ function __wbg_get_imports() {
2722
2722
  const ret = document;
2723
2723
  return addHeapObject(ret);
2724
2724
  };
2725
+ imports.wbg.__wbg_textcontent_67e4e811cbdf00fc = function(arg0, arg1) {
2726
+ const ret = getObject(arg1).textContent;
2727
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2728
+ const len1 = WASM_VECTOR_LEN;
2729
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2730
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2731
+ };
2732
+ imports.wbg.__wbg_stack_44743fb7d71926a0 = function(arg0) {
2733
+ const ret = getObject(arg0).stack;
2734
+ return addHeapObject(ret);
2735
+ };
2725
2736
  imports.wbg.__wbg_self_55106357ec10ecd4 = function(arg0) {
2726
2737
  const ret = getObject(arg0).self;
2727
2738
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -2744,17 +2755,6 @@ function __wbg_get_imports() {
2744
2755
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2745
2756
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2746
2757
  };
2747
- imports.wbg.__wbg_textcontent_67e4e811cbdf00fc = function(arg0, arg1) {
2748
- const ret = getObject(arg1).textContent;
2749
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2750
- const len1 = WASM_VECTOR_LEN;
2751
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2752
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2753
- };
2754
- imports.wbg.__wbg_stack_44743fb7d71926a0 = function(arg0) {
2755
- const ret = getObject(arg0).stack;
2756
- return addHeapObject(ret);
2757
- };
2758
2758
  imports.wbg.__wbg_wbgtestoutputwriteln_4db3bd64914ec955 = function(arg0) {
2759
2759
  __wbg_test_output_writeln(takeObject(arg0));
2760
2760
  };
@@ -2929,6 +2929,14 @@ function __wbg_get_imports() {
2929
2929
  const ret = Number.isSafeInteger(getObject(arg0));
2930
2930
  return ret;
2931
2931
  };
2932
+ imports.wbg.__wbg_getTime_2bc4375165f02d15 = function(arg0) {
2933
+ const ret = getObject(arg0).getTime();
2934
+ return ret;
2935
+ };
2936
+ imports.wbg.__wbg_new0_7d84e5b2cd9fdc73 = function() {
2937
+ const ret = new Date();
2938
+ return addHeapObject(ret);
2939
+ };
2932
2940
  imports.wbg.__wbg_assign_496d2d14fecafbcf = function(arg0, arg1) {
2933
2941
  const ret = Object.assign(getObject(arg0), getObject(arg1));
2934
2942
  return addHeapObject(ret);
@@ -2952,7 +2960,7 @@ function __wbg_get_imports() {
2952
2960
  const a = state0.a;
2953
2961
  state0.a = 0;
2954
2962
  try {
2955
- return __wbg_adapter_384(a, state0.b, arg0, arg1);
2963
+ return __wbg_adapter_388(a, state0.b, arg0, arg1);
2956
2964
  } finally {
2957
2965
  state0.a = a;
2958
2966
  }
@@ -3020,6 +3028,10 @@ function __wbg_get_imports() {
3020
3028
  const ret = Reflect.deleteProperty(getObject(arg0), getObject(arg1));
3021
3029
  return ret;
3022
3030
  }, arguments) };
3031
+ imports.wbg.__wbg_has_0af94d20077affa2 = function() { return handleError(function (arg0, arg1) {
3032
+ const ret = Reflect.has(getObject(arg0), getObject(arg1));
3033
+ return ret;
3034
+ }, arguments) };
3023
3035
  imports.wbg.__wbg_set_1f9b04f170055d33 = function() { return handleError(function (arg0, arg1, arg2) {
3024
3036
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
3025
3037
  return ret;
@@ -3052,20 +3064,20 @@ function __wbg_get_imports() {
3052
3064
  const ret = wasm.memory;
3053
3065
  return addHeapObject(ret);
3054
3066
  };
3055
- imports.wbg.__wbindgen_closure_wrapper625 = function(arg0, arg1, arg2) {
3056
- const ret = makeClosure(arg0, arg1, 260, __wbg_adapter_56);
3067
+ imports.wbg.__wbindgen_closure_wrapper694 = function(arg0, arg1, arg2) {
3068
+ const ret = makeMutClosure(arg0, arg1, 288, __wbg_adapter_56);
3057
3069
  return addHeapObject(ret);
3058
3070
  };
3059
- imports.wbg.__wbindgen_closure_wrapper627 = function(arg0, arg1, arg2) {
3060
- const ret = makeMutClosure(arg0, arg1, 260, __wbg_adapter_59);
3071
+ imports.wbg.__wbindgen_closure_wrapper696 = function(arg0, arg1, arg2) {
3072
+ const ret = makeClosure(arg0, arg1, 288, __wbg_adapter_59);
3061
3073
  return addHeapObject(ret);
3062
3074
  };
3063
- imports.wbg.__wbindgen_closure_wrapper629 = function(arg0, arg1, arg2) {
3064
- const ret = makeMutClosure(arg0, arg1, 260, __wbg_adapter_62);
3075
+ imports.wbg.__wbindgen_closure_wrapper698 = function(arg0, arg1, arg2) {
3076
+ const ret = makeMutClosure(arg0, arg1, 288, __wbg_adapter_62);
3065
3077
  return addHeapObject(ret);
3066
3078
  };
3067
- imports.wbg.__wbindgen_closure_wrapper1614 = function(arg0, arg1, arg2) {
3068
- const ret = makeMutClosure(arg0, arg1, 444, __wbg_adapter_65);
3079
+ imports.wbg.__wbindgen_closure_wrapper1623 = function(arg0, arg1, arg2) {
3080
+ const ret = makeMutClosure(arg0, arg1, 449, __wbg_adapter_65);
3069
3081
  return addHeapObject(ret);
3070
3082
  };
3071
3083
 
Binary file