@diaryx/wasm-node 1.4.3-dev.fb432dd → 1.4.4

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 CHANGED
@@ -362,8 +362,8 @@ export interface InitOutput {
362
362
  readonly today_formatted: (a: number, b: number) => [number, number];
363
363
  readonly init: () => void;
364
364
  readonly diaryxbackend_isCrdtEnabled: (a: number) => number;
365
- readonly wasm_bindgen__convert__closures_____invoke__h31e41fe17a163321: (a: number, b: number, c: any) => [number, number];
366
- readonly wasm_bindgen__convert__closures_____invoke__h186c6127932ad571: (a: number, b: number, c: any, d: any) => void;
365
+ readonly wasm_bindgen__convert__closures_____invoke__h3f4718a94aec51d3: (a: number, b: number, c: any) => [number, number];
366
+ readonly wasm_bindgen__convert__closures_____invoke__h33e54e31fc8397d0: (a: number, b: number, c: any, d: any) => void;
367
367
  readonly __wbindgen_malloc: (a: number, b: number) => number;
368
368
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
369
369
  readonly __wbindgen_exn_store: (a: number) => void;
package/diaryx_wasm.js CHANGED
@@ -530,34 +530,33 @@ export function today_formatted(format) {
530
530
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
531
531
  }
532
532
  }
533
-
534
533
  function __wbg_get_imports() {
535
534
  const import0 = {
536
535
  __proto__: null,
537
- __wbg___wbindgen_boolean_get_a86c216575a75c30: function(arg0) {
536
+ __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
538
537
  const v = arg0;
539
538
  const ret = typeof(v) === 'boolean' ? v : undefined;
540
539
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
541
540
  },
542
- __wbg___wbindgen_is_function_49868bde5eb1e745: function(arg0) {
541
+ __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
543
542
  const ret = typeof(arg0) === 'function';
544
543
  return ret;
545
544
  },
546
- __wbg___wbindgen_is_null_344c8750a8525473: function(arg0) {
545
+ __wbg___wbindgen_is_null_52ff4ec04186736f: function(arg0) {
547
546
  const ret = arg0 === null;
548
547
  return ret;
549
548
  },
550
- __wbg___wbindgen_is_undefined_c0cca72b82b86f4d: function(arg0) {
549
+ __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
551
550
  const ret = arg0 === undefined;
552
551
  return ret;
553
552
  },
554
- __wbg___wbindgen_number_get_7579aab02a8a620c: function(arg0, arg1) {
553
+ __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
555
554
  const obj = arg1;
556
555
  const ret = typeof(obj) === 'number' ? obj : undefined;
557
556
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
558
557
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
559
558
  },
560
- __wbg___wbindgen_string_get_914df97fcfa788f2: function(arg0, arg1) {
559
+ __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
561
560
  const obj = arg1;
562
561
  const ret = typeof(obj) === 'string' ? obj : undefined;
563
562
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -565,62 +564,62 @@ function __wbg_get_imports() {
565
564
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
566
565
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
567
566
  },
568
- __wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
567
+ __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
569
568
  throw new Error(getStringFromWasm0(arg0, arg1));
570
569
  },
571
- __wbg__wbg_cb_unref_3c3b4f651835fbcb: function(arg0) {
570
+ __wbg__wbg_cb_unref_b46c9b5a9f08ec37: function(arg0) {
572
571
  arg0._wbg_cb_unref();
573
572
  },
574
- __wbg_apply_fa9bf5e5ce151732: function() { return handleError(function (arg0, arg1, arg2) {
573
+ __wbg_apply_4c35bd236dda9c14: function() { return handleError(function (arg0, arg1, arg2) {
575
574
  const ret = arg0.apply(arg1, arg2);
576
575
  return ret;
577
576
  }, arguments); },
578
- __wbg_call_368fa9c372d473ba: function() { return handleError(function (arg0, arg1, arg2, arg3) {
579
- const ret = arg0.call(arg1, arg2, arg3);
577
+ __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
578
+ const ret = arg0.call(arg1);
580
579
  return ret;
581
580
  }, arguments); },
582
- __wbg_call_7f2987183bb62793: function() { return handleError(function (arg0, arg1) {
583
- const ret = arg0.call(arg1);
581
+ __wbg_call_86e39d65afc3d9db: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
582
+ const ret = arg0.call(arg1, arg2, arg3, arg4);
584
583
  return ret;
585
584
  }, arguments); },
586
- __wbg_call_d578befcc3145dee: function() { return handleError(function (arg0, arg1, arg2) {
585
+ __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
587
586
  const ret = arg0.call(arg1, arg2);
588
587
  return ret;
589
588
  }, arguments); },
590
- __wbg_call_f2ac1622600b957f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
591
- const ret = arg0.call(arg1, arg2, arg3, arg4);
589
+ __wbg_call_bb28efe6b2f55b86: function() { return handleError(function (arg0, arg1, arg2, arg3) {
590
+ const ret = arg0.call(arg1, arg2, arg3);
592
591
  return ret;
593
592
  }, arguments); },
594
- __wbg_debug_58754cc8dbfec7ec: function(arg0, arg1, arg2, arg3) {
593
+ __wbg_debug_4e190d233ee2e0d8: function(arg0, arg1, arg2, arg3) {
595
594
  console.debug(arg0, arg1, arg2, arg3);
596
595
  },
597
596
  __wbg_diaryxbackend_new: function(arg0) {
598
597
  const ret = DiaryxBackend.__wrap(arg0);
599
598
  return ret;
600
599
  },
601
- __wbg_error_f8d1622cb1d8c53c: function(arg0, arg1, arg2, arg3) {
600
+ __wbg_error_a6a4bb2525a88971: function(arg0, arg1, arg2, arg3) {
602
601
  console.error(arg0, arg1, arg2, arg3);
603
602
  },
604
- __wbg_getTime_f6ac312467f7cf09: function(arg0) {
603
+ __wbg_getTime_da7c55f52b71e8c6: function(arg0) {
605
604
  const ret = arg0.getTime();
606
605
  return ret;
607
606
  },
608
- __wbg_getTimezoneOffset_ac5be603b21a5797: function(arg0) {
607
+ __wbg_getTimezoneOffset_31f57a5389d0d57c: function(arg0) {
609
608
  const ret = arg0.getTimezoneOffset();
610
609
  return ret;
611
610
  },
612
- __wbg_get_4848e350b40afc16: function(arg0, arg1) {
613
- const ret = arg0[arg1 >>> 0];
614
- return ret;
615
- },
616
- __wbg_get_f96702c6245e4ef9: function() { return handleError(function (arg0, arg1) {
611
+ __wbg_get_6011fa3a58f61074: function() { return handleError(function (arg0, arg1) {
617
612
  const ret = Reflect.get(arg0, arg1);
618
613
  return ret;
619
614
  }, arguments); },
620
- __wbg_info_8e80eb6c0f1d9449: function(arg0, arg1, arg2, arg3) {
615
+ __wbg_get_8360291721e2339f: function(arg0, arg1) {
616
+ const ret = arg0[arg1 >>> 0];
617
+ return ret;
618
+ },
619
+ __wbg_info_e1c3400f7bf783dc: function(arg0, arg1, arg2, arg3) {
621
620
  console.info(arg0, arg1, arg2, arg3);
622
621
  },
623
- __wbg_instanceof_Object_72ee0c53dd8f0726: function(arg0) {
622
+ __wbg_instanceof_Object_7c99480a1cdfb911: function(arg0) {
624
623
  let result;
625
624
  try {
626
625
  result = arg0 instanceof Object;
@@ -630,7 +629,7 @@ function __wbg_get_imports() {
630
629
  const ret = result;
631
630
  return ret;
632
631
  },
633
- __wbg_instanceof_Promise_95d523058012a13d: function(arg0) {
632
+ __wbg_instanceof_Promise_78658358a9b27cd4: function(arg0) {
634
633
  let result;
635
634
  try {
636
635
  result = arg0 instanceof Promise;
@@ -640,7 +639,7 @@ function __wbg_get_imports() {
640
639
  const ret = result;
641
640
  return ret;
642
641
  },
643
- __wbg_instanceof_Uint8Array_4b8da683deb25d72: function(arg0) {
642
+ __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
644
643
  let result;
645
644
  try {
646
645
  result = arg0 instanceof Uint8Array;
@@ -650,53 +649,53 @@ function __wbg_get_imports() {
650
649
  const ret = result;
651
650
  return ret;
652
651
  },
653
- __wbg_isArray_db61795ad004c139: function(arg0) {
652
+ __wbg_isArray_c3109d14ffc06469: function(arg0) {
654
653
  const ret = Array.isArray(arg0);
655
654
  return ret;
656
655
  },
657
- __wbg_length_0c32cb8543c8e4c8: function(arg0) {
656
+ __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
658
657
  const ret = arg0.length;
659
658
  return ret;
660
659
  },
661
- __wbg_length_6e821edde497a532: function(arg0) {
660
+ __wbg_length_9f1775224cf1d815: function(arg0) {
662
661
  const ret = arg0.length;
663
662
  return ret;
664
663
  },
665
- __wbg_log_dafe9ed5100e3a8c: function(arg0, arg1, arg2, arg3) {
664
+ __wbg_log_465fe3993e4051bf: function(arg0, arg1, arg2, arg3) {
666
665
  console.log(arg0, arg1, arg2, arg3);
667
666
  },
668
- __wbg_new_0_bfa2ef4bc447daa2: function() {
667
+ __wbg_new_0_4d657201ced14de3: function() {
669
668
  const ret = new Date();
670
669
  return ret;
671
670
  },
672
- __wbg_new_0f6d2ddfe083319b: function(arg0) {
673
- const ret = new Date(arg0);
671
+ __wbg_new_5e360d2ff7b9e1c3: function(arg0, arg1) {
672
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
674
673
  return ret;
675
674
  },
676
- __wbg_new_4f9fafbb3909af72: function() {
677
- const ret = new Object();
675
+ __wbg_new_682678e2f47e32bc: function() {
676
+ const ret = new Array();
678
677
  return ret;
679
678
  },
680
- __wbg_new_e3b04b4d53d1b593: function(arg0, arg1) {
681
- const ret = new Error(getStringFromWasm0(arg0, arg1));
679
+ __wbg_new_7913666fe5070684: function(arg0) {
680
+ const ret = new Date(arg0);
682
681
  return ret;
683
682
  },
684
- __wbg_new_f3c9df4f38f3f798: function() {
685
- const ret = new Array();
683
+ __wbg_new_aa8d0fa9762c29bd: function() {
684
+ const ret = new Object();
686
685
  return ret;
687
686
  },
688
- __wbg_new_from_slice_2580ff33d0d10520: function(arg0, arg1) {
687
+ __wbg_new_from_slice_b5ea43e23f6008c0: function(arg0, arg1) {
689
688
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
690
689
  return ret;
691
690
  },
692
- __wbg_new_typed_14d7cc391ce53d2c: function(arg0, arg1) {
691
+ __wbg_new_typed_323f37fd55ab048d: function(arg0, arg1) {
693
692
  try {
694
693
  var state0 = {a: arg0, b: arg1};
695
694
  var cb0 = (arg0, arg1) => {
696
695
  const a = state0.a;
697
696
  state0.a = 0;
698
697
  try {
699
- return wasm_bindgen__convert__closures_____invoke__h186c6127932ad571(a, state0.b, arg0, arg1);
698
+ return wasm_bindgen__convert__closures_____invoke__h33e54e31fc8397d0(a, state0.b, arg0, arg1);
700
699
  } finally {
701
700
  state0.a = a;
702
701
  }
@@ -707,73 +706,73 @@ function __wbg_get_imports() {
707
706
  state0.a = 0;
708
707
  }
709
708
  },
710
- __wbg_new_with_length_9cedd08484b73942: function(arg0) {
709
+ __wbg_new_with_length_8c854e41ea4dae9b: function(arg0) {
711
710
  const ret = new Uint8Array(arg0 >>> 0);
712
711
  return ret;
713
712
  },
714
- __wbg_parse_545d11396395fbbd: function() { return handleError(function (arg0, arg1) {
713
+ __wbg_parse_1bbc9c053611d0a7: function() { return handleError(function (arg0, arg1) {
715
714
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
716
715
  return ret;
717
716
  }, arguments); },
718
- __wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
717
+ __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
719
718
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
720
719
  },
721
- __wbg_push_6bdbc990be5ac37b: function(arg0, arg1) {
720
+ __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
722
721
  const ret = arg0.push(arg1);
723
722
  return ret;
724
723
  },
725
- __wbg_queueMicrotask_abaf92f0bd4e80a4: function(arg0) {
724
+ __wbg_queueMicrotask_5d15a957e6aa920e: function(arg0) {
725
+ queueMicrotask(arg0);
726
+ },
727
+ __wbg_queueMicrotask_f8819e5ffc402f36: function(arg0) {
726
728
  const ret = arg0.queueMicrotask;
727
729
  return ret;
728
730
  },
729
- __wbg_queueMicrotask_df5a6dac26d818f3: function(arg0) {
730
- queueMicrotask(arg0);
731
- },
732
- __wbg_resolve_0a79de24e9d2267b: function(arg0) {
731
+ __wbg_resolve_e6c466bc1052f16c: function(arg0) {
733
732
  const ret = Promise.resolve(arg0);
734
733
  return ret;
735
734
  },
736
- __wbg_set_16a9c1a07b3d38ec: function(arg0, arg1, arg2) {
737
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
738
- },
739
- __wbg_set_8ee2d34facb8466e: function() { return handleError(function (arg0, arg1, arg2) {
735
+ __wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
740
736
  const ret = Reflect.set(arg0, arg1, arg2);
741
737
  return ret;
742
738
  }, arguments); },
743
- __wbg_static_accessor_GLOBAL_THIS_a1248013d790bf5f: function() {
744
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
745
- return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
739
+ __wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
740
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
746
741
  },
747
- __wbg_static_accessor_GLOBAL_f2e0f995a21329ff: function() {
742
+ __wbg_static_accessor_GLOBAL_8cfadc87a297ca02: function() {
748
743
  const ret = typeof global === 'undefined' ? null : global;
749
744
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
750
745
  },
751
- __wbg_static_accessor_SELF_24f78b6d23f286ea: function() {
746
+ __wbg_static_accessor_GLOBAL_THIS_602256ae5c8f42cf: function() {
747
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
748
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
749
+ },
750
+ __wbg_static_accessor_SELF_e445c1c7484aecc3: function() {
752
751
  const ret = typeof self === 'undefined' ? null : self;
753
752
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
754
753
  },
755
- __wbg_static_accessor_WINDOW_59fd959c540fe405: function() {
754
+ __wbg_static_accessor_WINDOW_f20e8576ef1e0f17: function() {
756
755
  const ret = typeof window === 'undefined' ? null : window;
757
756
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
758
757
  },
759
- __wbg_then_00eed3ac0b8e82cb: function(arg0, arg1, arg2) {
758
+ __wbg_then_792e0c862b060889: function(arg0, arg1, arg2) {
760
759
  const ret = arg0.then(arg1, arg2);
761
760
  return ret;
762
761
  },
763
- __wbg_then_a0c8db0381c8994c: function(arg0, arg1) {
762
+ __wbg_then_8e16ee11f05e4827: function(arg0, arg1) {
764
763
  const ret = arg0.then(arg1);
765
764
  return ret;
766
765
  },
767
- __wbg_toString_891d991e862e1d44: function(arg0) {
766
+ __wbg_toString_306ed0b9f320c1ca: function(arg0) {
768
767
  const ret = arg0.toString();
769
768
  return ret;
770
769
  },
771
- __wbg_warn_b5013c1036317367: function(arg0, arg1, arg2, arg3) {
770
+ __wbg_warn_ad997e36628bd23a: function(arg0, arg1, arg2, arg3) {
772
771
  console.warn(arg0, arg1, arg2, arg3);
773
772
  },
774
773
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
775
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 597, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
776
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h31e41fe17a163321);
774
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 596, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
775
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3f4718a94aec51d3);
777
776
  return ret;
778
777
  },
779
778
  __wbindgen_cast_0000000000000002: function(arg0) {
@@ -802,15 +801,15 @@ function __wbg_get_imports() {
802
801
  };
803
802
  }
804
803
 
805
- function wasm_bindgen__convert__closures_____invoke__h31e41fe17a163321(arg0, arg1, arg2) {
806
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h31e41fe17a163321(arg0, arg1, arg2);
804
+ function wasm_bindgen__convert__closures_____invoke__h3f4718a94aec51d3(arg0, arg1, arg2) {
805
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h3f4718a94aec51d3(arg0, arg1, arg2);
807
806
  if (ret[1]) {
808
807
  throw takeFromExternrefTable0(ret[0]);
809
808
  }
810
809
  }
811
810
 
812
- function wasm_bindgen__convert__closures_____invoke__h186c6127932ad571(arg0, arg1, arg2, arg3) {
813
- wasm.wasm_bindgen__convert__closures_____invoke__h186c6127932ad571(arg0, arg1, arg2, arg3);
811
+ function wasm_bindgen__convert__closures_____invoke__h33e54e31fc8397d0(arg0, arg1, arg2, arg3) {
812
+ wasm.wasm_bindgen__convert__closures_____invoke__h33e54e31fc8397d0(arg0, arg1, arg2, arg3);
814
813
  }
815
814
 
816
815
  const AuthClientFinalization = (typeof FinalizationRegistry === 'undefined')
Binary file
@@ -39,8 +39,8 @@ export const now_timestamp: () => [number, number];
39
39
  export const today_formatted: (a: number, b: number) => [number, number];
40
40
  export const init: () => void;
41
41
  export const diaryxbackend_isCrdtEnabled: (a: number) => number;
42
- export const wasm_bindgen__convert__closures_____invoke__h31e41fe17a163321: (a: number, b: number, c: any) => [number, number];
43
- export const wasm_bindgen__convert__closures_____invoke__h186c6127932ad571: (a: number, b: number, c: any, d: any) => void;
42
+ export const wasm_bindgen__convert__closures_____invoke__h3f4718a94aec51d3: (a: number, b: number, c: any) => [number, number];
43
+ export const wasm_bindgen__convert__closures_____invoke__h33e54e31fc8397d0: (a: number, b: number, c: any, d: any) => void;
44
44
  export const __wbindgen_malloc: (a: number, b: number) => number;
45
45
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
46
46
  export const __wbindgen_exn_store: (a: number) => void;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@diaryx/wasm-node",
3
3
  "type": "module",
4
4
  "description": "WebAssembly bindings for Diaryx core functionality",
5
- "version": "1.4.3-dev.fb432dd",
5
+ "version": "1.4.4",
6
6
  "license": "SEE LICENSE IN ../../LICENSE.md",
7
7
  "repository": {
8
8
  "type": "git",