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

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.1",
9
9
  "main": "./pkg/ridb_core.js",
10
10
  "types": "./pkg/ridb_core.d.ts",
11
11
  "sideEffects": [
@@ -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 = {
@@ -308,51 +270,43 @@ export class BaseStorage<Schemas extends SchemaTypeRecord> extends StorageIntern
308
270
 
309
271
 
310
272
 
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);
273
+ export class CoreStorage {
274
+ /**
275
+ * @param {any} document
276
+ * @param {Query} query
277
+ * @returns {boolean}
278
+ */
279
+ matchesQuery(document: any, query: Query<any>): boolean;
280
+ getPrimaryKeyTyped(value: any): string | number;
281
+ getIndexes(schema: Schema<any>, op: Operation): string[];
282
+ }
321
283
 
322
- export type IsVersionGreaterThan0<
323
- V extends number
324
- > = V extends 0 ? false : true;
325
284
 
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
285
 
332
- export type MigrationFunction<T extends SchemaType> = (doc: Doc <T> ) => Doc <T>
286
+ /**
287
+ * Represents an operation to be performed on a collection.
288
+ *
289
+ * @template T - The schema type of the collection.
290
+ */
291
+ export type Operation<T extends SchemaType = SchemaType> = {
292
+ /**
293
+ * The name of the collection on which the operation will be performed.
294
+ */
295
+ collection: string,
333
296
 
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
- };
297
+ /**
298
+ * The type of operation to be performed (e.g., CREATE, UPDATE, DELETE).
299
+ */
300
+ opType: OpType,
340
301
 
341
- export type MigrationPathsForSchemas<
342
- T extends SchemaTypeRecord
343
- > = {
344
- [K in keyof T]: MigrationPathsForSchema<T[K]>;
345
- };
302
+ /**
303
+ * The data involved in the operation, conforming to the schema type.
304
+ */
305
+ data: Doc<T>,
346
306
 
347
- export type MigrationsParameter<
348
- T extends SchemaTypeRecord
349
- > = AnyVersionGreaterThan1<T> extends true ?
350
- {
351
- migrations: MigrationPathsForSchemas<T>
352
- }:
353
- {
354
- migrations?: never
355
- };
307
+ primaryKeyField?: string,
308
+ primaryKey?: string
309
+ }
356
310
 
357
311
 
358
312
 
@@ -551,58 +505,6 @@ export class IndexDB<T extends SchemaTypeRecord> extends BaseStorage<T> {
551
505
 
552
506
 
553
507
 
554
- type Hook = (
555
- schema: Schema<SchemaType>,
556
- migration: MigrationPathsForSchema<SchemaType>,
557
- doc: Doc<SchemaType>
558
- ) => Doc<SchemaType>
559
-
560
- type BasePluginOptions = {
561
- docCreateHook?: Hook,
562
- docRecoverHook?: Hook
563
- }
564
-
565
- export class BasePlugin implements BasePluginOptions {
566
- docCreateHook?:Hook;
567
- docRecoverHook?:Hook;
568
- }
569
-
570
-
571
-
572
- /**
573
- * Represents a record of schema types, where each key is a string and the value is a `SchemaType`.
574
- */
575
- export type SchemaTypeRecord = {
576
- [name: string]: SchemaType
577
- };
578
-
579
- export abstract class StorageInternal<Schemas extends SchemaTypeRecord> {
580
- constructor(
581
- name: string,
582
- schemas: Schemas
583
- );
584
- abstract start(): Promise<void>;
585
- abstract close(): Promise<void>;
586
- abstract count(
587
- colectionName: keyof Schemas,
588
- query: QueryType<Schemas[keyof Schemas]>,
589
- options?: QueryOptions
590
- ): Promise<number>;
591
- abstract findDocumentById(
592
- collectionName: keyof Schemas,
593
- id: string
594
- ): Promise<Doc<Schemas[keyof Schemas]> | null>;
595
- abstract find(
596
- collectionName: keyof Schemas,
597
- query: QueryType<Schemas[keyof Schemas]>,
598
- options?: QueryOptions
599
- ): Promise<Doc<Schemas[keyof Schemas]>[]>;
600
- abstract write(
601
- op: Operation<Schemas[keyof Schemas]>
602
- ): Promise<Doc<Schemas[keyof Schemas]>>;
603
- }
604
-
605
-
606
508
  /**
607
509
  * Represents a database containing collections of documents.
608
510
  * RIDB extends from this class and is used to expose collections.
@@ -706,6 +608,106 @@ export type RIDBModule = {
706
608
  };
707
609
 
708
610
 
611
+
612
+ /**
613
+ * Represents a record of schema types, where each key is a string and the value is a `SchemaType`.
614
+ */
615
+ export type SchemaTypeRecord = {
616
+ [name: string]: SchemaType
617
+ };
618
+
619
+ export abstract class StorageInternal<Schemas extends SchemaTypeRecord> {
620
+ constructor(
621
+ name: string,
622
+ schemas: Schemas
623
+ );
624
+ abstract start(): Promise<void>;
625
+ abstract close(): Promise<void>;
626
+ abstract count(
627
+ colectionName: keyof Schemas,
628
+ query: QueryType<Schemas[keyof Schemas]>,
629
+ options?: QueryOptions
630
+ ): Promise<number>;
631
+ abstract findDocumentById(
632
+ collectionName: keyof Schemas,
633
+ id: string
634
+ ): Promise<Doc<Schemas[keyof Schemas]> | null>;
635
+ abstract find(
636
+ collectionName: keyof Schemas,
637
+ query: QueryType<Schemas[keyof Schemas]>,
638
+ options?: QueryOptions
639
+ ): Promise<Doc<Schemas[keyof Schemas]>[]>;
640
+ abstract write(
641
+ op: Operation<Schemas[keyof Schemas]>
642
+ ): Promise<Doc<Schemas[keyof Schemas]>>;
643
+ }
644
+
645
+
646
+ export type EnumerateUpTo<
647
+ N extends number,
648
+ Acc extends number[] = []
649
+ > = Acc['length'] extends N ?
650
+ Acc[number]:
651
+ EnumerateUpTo<N, [...Acc, Acc['length']]> ;
652
+
653
+ export type EnumerateFrom1To<
654
+ N extends number
655
+ > = Exclude<EnumerateUpTo<N>,0> | (N extends 0 ? never : N);
656
+
657
+ export type IsVersionGreaterThan0<
658
+ V extends number
659
+ > = V extends 0 ? false : true;
660
+
661
+ export type AnyVersionGreaterThan1<
662
+ T extends Record<string, SchemaType>
663
+ > = true extends {
664
+ [K in keyof T]: IsVersionGreaterThan0<T[K]['version']>;
665
+ } [keyof T] ? true : false;
666
+
667
+ export type MigrationFunction<T extends SchemaType> = (doc: Doc <T> ) => Doc <T>
668
+
669
+ export type MigrationPathsForSchema<
670
+ T extends SchemaType
671
+ > = T['version'] extends 0 ? {}: // No migrations needed for version 1
672
+ {
673
+ [K in EnumerateFrom1To < T['version'] > ]: MigrationFunction<T> ;
674
+ };
675
+
676
+ export type MigrationPathsForSchemas<
677
+ T extends SchemaTypeRecord
678
+ > = {
679
+ [K in keyof T]: MigrationPathsForSchema<T[K]>;
680
+ };
681
+
682
+ export type MigrationsParameter<
683
+ T extends SchemaTypeRecord
684
+ > = AnyVersionGreaterThan1<T> extends true ?
685
+ {
686
+ migrations: MigrationPathsForSchemas<T>
687
+ }:
688
+ {
689
+ migrations?: never
690
+ };
691
+
692
+
693
+
694
+ type Hook = (
695
+ schema: Schema<SchemaType>,
696
+ migration: MigrationPathsForSchema<SchemaType>,
697
+ doc: Doc<SchemaType>
698
+ ) => Doc<SchemaType>
699
+
700
+ type BasePluginOptions = {
701
+ docCreateHook?: Hook,
702
+ docRecoverHook?: Hook
703
+ }
704
+
705
+ export class BasePlugin implements BasePluginOptions {
706
+ docCreateHook?:Hook;
707
+ docRecoverHook?:Hook;
708
+ }
709
+
710
+
709
711
  /**
710
712
  */
711
713
  export class RIDBError {
@@ -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;
@@ -894,6 +879,23 @@ export interface InitOutput {
894
879
  readonly basestorage_getOption: (a: number, b: number, c: number, d: number) => void;
895
880
  readonly basestorage_getSchema: (a: number, b: number, c: number, d: number) => void;
896
881
  readonly basestorage_core: (a: number, b: number) => void;
882
+ readonly main_js: () => void;
883
+ readonly is_debug_mode: () => number;
884
+ readonly corestorage_new: () => number;
885
+ readonly corestorage_getPrimaryKeyTyped: (a: number, b: number, c: number) => void;
886
+ readonly corestorage_getIndexes: (a: number, b: number, c: number, d: number) => void;
887
+ readonly corestorage_matchesQuery: (a: number, b: number, c: number, d: number) => void;
888
+ readonly __wbg_queryoptions_free: (a: number) => void;
889
+ readonly queryoptions_limit: (a: number, b: number) => void;
890
+ readonly queryoptions_offset: (a: number, b: number) => void;
891
+ readonly __wbg_operation_free: (a: number) => void;
892
+ readonly operation_collection: (a: number, b: number) => void;
893
+ readonly operation_opType: (a: number) => number;
894
+ readonly operation_data: (a: number) => number;
895
+ readonly operation_primaryKeyField: (a: number) => number;
896
+ readonly operation_primaryKey: (a: number) => number;
897
+ readonly operation_primaryKeyIndex: (a: number, b: number) => void;
898
+ readonly __wbg_corestorage_free: (a: number) => void;
897
899
  readonly __wbg_property_free: (a: number) => void;
898
900
  readonly property_is_valid: (a: number, b: number) => void;
899
901
  readonly property_type: (a: number) => number;
@@ -929,13 +931,6 @@ export interface InitOutput {
929
931
  readonly indexdb_count: (a: number, b: number, c: number, d: number, e: number) => number;
930
932
  readonly indexdb_close: (a: number) => number;
931
933
  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
934
  readonly __wbg_ridberror_free: (a: number) => void;
940
935
  readonly ridberror_new: (a: number, b: number, c: number, d: number, e: number) => number;
941
936
  readonly ridberror_type: (a: number, b: number) => void;
@@ -955,6 +950,13 @@ export interface InitOutput {
955
950
  readonly database_authenticate: (a: number, b: number, c: number) => number;
956
951
  readonly database_collections: (a: number, b: number) => void;
957
952
  readonly database_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
953
+ readonly __wbg_baseplugin_free: (a: number) => void;
954
+ readonly baseplugin_new: (a: number, b: number, c: number) => void;
955
+ readonly baseplugin_name: (a: number) => number;
956
+ readonly baseplugin_get_doc_create_hook: (a: number) => number;
957
+ readonly baseplugin_get_doc_recover_hook: (a: number) => number;
958
+ readonly baseplugin_set_doc_create_hook: (a: number, b: number) => void;
959
+ readonly baseplugin_set_doc_recover_hook: (a: number, b: number) => void;
958
960
  readonly __wbg_wasmbindgentestcontext_free: (a: number) => void;
959
961
  readonly wasmbindgentestcontext_new: () => number;
960
962
  readonly wasmbindgentestcontext_args: (a: number, b: number, c: number) => void;
package/pkg/ridb_core.js CHANGED
@@ -327,14 +327,6 @@ export function is_debug_mode() {
327
327
  return ret !== 0;
328
328
  }
329
329
 
330
- function handleError(f, args) {
331
- try {
332
- return f.apply(this, args);
333
- } catch (e) {
334
- wasm.__wbindgen_exn_store(addHeapObject(e));
335
- }
336
- }
337
-
338
330
  function passArrayJsValueToWasm0(array, malloc) {
339
331
  const ptr = malloc(array.length * 4, 4) >>> 0;
340
332
  const mem = getUint32Memory0();
@@ -344,6 +336,14 @@ function passArrayJsValueToWasm0(array, malloc) {
344
336
  WASM_VECTOR_LEN = array.length;
345
337
  return ptr;
346
338
  }
339
+
340
+ function handleError(f, args) {
341
+ try {
342
+ return f.apply(this, args);
343
+ } catch (e) {
344
+ wasm.__wbindgen_exn_store(addHeapObject(e));
345
+ }
346
+ }
347
347
  /**
348
348
  * Handler for `console.log` invocations.
349
349
  *
@@ -417,7 +417,7 @@ function __wbg_adapter_333(arg0, arg1, arg2, arg3, arg4) {
417
417
  wasm.wasm_bindgen__convert__closures__invoke3_mut__h3608a0bbf7229368(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
418
418
  }
419
419
 
420
- function __wbg_adapter_384(arg0, arg1, arg2, arg3) {
420
+ function __wbg_adapter_388(arg0, arg1, arg2, arg3) {
421
421
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h0b860a6b6d5d8826(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
422
422
  }
423
423
 
@@ -2386,6 +2386,18 @@ 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_collection_new = function(arg0) {
2394
+ const ret = Collection.__wrap(arg0);
2395
+ return addHeapObject(ret);
2396
+ };
2397
+ imports.wbg.__wbg_database_new = function(arg0) {
2398
+ const ret = Database.__wrap(arg0);
2399
+ return addHeapObject(ret);
2400
+ };
2389
2401
  imports.wbg.__wbindgen_is_array = function(arg0) {
2390
2402
  const ret = Array.isArray(getObject(arg0));
2391
2403
  return ret;
@@ -2403,23 +2415,6 @@ function __wbg_get_imports() {
2403
2415
  const ret = !getObject(arg0);
2404
2416
  return ret;
2405
2417
  };
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
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
2419
- const v = getObject(arg0);
2420
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
2421
- return ret;
2422
- };
2423
2418
  imports.wbg.__wbindgen_is_function = function(arg0) {
2424
2419
  const ret = typeof(getObject(arg0)) === 'function';
2425
2420
  return ret;
@@ -2428,6 +2423,11 @@ function __wbg_get_imports() {
2428
2423
  const ret = typeof(getObject(arg0)) === 'bigint';
2429
2424
  return ret;
2430
2425
  };
2426
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
2427
+ const v = getObject(arg0);
2428
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
2429
+ return ret;
2430
+ };
2431
2431
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
2432
2432
  const ret = getObject(arg0) in getObject(arg1);
2433
2433
  return ret;
@@ -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_wrapper514 = function(arg0, arg1, arg2) {
3068
+ const ret = makeClosure(arg0, arg1, 188, __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_wrapper516 = function(arg0, arg1, arg2) {
3072
+ const ret = makeMutClosure(arg0, arg1, 188, __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_wrapper518 = function(arg0, arg1, arg2) {
3076
+ const ret = makeMutClosure(arg0, arg1, 188, __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_wrapper1620 = function(arg0, arg1, arg2) {
3080
+ const ret = makeMutClosure(arg0, arg1, 448, __wbg_adapter_65);
3069
3081
  return addHeapObject(ret);
3070
3082
  };
3071
3083
 
Binary file