@diaryx/wasm 1.3.0-dev.bdbd013 → 1.3.2-dev.45897a6
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/diaryx_wasm.d.ts +9 -8
- package/diaryx_wasm.js +208 -189
- package/diaryx_wasm_bg.wasm.d.ts +9 -8
- package/package.json +1 -1
package/diaryx_wasm.d.ts
CHANGED
|
@@ -408,14 +408,15 @@ export interface InitOutput {
|
|
|
408
408
|
readonly init: () => void;
|
|
409
409
|
readonly jsasyncfilesystem_new: (a: any) => number;
|
|
410
410
|
readonly __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
411
|
-
readonly
|
|
412
|
-
readonly
|
|
413
|
-
readonly
|
|
414
|
-
readonly
|
|
415
|
-
readonly
|
|
416
|
-
readonly
|
|
417
|
-
readonly
|
|
418
|
-
readonly
|
|
411
|
+
readonly wasm_bindgen__closure__destroy__h4106c4d3d254e5cb: (a: number, b: number) => void;
|
|
412
|
+
readonly wasm_bindgen__closure__destroy__h383b907cd99501f0: (a: number, b: number) => void;
|
|
413
|
+
readonly wasm_bindgen__closure__destroy__ha8e48983308a695a: (a: number, b: number) => void;
|
|
414
|
+
readonly wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77: (a: number, b: number, c: any) => [number, number];
|
|
415
|
+
readonly wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77_2: (a: number, b: number, c: any) => [number, number];
|
|
416
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8d091265fab4d12f: (a: number, b: number, c: any) => [number, number];
|
|
417
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8f90f75f1e0b9206: (a: number, b: number, c: any, d: any) => void;
|
|
418
|
+
readonly wasm_bindgen__convert__closures_____invoke__h41f06a319828e0a0: (a: number, b: number, c: any) => void;
|
|
419
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8c538aa099029b45: (a: number, b: number, c: any) => void;
|
|
419
420
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
420
421
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
421
422
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/diaryx_wasm.js
CHANGED
|
@@ -194,7 +194,7 @@ export class DiaryxBackend {
|
|
|
194
194
|
* @returns {boolean}
|
|
195
195
|
*/
|
|
196
196
|
isCrdtEnabled() {
|
|
197
|
-
const ret = wasm.
|
|
197
|
+
const ret = wasm.diaryxbackend_isCrdtEnabled(this.__wbg_ptr);
|
|
198
198
|
return ret !== 0;
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
@@ -531,83 +531,83 @@ export function today_formatted(format) {
|
|
|
531
531
|
function __wbg_get_imports() {
|
|
532
532
|
const import0 = {
|
|
533
533
|
__proto__: null,
|
|
534
|
-
|
|
534
|
+
__wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
|
|
535
535
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
536
536
|
return ret;
|
|
537
537
|
},
|
|
538
|
-
|
|
538
|
+
__wbg_Number_a5a435bd7bbec835: function(arg0) {
|
|
539
539
|
const ret = Number(arg0);
|
|
540
540
|
return ret;
|
|
541
541
|
},
|
|
542
|
-
|
|
542
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
543
543
|
const ret = String(arg1);
|
|
544
544
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
545
545
|
const len1 = WASM_VECTOR_LEN;
|
|
546
546
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
547
547
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
548
548
|
},
|
|
549
|
-
|
|
549
|
+
__wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
|
|
550
550
|
const v = arg1;
|
|
551
551
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
552
552
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
553
553
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
554
554
|
},
|
|
555
|
-
|
|
555
|
+
__wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
|
|
556
556
|
const v = arg0;
|
|
557
557
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
558
558
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
559
559
|
},
|
|
560
|
-
|
|
560
|
+
__wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
|
|
561
561
|
const ret = debugString(arg1);
|
|
562
562
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
563
563
|
const len1 = WASM_VECTOR_LEN;
|
|
564
564
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
565
565
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
566
566
|
},
|
|
567
|
-
|
|
567
|
+
__wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
|
|
568
568
|
const ret = arg0 in arg1;
|
|
569
569
|
return ret;
|
|
570
570
|
},
|
|
571
|
-
|
|
571
|
+
__wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
|
|
572
572
|
const ret = typeof(arg0) === 'bigint';
|
|
573
573
|
return ret;
|
|
574
574
|
},
|
|
575
|
-
|
|
575
|
+
__wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
|
|
576
576
|
const ret = typeof(arg0) === 'function';
|
|
577
577
|
return ret;
|
|
578
578
|
},
|
|
579
|
-
|
|
579
|
+
__wbg___wbindgen_is_null_0b605fc6b167c56f: function(arg0) {
|
|
580
580
|
const ret = arg0 === null;
|
|
581
581
|
return ret;
|
|
582
582
|
},
|
|
583
|
-
|
|
583
|
+
__wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
|
|
584
584
|
const val = arg0;
|
|
585
585
|
const ret = typeof(val) === 'object' && val !== null;
|
|
586
586
|
return ret;
|
|
587
587
|
},
|
|
588
|
-
|
|
588
|
+
__wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
|
|
589
589
|
const ret = typeof(arg0) === 'string';
|
|
590
590
|
return ret;
|
|
591
591
|
},
|
|
592
|
-
|
|
592
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
593
593
|
const ret = arg0 === undefined;
|
|
594
594
|
return ret;
|
|
595
595
|
},
|
|
596
|
-
|
|
596
|
+
__wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
|
|
597
597
|
const ret = arg0 === arg1;
|
|
598
598
|
return ret;
|
|
599
599
|
},
|
|
600
|
-
|
|
600
|
+
__wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
|
|
601
601
|
const ret = arg0 == arg1;
|
|
602
602
|
return ret;
|
|
603
603
|
},
|
|
604
|
-
|
|
604
|
+
__wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
|
|
605
605
|
const obj = arg1;
|
|
606
606
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
607
607
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
608
608
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
609
609
|
},
|
|
610
|
-
|
|
610
|
+
__wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
|
|
611
611
|
const obj = arg1;
|
|
612
612
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
613
613
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -615,58 +615,58 @@ function __wbg_get_imports() {
|
|
|
615
615
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
616
616
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
617
617
|
},
|
|
618
|
-
|
|
618
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
619
619
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
620
620
|
},
|
|
621
|
-
|
|
621
|
+
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
|
|
622
622
|
arg0._wbg_cb_unref();
|
|
623
623
|
},
|
|
624
|
-
|
|
624
|
+
__wbg_abort_60dcb252ae0031fc: function() { return handleError(function (arg0) {
|
|
625
625
|
arg0.abort();
|
|
626
626
|
}, arguments); },
|
|
627
|
-
|
|
627
|
+
__wbg_advance_670851c833f4530f: function() { return handleError(function (arg0, arg1) {
|
|
628
628
|
arg0.advance(arg1 >>> 0);
|
|
629
629
|
}, arguments); },
|
|
630
|
-
|
|
630
|
+
__wbg_apply_ac9afb97ca32f169: function() { return handleError(function (arg0, arg1, arg2) {
|
|
631
631
|
const ret = arg0.apply(arg1, arg2);
|
|
632
632
|
return ret;
|
|
633
633
|
}, arguments); },
|
|
634
|
-
|
|
634
|
+
__wbg_arrayBuffer_7ff5e58aa85a64f7: function(arg0) {
|
|
635
635
|
const ret = arg0.arrayBuffer();
|
|
636
636
|
return ret;
|
|
637
637
|
},
|
|
638
|
-
|
|
639
|
-
const ret = arg0.call(arg1);
|
|
640
|
-
return ret;
|
|
641
|
-
}, arguments); },
|
|
642
|
-
__wbg_call_4708e0c13bdc8e95: function() { return handleError(function (arg0, arg1, arg2) {
|
|
638
|
+
__wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
643
639
|
const ret = arg0.call(arg1, arg2);
|
|
644
640
|
return ret;
|
|
645
641
|
}, arguments); },
|
|
646
|
-
|
|
642
|
+
__wbg_call_dcc2662fa17a72cf: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
647
643
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
648
644
|
return ret;
|
|
649
645
|
}, arguments); },
|
|
650
|
-
|
|
646
|
+
__wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
|
|
647
|
+
const ret = arg0.call(arg1);
|
|
648
|
+
return ret;
|
|
649
|
+
}, arguments); },
|
|
650
|
+
__wbg_call_f858478a02f9600f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
651
651
|
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
652
652
|
return ret;
|
|
653
653
|
}, arguments); },
|
|
654
|
-
|
|
654
|
+
__wbg_close_8b24f0978d9a4917: function(arg0) {
|
|
655
655
|
const ret = arg0.close();
|
|
656
656
|
return ret;
|
|
657
657
|
},
|
|
658
|
-
|
|
658
|
+
__wbg_createObjectStore_4709de9339ffc6c0: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
659
659
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
|
|
660
660
|
return ret;
|
|
661
661
|
}, arguments); },
|
|
662
|
-
|
|
662
|
+
__wbg_createWritable_8d9bb07c4baa8e42: function(arg0, arg1) {
|
|
663
663
|
const ret = arg0.createWritable(arg1);
|
|
664
664
|
return ret;
|
|
665
665
|
},
|
|
666
|
-
|
|
666
|
+
__wbg_debug_271c16e6de0bc226: function(arg0, arg1, arg2, arg3) {
|
|
667
667
|
console.debug(arg0, arg1, arg2, arg3);
|
|
668
668
|
},
|
|
669
|
-
|
|
669
|
+
__wbg_delete_40db93c05c546fb9: function() { return handleError(function (arg0, arg1) {
|
|
670
670
|
const ret = arg0.delete(arg1);
|
|
671
671
|
return ret;
|
|
672
672
|
}, arguments); },
|
|
@@ -674,23 +674,26 @@ function __wbg_get_imports() {
|
|
|
674
674
|
const ret = DiaryxBackend.__wrap(arg0);
|
|
675
675
|
return ret;
|
|
676
676
|
},
|
|
677
|
-
|
|
677
|
+
__wbg_done_08ce71ee07e3bd17: function(arg0) {
|
|
678
678
|
const ret = arg0.done;
|
|
679
679
|
return ret;
|
|
680
680
|
},
|
|
681
|
-
|
|
681
|
+
__wbg_entries_310f5926c32b5bcb: function(arg0) {
|
|
682
682
|
const ret = arg0.entries();
|
|
683
683
|
return ret;
|
|
684
684
|
},
|
|
685
|
-
|
|
685
|
+
__wbg_entries_e8a20ff8c9757101: function(arg0) {
|
|
686
686
|
const ret = Object.entries(arg0);
|
|
687
687
|
return ret;
|
|
688
688
|
},
|
|
689
|
-
|
|
689
|
+
__wbg_error_1eece6b0039034ce: function(arg0, arg1, arg2, arg3) {
|
|
690
|
+
console.error(arg0, arg1, arg2, arg3);
|
|
691
|
+
},
|
|
692
|
+
__wbg_error_74898554122344a8: function() { return handleError(function (arg0) {
|
|
690
693
|
const ret = arg0.error;
|
|
691
694
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
692
695
|
}, arguments); },
|
|
693
|
-
|
|
696
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
694
697
|
let deferred0_0;
|
|
695
698
|
let deferred0_1;
|
|
696
699
|
try {
|
|
@@ -701,65 +704,70 @@ function __wbg_get_imports() {
|
|
|
701
704
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
702
705
|
}
|
|
703
706
|
},
|
|
704
|
-
|
|
705
|
-
console.error(arg0, arg1, arg2, arg3);
|
|
706
|
-
},
|
|
707
|
-
__wbg_fromCodePoint_22365db7b7d6ac39: function() { return handleError(function (arg0) {
|
|
707
|
+
__wbg_fromCodePoint_4a02c6dcced1d233: function() { return handleError(function (arg0) {
|
|
708
708
|
const ret = String.fromCodePoint(arg0 >>> 0);
|
|
709
709
|
return ret;
|
|
710
710
|
}, arguments); },
|
|
711
|
-
|
|
711
|
+
__wbg_from_4bdf88943703fd48: function(arg0) {
|
|
712
712
|
const ret = Array.from(arg0);
|
|
713
713
|
return ret;
|
|
714
714
|
},
|
|
715
|
-
|
|
715
|
+
__wbg_getDirectoryHandle_5f0ee1df58525717: function(arg0, arg1, arg2, arg3) {
|
|
716
716
|
const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
717
717
|
return ret;
|
|
718
718
|
},
|
|
719
|
-
|
|
719
|
+
__wbg_getFileHandle_b85805519dc63efa: function(arg0, arg1, arg2, arg3) {
|
|
720
720
|
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
721
721
|
return ret;
|
|
722
722
|
},
|
|
723
|
-
|
|
723
|
+
__wbg_getFile_30341f4730c33225: function(arg0) {
|
|
724
724
|
const ret = arg0.getFile();
|
|
725
725
|
return ret;
|
|
726
726
|
},
|
|
727
|
-
|
|
727
|
+
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
728
728
|
const ret = arg0.getTime();
|
|
729
729
|
return ret;
|
|
730
730
|
},
|
|
731
|
-
|
|
731
|
+
__wbg_getTimezoneOffset_639bcf2dde21158b: function(arg0) {
|
|
732
732
|
const ret = arg0.getTimezoneOffset();
|
|
733
733
|
return ret;
|
|
734
734
|
},
|
|
735
|
-
|
|
735
|
+
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
736
|
+
const ret = Reflect.get(arg0, arg1);
|
|
737
|
+
return ret;
|
|
738
|
+
}, arguments); },
|
|
739
|
+
__wbg_get_3ef1eba1850ade27: function() { return handleError(function (arg0, arg1) {
|
|
740
|
+
const ret = Reflect.get(arg0, arg1);
|
|
741
|
+
return ret;
|
|
742
|
+
}, arguments); },
|
|
743
|
+
__wbg_get_6ac8c8119f577720: function() { return handleError(function (arg0, arg1) {
|
|
736
744
|
const ret = arg0.get(arg1);
|
|
737
745
|
return ret;
|
|
738
746
|
}, arguments); },
|
|
739
|
-
|
|
747
|
+
__wbg_get_7873e3afa59bad00: function(arg0, arg1, arg2) {
|
|
740
748
|
const ret = arg1[arg2 >>> 0];
|
|
741
749
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
742
750
|
var len1 = WASM_VECTOR_LEN;
|
|
743
751
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
744
752
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
745
753
|
},
|
|
746
|
-
|
|
754
|
+
__wbg_get_a8ee5c45dabc1b3b: function(arg0, arg1) {
|
|
747
755
|
const ret = arg0[arg1 >>> 0];
|
|
748
756
|
return ret;
|
|
749
757
|
},
|
|
750
|
-
|
|
751
|
-
const ret =
|
|
758
|
+
__wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
|
|
759
|
+
const ret = arg0[arg1 >>> 0];
|
|
752
760
|
return ret;
|
|
753
|
-
},
|
|
754
|
-
|
|
761
|
+
},
|
|
762
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
755
763
|
const ret = arg0[arg1];
|
|
756
764
|
return ret;
|
|
757
765
|
},
|
|
758
|
-
|
|
766
|
+
__wbg_indexedDB_2ae2128d487c6ebc: function() { return handleError(function (arg0) {
|
|
759
767
|
const ret = arg0.indexedDB;
|
|
760
768
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
761
769
|
}, arguments); },
|
|
762
|
-
|
|
770
|
+
__wbg_indexedDB_c83feb7151bbde52: function() { return handleError(function (arg0) {
|
|
763
771
|
const ret = arg0.indexedDB;
|
|
764
772
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
765
773
|
}, arguments); },
|
|
@@ -767,10 +775,10 @@ function __wbg_get_imports() {
|
|
|
767
775
|
const ret = IndexedDbFileSystem.__wrap(arg0);
|
|
768
776
|
return ret;
|
|
769
777
|
},
|
|
770
|
-
|
|
778
|
+
__wbg_info_0194681687b5ab04: function(arg0, arg1, arg2, arg3) {
|
|
771
779
|
console.info(arg0, arg1, arg2, arg3);
|
|
772
780
|
},
|
|
773
|
-
|
|
781
|
+
__wbg_instanceof_ArrayBuffer_101e2bf31071a9f6: function(arg0) {
|
|
774
782
|
let result;
|
|
775
783
|
try {
|
|
776
784
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -780,7 +788,7 @@ function __wbg_get_imports() {
|
|
|
780
788
|
const ret = result;
|
|
781
789
|
return ret;
|
|
782
790
|
},
|
|
783
|
-
|
|
791
|
+
__wbg_instanceof_DomException_2bdcf7791a2d7d09: function(arg0) {
|
|
784
792
|
let result;
|
|
785
793
|
try {
|
|
786
794
|
result = arg0 instanceof DOMException;
|
|
@@ -790,7 +798,7 @@ function __wbg_get_imports() {
|
|
|
790
798
|
const ret = result;
|
|
791
799
|
return ret;
|
|
792
800
|
},
|
|
793
|
-
|
|
801
|
+
__wbg_instanceof_FileSystemDirectoryHandle_2944d0641b4ea10c: function(arg0) {
|
|
794
802
|
let result;
|
|
795
803
|
try {
|
|
796
804
|
result = arg0 instanceof FileSystemDirectoryHandle;
|
|
@@ -800,7 +808,7 @@ function __wbg_get_imports() {
|
|
|
800
808
|
const ret = result;
|
|
801
809
|
return ret;
|
|
802
810
|
},
|
|
803
|
-
|
|
811
|
+
__wbg_instanceof_FileSystemFileHandle_37ac45c6adcff28f: function(arg0) {
|
|
804
812
|
let result;
|
|
805
813
|
try {
|
|
806
814
|
result = arg0 instanceof FileSystemFileHandle;
|
|
@@ -810,7 +818,7 @@ function __wbg_get_imports() {
|
|
|
810
818
|
const ret = result;
|
|
811
819
|
return ret;
|
|
812
820
|
},
|
|
813
|
-
|
|
821
|
+
__wbg_instanceof_IdbCursor_cbe52b3829ab983b: function(arg0) {
|
|
814
822
|
let result;
|
|
815
823
|
try {
|
|
816
824
|
result = arg0 instanceof IDBCursor;
|
|
@@ -820,7 +828,7 @@ function __wbg_get_imports() {
|
|
|
820
828
|
const ret = result;
|
|
821
829
|
return ret;
|
|
822
830
|
},
|
|
823
|
-
|
|
831
|
+
__wbg_instanceof_IdbDatabase_5f436cc89cc07f14: function(arg0) {
|
|
824
832
|
let result;
|
|
825
833
|
try {
|
|
826
834
|
result = arg0 instanceof IDBDatabase;
|
|
@@ -830,7 +838,7 @@ function __wbg_get_imports() {
|
|
|
830
838
|
const ret = result;
|
|
831
839
|
return ret;
|
|
832
840
|
},
|
|
833
|
-
|
|
841
|
+
__wbg_instanceof_IdbOpenDbRequest_10c2576001eb6613: function(arg0) {
|
|
834
842
|
let result;
|
|
835
843
|
try {
|
|
836
844
|
result = arg0 instanceof IDBOpenDBRequest;
|
|
@@ -840,7 +848,7 @@ function __wbg_get_imports() {
|
|
|
840
848
|
const ret = result;
|
|
841
849
|
return ret;
|
|
842
850
|
},
|
|
843
|
-
|
|
851
|
+
__wbg_instanceof_IdbRequest_6a0e24572d4f1d46: function(arg0) {
|
|
844
852
|
let result;
|
|
845
853
|
try {
|
|
846
854
|
result = arg0 instanceof IDBRequest;
|
|
@@ -850,7 +858,7 @@ function __wbg_get_imports() {
|
|
|
850
858
|
const ret = result;
|
|
851
859
|
return ret;
|
|
852
860
|
},
|
|
853
|
-
|
|
861
|
+
__wbg_instanceof_Map_f194b366846aca0c: function(arg0) {
|
|
854
862
|
let result;
|
|
855
863
|
try {
|
|
856
864
|
result = arg0 instanceof Map;
|
|
@@ -860,7 +868,7 @@ function __wbg_get_imports() {
|
|
|
860
868
|
const ret = result;
|
|
861
869
|
return ret;
|
|
862
870
|
},
|
|
863
|
-
|
|
871
|
+
__wbg_instanceof_Object_be1962063fcc0c9f: function(arg0) {
|
|
864
872
|
let result;
|
|
865
873
|
try {
|
|
866
874
|
result = arg0 instanceof Object;
|
|
@@ -870,7 +878,7 @@ function __wbg_get_imports() {
|
|
|
870
878
|
const ret = result;
|
|
871
879
|
return ret;
|
|
872
880
|
},
|
|
873
|
-
|
|
881
|
+
__wbg_instanceof_Promise_7c3bdd7805c2c6e6: function(arg0) {
|
|
874
882
|
let result;
|
|
875
883
|
try {
|
|
876
884
|
result = arg0 instanceof Promise;
|
|
@@ -880,7 +888,7 @@ function __wbg_get_imports() {
|
|
|
880
888
|
const ret = result;
|
|
881
889
|
return ret;
|
|
882
890
|
},
|
|
883
|
-
|
|
891
|
+
__wbg_instanceof_TypeError_1929c7eddbdc32ef: function(arg0) {
|
|
884
892
|
let result;
|
|
885
893
|
try {
|
|
886
894
|
result = arg0 instanceof TypeError;
|
|
@@ -890,7 +898,7 @@ function __wbg_get_imports() {
|
|
|
890
898
|
const ret = result;
|
|
891
899
|
return ret;
|
|
892
900
|
},
|
|
893
|
-
|
|
901
|
+
__wbg_instanceof_Uint8Array_740438561a5b956d: function(arg0) {
|
|
894
902
|
let result;
|
|
895
903
|
try {
|
|
896
904
|
result = arg0 instanceof Uint8Array;
|
|
@@ -900,7 +908,7 @@ function __wbg_get_imports() {
|
|
|
900
908
|
const ret = result;
|
|
901
909
|
return ret;
|
|
902
910
|
},
|
|
903
|
-
|
|
911
|
+
__wbg_instanceof_Window_23e677d2c6843922: function(arg0) {
|
|
904
912
|
let result;
|
|
905
913
|
try {
|
|
906
914
|
result = arg0 instanceof Window;
|
|
@@ -910,7 +918,7 @@ function __wbg_get_imports() {
|
|
|
910
918
|
const ret = result;
|
|
911
919
|
return ret;
|
|
912
920
|
},
|
|
913
|
-
|
|
921
|
+
__wbg_instanceof_WorkerGlobalScope_de6976d00cb213c6: function(arg0) {
|
|
914
922
|
let result;
|
|
915
923
|
try {
|
|
916
924
|
result = arg0 instanceof WorkerGlobalScope;
|
|
@@ -920,72 +928,84 @@ function __wbg_get_imports() {
|
|
|
920
928
|
const ret = result;
|
|
921
929
|
return ret;
|
|
922
930
|
},
|
|
923
|
-
|
|
931
|
+
__wbg_isArray_33b91feb269ff46e: function(arg0) {
|
|
924
932
|
const ret = Array.isArray(arg0);
|
|
925
933
|
return ret;
|
|
926
934
|
},
|
|
927
|
-
|
|
935
|
+
__wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
|
|
928
936
|
const ret = Number.isSafeInteger(arg0);
|
|
929
937
|
return ret;
|
|
930
938
|
},
|
|
931
|
-
|
|
939
|
+
__wbg_iterator_d8f549ec8fb061b1: function() {
|
|
932
940
|
const ret = Symbol.iterator;
|
|
933
941
|
return ret;
|
|
934
942
|
},
|
|
935
|
-
|
|
943
|
+
__wbg_key_581f2698de7f8240: function() { return handleError(function (arg0) {
|
|
936
944
|
const ret = arg0.key;
|
|
937
945
|
return ret;
|
|
938
946
|
}, arguments); },
|
|
939
|
-
|
|
947
|
+
__wbg_length_02c4f6002306a824: function(arg0) {
|
|
940
948
|
const ret = arg0.length;
|
|
941
949
|
return ret;
|
|
942
950
|
},
|
|
943
|
-
|
|
951
|
+
__wbg_length_b3416cf66a5452c8: function(arg0) {
|
|
944
952
|
const ret = arg0.length;
|
|
945
953
|
return ret;
|
|
946
954
|
},
|
|
947
|
-
|
|
955
|
+
__wbg_length_ea16607d7b61445b: function(arg0) {
|
|
948
956
|
const ret = arg0.length;
|
|
949
957
|
return ret;
|
|
950
958
|
},
|
|
951
|
-
|
|
959
|
+
__wbg_log_70972330cfc941dd: function(arg0, arg1, arg2, arg3) {
|
|
952
960
|
console.log(arg0, arg1, arg2, arg3);
|
|
953
961
|
},
|
|
954
|
-
|
|
962
|
+
__wbg_name_7a3bbd030d0afa16: function(arg0, arg1) {
|
|
955
963
|
const ret = arg1.name;
|
|
956
964
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
957
965
|
const len1 = WASM_VECTOR_LEN;
|
|
958
966
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
959
967
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
960
968
|
},
|
|
961
|
-
|
|
969
|
+
__wbg_new_0_1dcafdf5e786e876: function() {
|
|
962
970
|
const ret = new Date();
|
|
963
971
|
return ret;
|
|
964
972
|
},
|
|
965
|
-
|
|
966
|
-
const ret = new
|
|
973
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
974
|
+
const ret = new Error();
|
|
967
975
|
return ret;
|
|
968
976
|
},
|
|
969
|
-
|
|
970
|
-
const ret = new
|
|
977
|
+
__wbg_new_49d5571bd3f0c4d4: function() {
|
|
978
|
+
const ret = new Map();
|
|
971
979
|
return ret;
|
|
972
980
|
},
|
|
973
|
-
|
|
981
|
+
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
982
|
+
const ret = new Uint8Array(arg0);
|
|
983
|
+
return ret;
|
|
984
|
+
},
|
|
985
|
+
__wbg_new_a70fbab9066b301f: function() {
|
|
974
986
|
const ret = new Array();
|
|
975
987
|
return ret;
|
|
976
988
|
},
|
|
977
|
-
|
|
978
|
-
const ret = new
|
|
989
|
+
__wbg_new_ab79df5bd7c26067: function() {
|
|
990
|
+
const ret = new Object();
|
|
979
991
|
return ret;
|
|
980
992
|
},
|
|
981
|
-
|
|
993
|
+
__wbg_new_fd94ca5c9639abd2: function(arg0) {
|
|
994
|
+
const ret = new Date(arg0);
|
|
995
|
+
return ret;
|
|
996
|
+
},
|
|
997
|
+
__wbg_new_from_slice_22da9388ac046e50: function(arg0, arg1) {
|
|
998
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
999
|
+
return ret;
|
|
1000
|
+
},
|
|
1001
|
+
__wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
|
|
982
1002
|
try {
|
|
983
1003
|
var state0 = {a: arg0, b: arg1};
|
|
984
1004
|
var cb0 = (arg0, arg1) => {
|
|
985
1005
|
const a = state0.a;
|
|
986
1006
|
state0.a = 0;
|
|
987
1007
|
try {
|
|
988
|
-
return
|
|
1008
|
+
return wasm_bindgen__convert__closures_____invoke__h8f90f75f1e0b9206(a, state0.b, arg0, arg1);
|
|
989
1009
|
} finally {
|
|
990
1010
|
state0.a = a;
|
|
991
1011
|
}
|
|
@@ -996,63 +1016,47 @@ function __wbg_get_imports() {
|
|
|
996
1016
|
state0.a = state0.b = 0;
|
|
997
1017
|
}
|
|
998
1018
|
},
|
|
999
|
-
|
|
1000
|
-
const ret = new Map();
|
|
1001
|
-
return ret;
|
|
1002
|
-
},
|
|
1003
|
-
__wbg_new_dd2b680c8bf6ae29: function(arg0) {
|
|
1004
|
-
const ret = new Uint8Array(arg0);
|
|
1005
|
-
return ret;
|
|
1006
|
-
},
|
|
1007
|
-
__wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
|
|
1008
|
-
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1009
|
-
return ret;
|
|
1010
|
-
},
|
|
1011
|
-
__wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
|
|
1012
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1013
|
-
return ret;
|
|
1014
|
-
},
|
|
1015
|
-
__wbg_new_with_length_1763c527b2923202: function(arg0) {
|
|
1019
|
+
__wbg_new_with_length_3259a525196bd8cc: function(arg0) {
|
|
1016
1020
|
const ret = new Array(arg0 >>> 0);
|
|
1017
1021
|
return ret;
|
|
1018
1022
|
},
|
|
1019
|
-
|
|
1023
|
+
__wbg_new_with_length_825018a1616e9e55: function(arg0) {
|
|
1020
1024
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1021
1025
|
return ret;
|
|
1022
1026
|
},
|
|
1023
|
-
|
|
1027
|
+
__wbg_new_with_u8_array_sequence_b89011c986be89f7: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1024
1028
|
const ret = new File(arg0, getStringFromWasm0(arg1, arg2));
|
|
1025
1029
|
return ret;
|
|
1026
1030
|
}, arguments); },
|
|
1027
|
-
|
|
1031
|
+
__wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
|
|
1028
1032
|
const ret = arg0.next();
|
|
1029
1033
|
return ret;
|
|
1030
1034
|
}, arguments); },
|
|
1031
|
-
|
|
1035
|
+
__wbg_next_9c645ba5e1273237: function() { return handleError(function (arg0) {
|
|
1032
1036
|
const ret = arg0.next();
|
|
1033
1037
|
return ret;
|
|
1034
1038
|
}, arguments); },
|
|
1035
|
-
|
|
1039
|
+
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
1036
1040
|
const ret = arg0.next;
|
|
1037
1041
|
return ret;
|
|
1038
1042
|
},
|
|
1039
|
-
|
|
1043
|
+
__wbg_objectStoreNames_564985d2e9ae7523: function(arg0) {
|
|
1040
1044
|
const ret = arg0.objectStoreNames;
|
|
1041
1045
|
return ret;
|
|
1042
1046
|
},
|
|
1043
|
-
|
|
1047
|
+
__wbg_objectStore_f314ab152a5c7bd0: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1044
1048
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
1045
1049
|
return ret;
|
|
1046
1050
|
}, arguments); },
|
|
1047
|
-
|
|
1051
|
+
__wbg_openCursor_600cc3399e227945: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1048
1052
|
const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
|
|
1049
1053
|
return ret;
|
|
1050
1054
|
}, arguments); },
|
|
1051
|
-
|
|
1055
|
+
__wbg_openCursor_92dbb828857828a4: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1052
1056
|
const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
|
|
1053
1057
|
return ret;
|
|
1054
1058
|
}, arguments); },
|
|
1055
|
-
|
|
1059
|
+
__wbg_open_e7a9d3d6344572f6: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1056
1060
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
1057
1061
|
return ret;
|
|
1058
1062
|
}, arguments); },
|
|
@@ -1060,176 +1064,181 @@ function __wbg_get_imports() {
|
|
|
1060
1064
|
const ret = OpfsFileSystem.__wrap(arg0);
|
|
1061
1065
|
return ret;
|
|
1062
1066
|
},
|
|
1063
|
-
|
|
1067
|
+
__wbg_parse_e9eddd2a82c706eb: function() { return handleError(function (arg0, arg1) {
|
|
1064
1068
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
1065
1069
|
return ret;
|
|
1066
1070
|
}, arguments); },
|
|
1067
|
-
|
|
1071
|
+
__wbg_preventDefault_25a229bfe5c510f8: function(arg0) {
|
|
1068
1072
|
arg0.preventDefault();
|
|
1069
1073
|
},
|
|
1070
|
-
|
|
1074
|
+
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
1071
1075
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1072
1076
|
},
|
|
1073
|
-
|
|
1077
|
+
__wbg_push_e87b0e732085a946: function(arg0, arg1) {
|
|
1074
1078
|
const ret = arg0.push(arg1);
|
|
1075
1079
|
return ret;
|
|
1076
1080
|
},
|
|
1077
|
-
|
|
1081
|
+
__wbg_put_f1673d719f93ce22: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1078
1082
|
const ret = arg0.put(arg1, arg2);
|
|
1079
1083
|
return ret;
|
|
1080
1084
|
}, arguments); },
|
|
1081
|
-
|
|
1085
|
+
__wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
|
|
1082
1086
|
const ret = arg0.queueMicrotask;
|
|
1083
1087
|
return ret;
|
|
1084
1088
|
},
|
|
1085
|
-
|
|
1089
|
+
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
1086
1090
|
queueMicrotask(arg0);
|
|
1087
1091
|
},
|
|
1088
|
-
|
|
1092
|
+
__wbg_removeEntry_b2a4d6d0ee2040c5: function(arg0, arg1, arg2) {
|
|
1089
1093
|
const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
|
|
1090
1094
|
return ret;
|
|
1091
1095
|
},
|
|
1092
|
-
|
|
1096
|
+
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
1093
1097
|
const ret = Promise.resolve(arg0);
|
|
1094
1098
|
return ret;
|
|
1095
1099
|
},
|
|
1096
|
-
|
|
1100
|
+
__wbg_result_c5baa2d3d690a01a: function() { return handleError(function (arg0) {
|
|
1097
1101
|
const ret = arg0.result;
|
|
1098
1102
|
return ret;
|
|
1099
1103
|
}, arguments); },
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
return ret;
|
|
1104
|
+
__wbg_set_282384002438957f: function(arg0, arg1, arg2) {
|
|
1105
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1103
1106
|
},
|
|
1104
|
-
|
|
1107
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1105
1108
|
arg0[arg1] = arg2;
|
|
1106
1109
|
},
|
|
1107
|
-
|
|
1110
|
+
__wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
|
|
1108
1111
|
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1109
1112
|
},
|
|
1110
|
-
|
|
1111
|
-
|
|
1113
|
+
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
1114
|
+
const ret = arg0.set(arg1, arg2);
|
|
1115
|
+
return ret;
|
|
1112
1116
|
},
|
|
1113
|
-
|
|
1117
|
+
__wbg_set_create_1bebf2add702f8d5: function(arg0, arg1) {
|
|
1114
1118
|
arg0.create = arg1 !== 0;
|
|
1115
1119
|
},
|
|
1116
|
-
|
|
1117
|
-
arg0
|
|
1120
|
+
__wbg_set_create_ef897736206a6f05: function(arg0, arg1) {
|
|
1121
|
+
arg0.create = arg1 !== 0;
|
|
1118
1122
|
},
|
|
1119
|
-
|
|
1123
|
+
__wbg_set_keep_existing_data_43eb0c750464e3a0: function(arg0, arg1) {
|
|
1120
1124
|
arg0.keepExistingData = arg1 !== 0;
|
|
1121
1125
|
},
|
|
1122
|
-
|
|
1126
|
+
__wbg_set_onerror_8a268cb237177bba: function(arg0, arg1) {
|
|
1123
1127
|
arg0.onerror = arg1;
|
|
1124
1128
|
},
|
|
1125
|
-
|
|
1129
|
+
__wbg_set_onsuccess_fca94ded107b64af: function(arg0, arg1) {
|
|
1126
1130
|
arg0.onsuccess = arg1;
|
|
1127
1131
|
},
|
|
1128
|
-
|
|
1132
|
+
__wbg_set_onupgradeneeded_860ce42184f987e7: function(arg0, arg1) {
|
|
1129
1133
|
arg0.onupgradeneeded = arg1;
|
|
1130
1134
|
},
|
|
1131
|
-
|
|
1135
|
+
__wbg_size_819df95195daae81: function(arg0) {
|
|
1132
1136
|
const ret = arg0.size;
|
|
1133
1137
|
return ret;
|
|
1134
1138
|
},
|
|
1135
|
-
|
|
1139
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
1136
1140
|
const ret = arg1.stack;
|
|
1137
1141
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1138
1142
|
const len1 = WASM_VECTOR_LEN;
|
|
1139
1143
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1140
1144
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1141
1145
|
},
|
|
1142
|
-
|
|
1146
|
+
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
1143
1147
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1144
1148
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1145
1149
|
},
|
|
1146
|
-
|
|
1150
|
+
__wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
|
|
1147
1151
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1148
1152
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1149
1153
|
},
|
|
1150
|
-
|
|
1154
|
+
__wbg_static_accessor_SELF_f207c857566db248: function() {
|
|
1151
1155
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1152
1156
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1153
1157
|
},
|
|
1154
|
-
|
|
1158
|
+
__wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
|
|
1155
1159
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1156
1160
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1157
1161
|
},
|
|
1158
|
-
|
|
1162
|
+
__wbg_stringify_5ae93966a84901ac: function() { return handleError(function (arg0) {
|
|
1159
1163
|
const ret = JSON.stringify(arg0);
|
|
1160
1164
|
return ret;
|
|
1161
1165
|
}, arguments); },
|
|
1162
|
-
|
|
1166
|
+
__wbg_target_7bc90f314634b37b: function(arg0) {
|
|
1163
1167
|
const ret = arg0.target;
|
|
1164
1168
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1165
1169
|
},
|
|
1166
|
-
|
|
1167
|
-
const ret = arg0.then(arg1
|
|
1170
|
+
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
1171
|
+
const ret = arg0.then(arg1);
|
|
1168
1172
|
return ret;
|
|
1169
1173
|
},
|
|
1170
|
-
|
|
1171
|
-
const ret = arg0.then(arg1);
|
|
1174
|
+
__wbg_then_9e335f6dd892bc11: function(arg0, arg1, arg2) {
|
|
1175
|
+
const ret = arg0.then(arg1, arg2);
|
|
1172
1176
|
return ret;
|
|
1173
1177
|
},
|
|
1174
|
-
|
|
1178
|
+
__wbg_toString_3272fa0dfd05dd87: function(arg0) {
|
|
1175
1179
|
const ret = arg0.toString();
|
|
1176
1180
|
return ret;
|
|
1177
1181
|
},
|
|
1178
|
-
|
|
1179
|
-
const ret = arg0.transaction;
|
|
1180
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1181
|
-
},
|
|
1182
|
-
__wbg_transaction_c407989db8e62119: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1182
|
+
__wbg_transaction_3223f7c8d0f40129: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1183
1183
|
const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
|
|
1184
1184
|
return ret;
|
|
1185
1185
|
}, arguments); },
|
|
1186
|
-
|
|
1186
|
+
__wbg_transaction_fda57653957fee06: function(arg0) {
|
|
1187
|
+
const ret = arg0.transaction;
|
|
1188
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1189
|
+
},
|
|
1190
|
+
__wbg_value_21fc78aab0322612: function(arg0) {
|
|
1187
1191
|
const ret = arg0.value;
|
|
1188
1192
|
return ret;
|
|
1189
1193
|
},
|
|
1190
|
-
|
|
1194
|
+
__wbg_warn_809cad1bfc2b3a42: function(arg0, arg1, arg2, arg3) {
|
|
1191
1195
|
console.warn(arg0, arg1, arg2, arg3);
|
|
1192
1196
|
},
|
|
1193
|
-
|
|
1197
|
+
__wbg_write_b97b959b677bb9fd: function() { return handleError(function (arg0, arg1) {
|
|
1194
1198
|
const ret = arg0.write(arg1);
|
|
1195
1199
|
return ret;
|
|
1196
1200
|
}, arguments); },
|
|
1197
1201
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1198
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1199
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1202
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [NamedExternref("Event")], shim_idx: 3, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1203
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4106c4d3d254e5cb, wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77);
|
|
1200
1204
|
return ret;
|
|
1201
1205
|
},
|
|
1202
1206
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1203
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1204
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1207
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1208
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4106c4d3d254e5cb, wasm_bindgen__convert__closures_____invoke__h41f06a319828e0a0);
|
|
1205
1209
|
return ret;
|
|
1206
1210
|
},
|
|
1207
1211
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1208
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1209
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1212
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [NamedExternref("IteratorResult<any>")], shim_idx: 3, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1213
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4106c4d3d254e5cb, wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77_2);
|
|
1210
1214
|
return ret;
|
|
1211
1215
|
},
|
|
1212
1216
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1213
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1214
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1217
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 546, function: Function { arguments: [NamedExternref("Event")], shim_idx: 547, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1218
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h383b907cd99501f0, wasm_bindgen__convert__closures_____invoke__h8c538aa099029b45);
|
|
1215
1219
|
return ret;
|
|
1216
1220
|
},
|
|
1217
|
-
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
1221
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1222
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 563, function: Function { arguments: [Externref], shim_idx: 564, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1223
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha8e48983308a695a, wasm_bindgen__convert__closures_____invoke__h8d091265fab4d12f);
|
|
1224
|
+
return ret;
|
|
1225
|
+
},
|
|
1226
|
+
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
1218
1227
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1219
1228
|
const ret = arg0;
|
|
1220
1229
|
return ret;
|
|
1221
1230
|
},
|
|
1222
|
-
|
|
1231
|
+
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
1223
1232
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1224
1233
|
const ret = arg0;
|
|
1225
1234
|
return ret;
|
|
1226
1235
|
},
|
|
1227
|
-
|
|
1236
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1228
1237
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1229
1238
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1230
1239
|
return ret;
|
|
1231
1240
|
},
|
|
1232
|
-
|
|
1241
|
+
__wbindgen_cast_0000000000000009: function(arg0) {
|
|
1233
1242
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1234
1243
|
const ret = BigInt.asUintN(64, arg0);
|
|
1235
1244
|
return ret;
|
|
@@ -1250,27 +1259,37 @@ function __wbg_get_imports() {
|
|
|
1250
1259
|
};
|
|
1251
1260
|
}
|
|
1252
1261
|
|
|
1253
|
-
function
|
|
1254
|
-
wasm.
|
|
1262
|
+
function wasm_bindgen__convert__closures_____invoke__h41f06a319828e0a0(arg0, arg1, arg2) {
|
|
1263
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h41f06a319828e0a0(arg0, arg1, arg2);
|
|
1255
1264
|
}
|
|
1256
1265
|
|
|
1257
|
-
function
|
|
1258
|
-
wasm.
|
|
1266
|
+
function wasm_bindgen__convert__closures_____invoke__h8c538aa099029b45(arg0, arg1, arg2) {
|
|
1267
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h8c538aa099029b45(arg0, arg1, arg2);
|
|
1259
1268
|
}
|
|
1260
1269
|
|
|
1261
|
-
function
|
|
1262
|
-
wasm.
|
|
1270
|
+
function wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77(arg0, arg1, arg2) {
|
|
1271
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77(arg0, arg1, arg2);
|
|
1272
|
+
if (ret[1]) {
|
|
1273
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
function wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77_2(arg0, arg1, arg2) {
|
|
1278
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77_2(arg0, arg1, arg2);
|
|
1279
|
+
if (ret[1]) {
|
|
1280
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1281
|
+
}
|
|
1263
1282
|
}
|
|
1264
1283
|
|
|
1265
|
-
function
|
|
1266
|
-
const ret = wasm.
|
|
1284
|
+
function wasm_bindgen__convert__closures_____invoke__h8d091265fab4d12f(arg0, arg1, arg2) {
|
|
1285
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h8d091265fab4d12f(arg0, arg1, arg2);
|
|
1267
1286
|
if (ret[1]) {
|
|
1268
1287
|
throw takeFromExternrefTable0(ret[0]);
|
|
1269
1288
|
}
|
|
1270
1289
|
}
|
|
1271
1290
|
|
|
1272
|
-
function
|
|
1273
|
-
wasm.
|
|
1291
|
+
function wasm_bindgen__convert__closures_____invoke__h8f90f75f1e0b9206(arg0, arg1, arg2, arg3) {
|
|
1292
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h8f90f75f1e0b9206(arg0, arg1, arg2, arg3);
|
|
1274
1293
|
}
|
|
1275
1294
|
|
|
1276
1295
|
|
package/diaryx_wasm_bg.wasm.d.ts
CHANGED
|
@@ -35,14 +35,15 @@ export const diaryxbackend_isCrdtEnabled: (a: number) => number;
|
|
|
35
35
|
export const init: () => void;
|
|
36
36
|
export const jsasyncfilesystem_new: (a: any) => number;
|
|
37
37
|
export const __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
38
|
+
export const wasm_bindgen__closure__destroy__h4106c4d3d254e5cb: (a: number, b: number) => void;
|
|
39
|
+
export const wasm_bindgen__closure__destroy__h383b907cd99501f0: (a: number, b: number) => void;
|
|
40
|
+
export const wasm_bindgen__closure__destroy__ha8e48983308a695a: (a: number, b: number) => void;
|
|
41
|
+
export const wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77: (a: number, b: number, c: any) => [number, number];
|
|
42
|
+
export const wasm_bindgen__convert__closures_____invoke__h74cbf1d8d9cd6e77_2: (a: number, b: number, c: any) => [number, number];
|
|
43
|
+
export const wasm_bindgen__convert__closures_____invoke__h8d091265fab4d12f: (a: number, b: number, c: any) => [number, number];
|
|
44
|
+
export const wasm_bindgen__convert__closures_____invoke__h8f90f75f1e0b9206: (a: number, b: number, c: any, d: any) => void;
|
|
45
|
+
export const wasm_bindgen__convert__closures_____invoke__h41f06a319828e0a0: (a: number, b: number, c: any) => void;
|
|
46
|
+
export const wasm_bindgen__convert__closures_____invoke__h8c538aa099029b45: (a: number, b: number, c: any) => void;
|
|
46
47
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
47
48
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
48
49
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/package.json
CHANGED