@janssenproject/cedarling_wasm 0.0.311 → 0.0.312

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.
@@ -155,13 +155,6 @@ export class Diagnostics {
155
155
  readonly reason: string[];
156
156
  }
157
157
 
158
- export class JsJsonLogic {
159
- free(): void;
160
- [Symbol.dispose](): void;
161
- apply(logic: any, data: any): any;
162
- constructor();
163
- }
164
-
165
158
  /**
166
159
  * A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
167
160
  * Represents the result of a multi-issuer authorization request.
@@ -290,15 +283,11 @@ export interface InitOutput {
290
283
  readonly rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
291
284
  readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
292
285
  readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
293
- readonly __wbg_jsjsonlogic_free: (a: number, b: number) => void;
294
- readonly jsjsonlogic_new: () => number;
295
- readonly jsjsonlogic_apply: (a: number, b: any, c: any) => [number, number, number];
296
- readonly ring_core_0_17_14__bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
297
- readonly wasm_bindgen__closure__destroy__h81df99cf5fb23bb4: (a: number, b: number) => void;
298
- readonly wasm_bindgen__closure__destroy__he589cbad438baf01: (a: number, b: number) => void;
299
- readonly wasm_bindgen__convert__closures_____invoke__h5ea28dde88fe4fc5: (a: number, b: number, c: any, d: any) => void;
300
- readonly wasm_bindgen__convert__closures_____invoke__h30e9622b2b4b0718: (a: number, b: number, c: any) => void;
301
- readonly wasm_bindgen__convert__closures_____invoke__h06cf10571db3fb4b: (a: number, b: number) => void;
286
+ readonly wasm_bindgen__closure__destroy__h6040ec9204f8ec90: (a: number, b: number) => void;
287
+ readonly wasm_bindgen__closure__destroy__h5ca61ceeccdb4050: (a: number, b: number) => void;
288
+ readonly wasm_bindgen__convert__closures_____invoke__h662f8e0721b9d210: (a: number, b: number, c: any) => [number, number];
289
+ readonly wasm_bindgen__convert__closures_____invoke__hd96d811f18675791: (a: number, b: number, c: any, d: any) => void;
290
+ readonly wasm_bindgen__convert__closures_____invoke__h9354621fa201e4f1: (a: number, b: number) => void;
302
291
  readonly __wbindgen_malloc: (a: number, b: number) => number;
303
292
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
304
293
  readonly __wbindgen_exn_store: (a: number) => void;
package/cedarling_wasm.js CHANGED
@@ -404,38 +404,6 @@ export class Diagnostics {
404
404
  }
405
405
  if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
406
406
 
407
- export class JsJsonLogic {
408
- __destroy_into_raw() {
409
- const ptr = this.__wbg_ptr;
410
- this.__wbg_ptr = 0;
411
- JsJsonLogicFinalization.unregister(this);
412
- return ptr;
413
- }
414
- free() {
415
- const ptr = this.__destroy_into_raw();
416
- wasm.__wbg_jsjsonlogic_free(ptr, 0);
417
- }
418
- /**
419
- * @param {any} logic
420
- * @param {any} data
421
- * @returns {any}
422
- */
423
- apply(logic, data) {
424
- const ret = wasm.jsjsonlogic_apply(this.__wbg_ptr, logic, data);
425
- if (ret[2]) {
426
- throw takeFromExternrefTable0(ret[1]);
427
- }
428
- return takeFromExternrefTable0(ret[0]);
429
- }
430
- constructor() {
431
- const ret = wasm.jsjsonlogic_new();
432
- this.__wbg_ptr = ret >>> 0;
433
- JsJsonLogicFinalization.register(this, this.__wbg_ptr, this);
434
- return this;
435
- }
436
- }
437
- if (Symbol.dispose) JsJsonLogic.prototype[Symbol.dispose] = JsJsonLogic.prototype.free;
438
-
439
407
  /**
440
408
  * A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
441
409
  * Represents the result of a multi-issuer authorization request.
@@ -636,79 +604,72 @@ export function init_from_archive_bytes(config, archive_bytes) {
636
604
  function __wbg_get_imports() {
637
605
  const import0 = {
638
606
  __proto__: null,
639
- __wbg_Error_8c4e43fe74559d73: function(arg0, arg1) {
607
+ __wbg_Error_dbcd8782dbb273a2: function(arg0, arg1) {
640
608
  const ret = Error(getStringFromWasm0(arg0, arg1));
641
609
  return ret;
642
610
  },
643
- __wbg_Number_04624de7d0e8332d: function(arg0) {
611
+ __wbg_Number_012552ac4683228d: function(arg0) {
644
612
  const ret = Number(arg0);
645
613
  return ret;
646
614
  },
647
- __wbg_String_8f0eb39a4a4c2f66: function(arg0, arg1) {
648
- const ret = String(arg1);
649
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
650
- const len1 = WASM_VECTOR_LEN;
651
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
652
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
653
- },
654
- __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(arg0, arg1) {
615
+ __wbg___wbindgen_bigint_get_as_i64_25c638f64ce0e2e0: function(arg0, arg1) {
655
616
  const v = arg1;
656
617
  const ret = typeof(v) === 'bigint' ? v : undefined;
657
618
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
658
619
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
659
620
  },
660
- __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(arg0) {
621
+ __wbg___wbindgen_boolean_get_7f1c4dd217655ab6: function(arg0) {
661
622
  const v = arg0;
662
623
  const ret = typeof(v) === 'boolean' ? v : undefined;
663
624
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
664
625
  },
665
- __wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(arg0, arg1) {
626
+ __wbg___wbindgen_debug_string_6cf0badf0b90f6ef: function(arg0, arg1) {
666
627
  const ret = debugString(arg1);
667
628
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
668
629
  const len1 = WASM_VECTOR_LEN;
669
630
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
670
631
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
671
632
  },
672
- __wbg___wbindgen_in_47fa6863be6f2f25: function(arg0, arg1) {
633
+ __wbg___wbindgen_in_e32cbbbf71fdc915: function(arg0, arg1) {
673
634
  const ret = arg0 in arg1;
674
635
  return ret;
675
636
  },
676
- __wbg___wbindgen_is_bigint_31b12575b56f32fc: function(arg0) {
637
+ __wbg___wbindgen_is_bigint_95f22c948ca1bbe1: function(arg0) {
677
638
  const ret = typeof(arg0) === 'bigint';
678
639
  return ret;
679
640
  },
680
- __wbg___wbindgen_is_function_0095a73b8b156f76: function(arg0) {
641
+ __wbg___wbindgen_is_function_4500d4795b15e70b: function(arg0) {
681
642
  const ret = typeof(arg0) === 'function';
682
643
  return ret;
683
644
  },
684
- __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(arg0) {
645
+ __wbg___wbindgen_is_object_f8b6723c60349a13: function(arg0) {
685
646
  const val = arg0;
686
647
  const ret = typeof(val) === 'object' && val !== null;
687
648
  return ret;
688
649
  },
689
- __wbg___wbindgen_is_string_cd444516edc5b180: function(arg0) {
650
+ __wbg___wbindgen_is_string_89134e23eba104e4: function(arg0) {
690
651
  const ret = typeof(arg0) === 'string';
691
652
  return ret;
692
653
  },
693
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: function(arg0) {
654
+ __wbg___wbindgen_is_undefined_1296fcc83c2da07a: function(arg0) {
694
655
  const ret = arg0 === undefined;
695
656
  return ret;
696
657
  },
697
- __wbg___wbindgen_jsval_eq_11888390b0186270: function(arg0, arg1) {
658
+ __wbg___wbindgen_jsval_eq_39cab0b49f8188e9: function(arg0, arg1) {
698
659
  const ret = arg0 === arg1;
699
660
  return ret;
700
661
  },
701
- __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: function(arg0, arg1) {
662
+ __wbg___wbindgen_jsval_loose_eq_3173dea557396a92: function(arg0, arg1) {
702
663
  const ret = arg0 == arg1;
703
664
  return ret;
704
665
  },
705
- __wbg___wbindgen_number_get_8ff4255516ccad3e: function(arg0, arg1) {
666
+ __wbg___wbindgen_number_get_3330675b4e5c3680: function(arg0, arg1) {
706
667
  const obj = arg1;
707
668
  const ret = typeof(obj) === 'number' ? obj : undefined;
708
669
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
709
670
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
710
671
  },
711
- __wbg___wbindgen_string_get_72fb696202c56729: function(arg0, arg1) {
672
+ __wbg___wbindgen_string_get_7b8bc463f6cbeefe: function(arg0, arg1) {
712
673
  const obj = arg1;
713
674
  const ret = typeof(obj) === 'string' ? obj : undefined;
714
675
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -716,22 +677,22 @@ function __wbg_get_imports() {
716
677
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
717
678
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
718
679
  },
719
- __wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
680
+ __wbg___wbindgen_throw_89ca9e2c67795ec1: function(arg0, arg1) {
720
681
  throw new Error(getStringFromWasm0(arg0, arg1));
721
682
  },
722
- __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(arg0) {
683
+ __wbg__wbg_cb_unref_f00ff3c6385bd6fa: function(arg0) {
723
684
  arg0._wbg_cb_unref();
724
685
  },
725
- __wbg_abort_2f0584e03e8e3950: function(arg0) {
726
- arg0.abort();
727
- },
728
- __wbg_abort_d549b92d3c665de1: function(arg0, arg1) {
686
+ __wbg_abort_d5982476775d2739: function(arg0, arg1) {
729
687
  arg0.abort(arg1);
730
688
  },
731
- __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
689
+ __wbg_abort_e6a92d5623297220: function(arg0) {
690
+ arg0.abort();
691
+ },
692
+ __wbg_append_bddb95024c591a53: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
732
693
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
733
694
  }, arguments); },
734
- __wbg_arrayBuffer_bb54076166006c39: function() { return handleError(function (arg0) {
695
+ __wbg_arrayBuffer_c95edc576c2724fe: function() { return handleError(function (arg0) {
735
696
  const ret = arg0.arrayBuffer();
736
697
  return ret;
737
698
  }, arguments); },
@@ -739,94 +700,106 @@ function __wbg_get_imports() {
739
700
  const ret = AuthorizeResult.__wrap(arg0);
740
701
  return ret;
741
702
  },
742
- __wbg_call_389efe28435a9388: function() { return handleError(function (arg0, arg1) {
743
- const ret = arg0.call(arg1);
703
+ __wbg_call_3eadb5cea0462653: function() { return handleError(function (arg0, arg1, arg2) {
704
+ const ret = arg0.call(arg1, arg2);
744
705
  return ret;
745
706
  }, arguments); },
746
- __wbg_call_4708e0c13bdc8e95: function() { return handleError(function (arg0, arg1, arg2) {
747
- const ret = arg0.call(arg1, arg2);
707
+ __wbg_call_eb691bc2f5533064: function() { return handleError(function (arg0, arg1) {
708
+ const ret = arg0.call(arg1);
748
709
  return ret;
749
710
  }, arguments); },
750
711
  __wbg_cedarling_new: function(arg0) {
751
712
  const ret = Cedarling.__wrap(arg0);
752
713
  return ret;
753
714
  },
754
- __wbg_clearTimeout_42d9ccd50822fd3a: function(arg0) {
715
+ __wbg_clearTimeout_2256f1e7b94ef517: function(arg0) {
755
716
  const ret = clearTimeout(arg0);
756
717
  return ret;
757
718
  },
758
- __wbg_crypto_86f2631e91b51511: function(arg0) {
719
+ __wbg_crypto_38df2bab126b63dc: function(arg0) {
759
720
  const ret = arg0.crypto;
760
721
  return ret;
761
722
  },
762
- __wbg_debug_8b4b5465cbd54cd3: function(arg0) {
723
+ __wbg_debug_4aa822a1af5d039c: function(arg0) {
763
724
  console.debug(...arg0);
764
725
  },
765
- __wbg_done_57b39ecd9addfe81: function(arg0) {
726
+ __wbg_done_82b14aeb31e98db6: function(arg0) {
766
727
  const ret = arg0.done;
767
728
  return ret;
768
729
  },
769
- __wbg_entries_200a450561fa274f: function(arg0) {
730
+ __wbg_entries_279f7c28f13d750a: function(arg0) {
770
731
  const ret = arg0.entries();
771
732
  return ret;
772
733
  },
773
- __wbg_entries_58c7934c745daac7: function(arg0) {
734
+ __wbg_entries_46c64fadfaa3b525: function(arg0) {
774
735
  const ret = Object.entries(arg0);
775
736
  return ret;
776
737
  },
777
- __wbg_error_62201eec3c0d66f9: function(arg0) {
738
+ __wbg_entries_70ed5a7af0d07177: function(arg0) {
739
+ const ret = arg0.entries();
740
+ return ret;
741
+ },
742
+ __wbg_error_5fc0bc226aeb2474: function(arg0) {
778
743
  console.error(...arg0);
779
744
  },
780
- __wbg_fetch_6bbc32f991730587: function(arg0) {
745
+ __wbg_fetch_43b2f110608a59ff: function(arg0) {
781
746
  const ret = fetch(arg0);
782
747
  return ret;
783
748
  },
784
- __wbg_fetch_afb6a4b6cacf876d: function(arg0, arg1) {
749
+ __wbg_fetch_c170c157e1a111d4: function(arg0, arg1) {
785
750
  const ret = arg0.fetch(arg1);
786
751
  return ret;
787
752
  },
788
- __wbg_fromEntries_7fb5bc874dbe50d5: function() { return handleError(function (arg0) {
753
+ __wbg_fromEntries_cdb610e02cd25f1c: function() { return handleError(function (arg0) {
789
754
  const ret = Object.fromEntries(arg0);
790
755
  return ret;
791
756
  }, arguments); },
792
- __wbg_getRandomValues_1c61fac11405ffdc: function() { return handleError(function (arg0, arg1) {
757
+ __wbg_getRandomValues_ab1935b403569652: function() { return handleError(function (arg0, arg1) {
793
758
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
794
759
  }, arguments); },
795
- __wbg_getRandomValues_b3f15fcbfabb0f8b: function() { return handleError(function (arg0, arg1) {
760
+ __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
796
761
  arg0.getRandomValues(arg1);
797
762
  }, arguments); },
798
- __wbg_getTime_1e3cd1391c5c3995: function(arg0) {
763
+ __wbg_getTime_4b23931c93d819bb: function(arg0) {
799
764
  const ret = arg0.getTime();
800
765
  return ret;
801
766
  },
802
- __wbg_getTimezoneOffset_81776d10a4ec18a8: function(arg0) {
767
+ __wbg_getTimezoneOffset_4f1ae12e19a7e5cb: function(arg0) {
803
768
  const ret = arg0.getTimezoneOffset();
804
769
  return ret;
805
770
  },
806
- __wbg_get_9b94d73e6221f75c: function(arg0, arg1) {
771
+ __wbg_get_229657ec2da079cd: function(arg0, arg1) {
807
772
  const ret = arg0[arg1 >>> 0];
808
773
  return ret;
809
774
  },
810
- __wbg_get_b3ed3ad4be2bc8ac: function() { return handleError(function (arg0, arg1) {
775
+ __wbg_get_89f3a4c398b4872e: function() { return handleError(function (arg0, arg1) {
776
+ const ret = Reflect.get(arg0, arg1);
777
+ return ret;
778
+ }, arguments); },
779
+ __wbg_get_ed44f5f876f22351: function() { return handleError(function (arg0, arg1) {
811
780
  const ret = Reflect.get(arg0, arg1);
812
781
  return ret;
813
782
  }, arguments); },
814
- __wbg_get_with_ref_key_1dc361bd10053bfe: function(arg0, arg1) {
783
+ __wbg_get_unchecked_ae4d1600970be7c3: function(arg0, arg1) {
784
+ const ret = arg0[arg1 >>> 0];
785
+ return ret;
786
+ },
787
+ __wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
815
788
  const ret = arg0[arg1];
816
789
  return ret;
817
790
  },
818
- __wbg_has_d4e53238966c12b6: function() { return handleError(function (arg0, arg1) {
791
+ __wbg_has_01b31fbd88bb3e8f: function() { return handleError(function (arg0, arg1) {
819
792
  const ret = Reflect.has(arg0, arg1);
820
793
  return ret;
821
794
  }, arguments); },
822
- __wbg_headers_59a2938db9f80985: function(arg0) {
795
+ __wbg_headers_fa752b79db86f8b3: function(arg0) {
823
796
  const ret = arg0.headers;
824
797
  return ret;
825
798
  },
826
- __wbg_info_eb43cb09e10f8150: function(arg0) {
799
+ __wbg_info_93be0cc78448065a: function(arg0) {
827
800
  console.info(...arg0);
828
801
  },
829
- __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: function(arg0) {
802
+ __wbg_instanceof_ArrayBuffer_4f2b9b5ed416155d: function(arg0) {
830
803
  let result;
831
804
  try {
832
805
  result = arg0 instanceof ArrayBuffer;
@@ -836,7 +809,7 @@ function __wbg_get_imports() {
836
809
  const ret = result;
837
810
  return ret;
838
811
  },
839
- __wbg_instanceof_Array_d9eac779cd191cbc: function(arg0) {
812
+ __wbg_instanceof_Array_c6fd13bcae830167: function(arg0) {
840
813
  let result;
841
814
  try {
842
815
  result = arg0 instanceof Array;
@@ -846,7 +819,7 @@ function __wbg_get_imports() {
846
819
  const ret = result;
847
820
  return ret;
848
821
  },
849
- __wbg_instanceof_Map_53af74335dec57f4: function(arg0) {
822
+ __wbg_instanceof_Map_3ad422261e078a42: function(arg0) {
850
823
  let result;
851
824
  try {
852
825
  result = arg0 instanceof Map;
@@ -856,7 +829,7 @@ function __wbg_get_imports() {
856
829
  const ret = result;
857
830
  return ret;
858
831
  },
859
- __wbg_instanceof_Response_ee1d54d79ae41977: function(arg0) {
832
+ __wbg_instanceof_Response_1844be67dbd5e161: function(arg0) {
860
833
  let result;
861
834
  try {
862
835
  result = arg0 instanceof Response;
@@ -866,7 +839,7 @@ function __wbg_get_imports() {
866
839
  const ret = result;
867
840
  return ret;
868
841
  },
869
- __wbg_instanceof_Uint8Array_9b9075935c74707c: function(arg0) {
842
+ __wbg_instanceof_Uint8Array_6482c66fce35827d: function(arg0) {
870
843
  let result;
871
844
  try {
872
845
  result = arg0 instanceof Uint8Array;
@@ -876,34 +849,34 @@ function __wbg_get_imports() {
876
849
  const ret = result;
877
850
  return ret;
878
851
  },
879
- __wbg_isArray_d314bb98fcf08331: function(arg0) {
852
+ __wbg_isArray_fe5201bfdab7e39d: function(arg0) {
880
853
  const ret = Array.isArray(arg0);
881
854
  return ret;
882
855
  },
883
- __wbg_isSafeInteger_bfbc7332a9768d2a: function(arg0) {
856
+ __wbg_isSafeInteger_d6215c7562dbc4db: function(arg0) {
884
857
  const ret = Number.isSafeInteger(arg0);
885
858
  return ret;
886
859
  },
887
- __wbg_iterator_6ff6560ca1568e55: function() {
860
+ __wbg_iterator_63c3a1857203cf2f: function() {
888
861
  const ret = Symbol.iterator;
889
862
  return ret;
890
863
  },
891
- __wbg_keys_b50a709a76add04e: function(arg0) {
864
+ __wbg_keys_31cd32ffa3aa3d32: function(arg0) {
892
865
  const ret = Object.keys(arg0);
893
866
  return ret;
894
867
  },
895
- __wbg_length_32ed9a279acd054c: function(arg0) {
868
+ __wbg_length_f875d3a041bab91a: function(arg0) {
896
869
  const ret = arg0.length;
897
870
  return ret;
898
871
  },
899
- __wbg_length_35a7bace40f36eac: function(arg0) {
872
+ __wbg_length_feaf2a40e5f9755a: function(arg0) {
900
873
  const ret = arg0.length;
901
874
  return ret;
902
875
  },
903
- __wbg_log_aa96eafb763b3303: function(arg0) {
876
+ __wbg_log_c6f597dffc84d4f3: function(arg0) {
904
877
  console.log(...arg0);
905
878
  },
906
- __wbg_msCrypto_d562bbe83e0d4b91: function(arg0) {
879
+ __wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
907
880
  const ret = arg0.msCrypto;
908
881
  return ret;
909
882
  },
@@ -911,34 +884,50 @@ function __wbg_get_imports() {
911
884
  const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
912
885
  return ret;
913
886
  },
914
- __wbg_new_0_73afc35eb544e539: function() {
887
+ __wbg_new_08d33c204155a3e2: function() { return handleError(function () {
888
+ const ret = new AbortController();
889
+ return ret;
890
+ }, arguments); },
891
+ __wbg_new_0_e8782c8df6122565: function() {
915
892
  const ret = new Date();
916
893
  return ret;
917
894
  },
918
- __wbg_new_245cd5c49157e602: function(arg0) {
895
+ __wbg_new_5947ca72f3fee3e6: function() {
896
+ const ret = new Map();
897
+ return ret;
898
+ },
899
+ __wbg_new_61cfa1e9627505e2: function(arg0) {
919
900
  const ret = new Date(arg0);
920
901
  return ret;
921
902
  },
922
- __wbg_new_361308b2356cecd0: function() {
923
- const ret = new Object();
903
+ __wbg_new_6e7681a5f6f98ceb: function(arg0) {
904
+ const ret = new Uint8Array(arg0);
924
905
  return ret;
925
906
  },
926
- __wbg_new_3eb36ae241fe6f44: function() {
927
- const ret = new Array();
907
+ __wbg_new_6feff3e11e4d0799: function() {
908
+ const ret = new Object();
928
909
  return ret;
929
910
  },
930
- __wbg_new_64284bd487f9d239: function() { return handleError(function () {
911
+ __wbg_new_e88efd8ca5aef956: function() { return handleError(function () {
931
912
  const ret = new Headers();
932
913
  return ret;
933
914
  }, arguments); },
934
- __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
915
+ __wbg_new_ff7f9cc4c9a4a0cf: function() {
916
+ const ret = new Array();
917
+ return ret;
918
+ },
919
+ __wbg_new_from_slice_a5be53238f31f9f7: function(arg0, arg1) {
920
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
921
+ return ret;
922
+ },
923
+ __wbg_new_typed_f79896f0ea5f7de8: function(arg0, arg1) {
935
924
  try {
936
925
  var state0 = {a: arg0, b: arg1};
937
926
  var cb0 = (arg0, arg1) => {
938
927
  const a = state0.a;
939
928
  state0.a = 0;
940
929
  try {
941
- return wasm_bindgen__convert__closures_____invoke__h5ea28dde88fe4fc5(a, state0.b, arg0, arg1);
930
+ return wasm_bindgen__convert__closures_____invoke__hd96d811f18675791(a, state0.b, arg0, arg1);
942
931
  } finally {
943
932
  state0.a = a;
944
933
  }
@@ -949,47 +938,23 @@ function __wbg_get_imports() {
949
938
  state0.a = state0.b = 0;
950
939
  }
951
940
  },
952
- __wbg_new_b949e7f56150a5d1: function() { return handleError(function () {
953
- const ret = new AbortController();
954
- return ret;
955
- }, arguments); },
956
- __wbg_new_dca287b076112a51: function() {
957
- const ret = new Map();
958
- return ret;
959
- },
960
- __wbg_new_dd2b680c8bf6ae29: function(arg0) {
961
- const ret = new Uint8Array(arg0);
962
- return ret;
963
- },
964
- __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
965
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
966
- return ret;
967
- },
968
- __wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
969
- const ret = new Function(getStringFromWasm0(arg0, arg1));
970
- return ret;
971
- },
972
- __wbg_new_with_args_7bba34e94b1cfa40: function(arg0, arg1, arg2, arg3) {
973
- const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
974
- return ret;
975
- },
976
- __wbg_new_with_length_a2c39cbe88fd8ff1: function(arg0) {
941
+ __wbg_new_with_length_3217a89bbca17214: function(arg0) {
977
942
  const ret = new Uint8Array(arg0 >>> 0);
978
943
  return ret;
979
944
  },
980
- __wbg_new_with_str_and_init_a61cbc6bdef21614: function() { return handleError(function (arg0, arg1, arg2) {
945
+ __wbg_new_with_str_and_init_66de5344635d3590: function() { return handleError(function (arg0, arg1, arg2) {
981
946
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
982
947
  return ret;
983
948
  }, arguments); },
984
- __wbg_next_3482f54c49e8af19: function() { return handleError(function (arg0) {
949
+ __wbg_next_ae5b710aea83f41e: function() { return handleError(function (arg0) {
985
950
  const ret = arg0.next();
986
951
  return ret;
987
952
  }, arguments); },
988
- __wbg_next_418f80d8f5303233: function(arg0) {
953
+ __wbg_next_f577b3e02c9be709: function(arg0) {
989
954
  const ret = arg0.next;
990
955
  return ret;
991
956
  },
992
- __wbg_node_e1f24f89a7336c2e: function(arg0) {
957
+ __wbg_node_84ea875411254db1: function(arg0) {
993
958
  const ret = arg0.node;
994
959
  return ret;
995
960
  },
@@ -997,147 +962,143 @@ function __wbg_get_imports() {
997
962
  const ret = PolicyEvaluationError.__wrap(arg0);
998
963
  return ret;
999
964
  },
1000
- __wbg_process_3975fd6c72f520aa: function(arg0) {
965
+ __wbg_process_44c7a14e11e9f69e: function(arg0) {
1001
966
  const ret = arg0.process;
1002
967
  return ret;
1003
968
  },
1004
- __wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
969
+ __wbg_prototypesetcall_37f00e1be5c4015a: function(arg0, arg1, arg2) {
1005
970
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1006
971
  },
1007
- __wbg_push_8ffdcb2063340ba5: function(arg0, arg1) {
972
+ __wbg_push_3584053bd77475ee: function(arg0, arg1) {
1008
973
  const ret = arg0.push(arg1);
1009
974
  return ret;
1010
975
  },
1011
- __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
976
+ __wbg_queueMicrotask_5e387cf4d8e3f63e: function(arg0) {
977
+ queueMicrotask(arg0);
978
+ },
979
+ __wbg_queueMicrotask_77bf5a3ad712168b: function(arg0) {
1012
980
  const ret = arg0.queueMicrotask;
1013
981
  return ret;
1014
982
  },
1015
- __wbg_queueMicrotask_5bb536982f78a56f: function(arg0) {
1016
- queueMicrotask(arg0);
1017
- },
1018
- __wbg_randomFillSync_f8c153b79f285817: function() { return handleError(function (arg0, arg1) {
983
+ __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
1019
984
  arg0.randomFillSync(arg1);
1020
985
  }, arguments); },
1021
- __wbg_require_b74f47fc2d022fd6: function() { return handleError(function () {
986
+ __wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
1022
987
  const ret = module.require;
1023
988
  return ret;
1024
989
  }, arguments); },
1025
- __wbg_resolve_002c4b7d9d8f6b64: function(arg0) {
990
+ __wbg_resolve_2e8556632715b12f: function(arg0) {
1026
991
  const ret = Promise.resolve(arg0);
1027
992
  return ret;
1028
993
  },
1029
- __wbg_setTimeout_4ec014681668a581: function(arg0, arg1) {
994
+ __wbg_setTimeout_b188b3bcc8977c7d: function(arg0, arg1) {
1030
995
  const ret = setTimeout(arg0, arg1);
1031
996
  return ret;
1032
997
  },
1033
- __wbg_set_1eb0999cf5d27fc8: function(arg0, arg1, arg2) {
1034
- const ret = arg0.set(arg1, arg2);
998
+ __wbg_set_409333732b484ee7: function() { return handleError(function (arg0, arg1, arg2) {
999
+ const ret = Reflect.set(arg0, arg1, arg2);
1035
1000
  return ret;
1001
+ }, arguments); },
1002
+ __wbg_set_601f3e1d081df3ac: function(arg0, arg1, arg2) {
1003
+ arg0[arg1 >>> 0] = arg2;
1036
1004
  },
1037
- __wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
1005
+ __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
1038
1006
  arg0[arg1] = arg2;
1039
1007
  },
1040
- __wbg_set_6cb8631f80447a67: function() { return handleError(function (arg0, arg1, arg2) {
1041
- const ret = Reflect.set(arg0, arg1, arg2);
1008
+ __wbg_set_b1226382f10be917: function(arg0, arg1, arg2) {
1009
+ const ret = arg0.set(arg1, arg2);
1042
1010
  return ret;
1043
- }, arguments); },
1044
- __wbg_set_body_9a7e00afe3cfe244: function(arg0, arg1) {
1011
+ },
1012
+ __wbg_set_body_42d5ed933a1840a1: function(arg0, arg1) {
1045
1013
  arg0.body = arg1;
1046
1014
  },
1047
- __wbg_set_cache_315a3ed773a41543: function(arg0, arg1) {
1015
+ __wbg_set_cache_546c3dda0e43ae0c: function(arg0, arg1) {
1048
1016
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
1049
1017
  },
1050
- __wbg_set_credentials_c4a58d2e05ef24fb: function(arg0, arg1) {
1018
+ __wbg_set_credentials_328fbf29cfdfa342: function(arg0, arg1) {
1051
1019
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1052
1020
  },
1053
- __wbg_set_f43e577aea94465b: function(arg0, arg1, arg2) {
1054
- arg0[arg1 >>> 0] = arg2;
1055
- },
1056
- __wbg_set_headers_cfc5f4b2c1f20549: function(arg0, arg1) {
1021
+ __wbg_set_headers_1f8bdee11d576059: function(arg0, arg1) {
1057
1022
  arg0.headers = arg1;
1058
1023
  },
1059
- __wbg_set_method_c3e20375f5ae7fac: function(arg0, arg1, arg2) {
1024
+ __wbg_set_method_5a35896632ca213d: function(arg0, arg1, arg2) {
1060
1025
  arg0.method = getStringFromWasm0(arg1, arg2);
1061
1026
  },
1062
- __wbg_set_mode_b13642c312648202: function(arg0, arg1) {
1027
+ __wbg_set_mode_6fa10db5d133ac26: function(arg0, arg1) {
1063
1028
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1064
1029
  },
1065
- __wbg_set_signal_f2d3f8599248896d: function(arg0, arg1) {
1030
+ __wbg_set_signal_0d93209e168efc85: function(arg0, arg1) {
1066
1031
  arg0.signal = arg1;
1067
1032
  },
1068
- __wbg_signal_d1285ecab4ebc5ad: function(arg0) {
1033
+ __wbg_signal_a0d9fead74a07e34: function(arg0) {
1069
1034
  const ret = arg0.signal;
1070
1035
  return ret;
1071
1036
  },
1072
- __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
1037
+ __wbg_static_accessor_GLOBAL_280fe6a619bbfbf6: function() {
1073
1038
  const ret = typeof global === 'undefined' ? null : global;
1074
1039
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1075
1040
  },
1076
- __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
1041
+ __wbg_static_accessor_GLOBAL_THIS_12c1f4811ec605d1: function() {
1077
1042
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1078
1043
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1079
1044
  },
1080
- __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
1045
+ __wbg_static_accessor_SELF_3a156961626f54d9: function() {
1081
1046
  const ret = typeof self === 'undefined' ? null : self;
1082
1047
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1083
1048
  },
1084
- __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
1049
+ __wbg_static_accessor_WINDOW_210015b3eb6018a4: function() {
1085
1050
  const ret = typeof window === 'undefined' ? null : window;
1086
1051
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1087
1052
  },
1088
- __wbg_status_89d7e803db911ee7: function(arg0) {
1053
+ __wbg_status_1544422a8c64aef0: function(arg0) {
1089
1054
  const ret = arg0.status;
1090
1055
  return ret;
1091
1056
  },
1092
- __wbg_stringify_8d1cc6ff383e8bae: function() { return handleError(function (arg0) {
1093
- const ret = JSON.stringify(arg0);
1094
- return ret;
1095
- }, arguments); },
1096
- __wbg_subarray_a96e1fef17ed23cb: function(arg0, arg1, arg2) {
1057
+ __wbg_subarray_a61f483a625b1793: function(arg0, arg1, arg2) {
1097
1058
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1098
1059
  return ret;
1099
1060
  },
1100
- __wbg_text_083b8727c990c8c0: function() { return handleError(function (arg0) {
1061
+ __wbg_text_667415a14b08e789: function() { return handleError(function (arg0) {
1101
1062
  const ret = arg0.text();
1102
1063
  return ret;
1103
1064
  }, arguments); },
1104
- __wbg_then_0d9fe2c7b1857d32: function(arg0, arg1, arg2) {
1105
- const ret = arg0.then(arg1, arg2);
1065
+ __wbg_then_5ce48a9e69c0d3cd: function(arg0, arg1) {
1066
+ const ret = arg0.then(arg1);
1106
1067
  return ret;
1107
1068
  },
1108
- __wbg_then_b9e7b3b5f1a9e1b5: function(arg0, arg1) {
1109
- const ret = arg0.then(arg1);
1069
+ __wbg_then_f73127af3894d61c: function(arg0, arg1, arg2) {
1070
+ const ret = arg0.then(arg1, arg2);
1110
1071
  return ret;
1111
1072
  },
1112
- __wbg_trace_21a493b80d415f00: function(arg0) {
1073
+ __wbg_trace_62f38a2e54f4cc2a: function(arg0) {
1113
1074
  console.trace(...arg0);
1114
1075
  },
1115
- __wbg_url_c484c26b1fbf5126: function(arg0, arg1) {
1076
+ __wbg_url_271945e420831f05: function(arg0, arg1) {
1116
1077
  const ret = arg1.url;
1117
1078
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1118
1079
  const len1 = WASM_VECTOR_LEN;
1119
1080
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1120
1081
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1121
1082
  },
1122
- __wbg_value_0546255b415e96c1: function(arg0) {
1083
+ __wbg_value_3e1fdb73e1353fb3: function(arg0) {
1123
1084
  const ret = arg0.value;
1124
1085
  return ret;
1125
1086
  },
1126
- __wbg_versions_4e31226f5e8dc909: function(arg0) {
1087
+ __wbg_versions_276b2795b1c6a219: function(arg0) {
1127
1088
  const ret = arg0.versions;
1128
1089
  return ret;
1129
1090
  },
1130
- __wbg_warn_f3657073f42e55b4: function(arg0) {
1091
+ __wbg_warn_3af8b0e50ab410d5: function(arg0) {
1131
1092
  console.warn(...arg0);
1132
1093
  },
1133
1094
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1134
- // Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 554, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1135
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h81df99cf5fb23bb4, wasm_bindgen__convert__closures_____invoke__h06cf10571db3fb4b);
1095
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 577, function: Function { arguments: [], shim_idx: 578, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1096
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6040ec9204f8ec90, wasm_bindgen__convert__closures_____invoke__h9354621fa201e4f1);
1136
1097
  return ret;
1137
1098
  },
1138
1099
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1139
- // Cast intrinsic for `Closure(Closure { dtor_idx: 597, function: Function { arguments: [Externref], shim_idx: 598, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1140
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__he589cbad438baf01, wasm_bindgen__convert__closures_____invoke__h30e9622b2b4b0718);
1100
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 621, function: Function { arguments: [Externref], shim_idx: 2034, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1101
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5ca61ceeccdb4050, wasm_bindgen__convert__closures_____invoke__h662f8e0721b9d210);
1141
1102
  return ret;
1142
1103
  },
1143
1104
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -1181,16 +1142,19 @@ function __wbg_get_imports() {
1181
1142
  };
1182
1143
  }
1183
1144
 
1184
- function wasm_bindgen__convert__closures_____invoke__h06cf10571db3fb4b(arg0, arg1) {
1185
- wasm.wasm_bindgen__convert__closures_____invoke__h06cf10571db3fb4b(arg0, arg1);
1145
+ function wasm_bindgen__convert__closures_____invoke__h9354621fa201e4f1(arg0, arg1) {
1146
+ wasm.wasm_bindgen__convert__closures_____invoke__h9354621fa201e4f1(arg0, arg1);
1186
1147
  }
1187
1148
 
1188
- function wasm_bindgen__convert__closures_____invoke__h30e9622b2b4b0718(arg0, arg1, arg2) {
1189
- wasm.wasm_bindgen__convert__closures_____invoke__h30e9622b2b4b0718(arg0, arg1, arg2);
1149
+ function wasm_bindgen__convert__closures_____invoke__h662f8e0721b9d210(arg0, arg1, arg2) {
1150
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h662f8e0721b9d210(arg0, arg1, arg2);
1151
+ if (ret[1]) {
1152
+ throw takeFromExternrefTable0(ret[0]);
1153
+ }
1190
1154
  }
1191
1155
 
1192
- function wasm_bindgen__convert__closures_____invoke__h5ea28dde88fe4fc5(arg0, arg1, arg2, arg3) {
1193
- wasm.wasm_bindgen__convert__closures_____invoke__h5ea28dde88fe4fc5(arg0, arg1, arg2, arg3);
1156
+ function wasm_bindgen__convert__closures_____invoke__hd96d811f18675791(arg0, arg1, arg2, arg3) {
1157
+ wasm.wasm_bindgen__convert__closures_____invoke__hd96d811f18675791(arg0, arg1, arg2, arg3);
1194
1158
  }
1195
1159
 
1196
1160
 
@@ -1213,9 +1177,6 @@ const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
1213
1177
  const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
1214
1178
  ? { register: () => {}, unregister: () => {} }
1215
1179
  : new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr >>> 0, 1));
1216
- const JsJsonLogicFinalization = (typeof FinalizationRegistry === 'undefined')
1217
- ? { register: () => {}, unregister: () => {} }
1218
- : new FinalizationRegistry(ptr => wasm.__wbg_jsjsonlogic_free(ptr >>> 0, 1));
1219
1180
  const MultiIssuerAuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
1220
1181
  ? { register: () => {}, unregister: () => {} }
1221
1182
  : new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr >>> 0, 1));
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@janssenproject/cedarling_wasm",
3
3
  "type": "module",
4
4
  "description": "The Cedarling is a performant local authorization service that runs the Rust Cedar Engine",
5
- "version": "0.0.311",
5
+ "version": "0.0.312",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",