@janssenproject/cedarling_wasm 1.9.0 → 1.11.0

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.
@@ -220,9 +220,9 @@ export interface InitOutput {
220
220
  readonly __externref_table_dealloc: (a: number) => void;
221
221
  readonly __externref_drop_slice: (a: number, b: number) => void;
222
222
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
223
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8e11c17984e20636: (a: number, b: number) => void;
224
- readonly closure539_externref_shim: (a: number, b: number, c: any) => void;
225
- readonly closure1819_externref_shim: (a: number, b: number, c: any, d: any) => void;
223
+ readonly wasm_bindgen__convert__closures_____invoke__ha606d566df222057: (a: number, b: number) => void;
224
+ readonly closure545_externref_shim: (a: number, b: number, c: any) => void;
225
+ readonly closure1825_externref_shim: (a: number, b: number, c: any, d: any) => void;
226
226
  readonly __wbindgen_start: () => void;
227
227
  }
228
228
 
package/cedarling_wasm.js CHANGED
@@ -1,7 +1,5 @@
1
1
  let wasm;
2
2
 
3
- let WASM_VECTOR_LEN = 0;
4
-
5
3
  let cachedUint8ArrayMemory0 = null;
6
4
 
7
5
  function getUint8ArrayMemory0() {
@@ -11,6 +9,29 @@ function getUint8ArrayMemory0() {
11
9
  return cachedUint8ArrayMemory0;
12
10
  }
13
11
 
12
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
13
+
14
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
15
+
16
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
17
+ let numBytesDecoded = 0;
18
+ function decodeText(ptr, len) {
19
+ numBytesDecoded += len;
20
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
21
+ cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
22
+ cachedTextDecoder.decode();
23
+ numBytesDecoded = len;
24
+ }
25
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
26
+ }
27
+
28
+ function getStringFromWasm0(ptr, len) {
29
+ ptr = ptr >>> 0;
30
+ return decodeText(ptr, len);
31
+ }
32
+
33
+ let WASM_VECTOR_LEN = 0;
34
+
14
35
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
15
36
 
16
37
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -74,15 +95,6 @@ function getDataViewMemory0() {
74
95
  return cachedDataViewMemory0;
75
96
  }
76
97
 
77
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
78
-
79
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
80
-
81
- function getStringFromWasm0(ptr, len) {
82
- ptr = ptr >>> 0;
83
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
84
- }
85
-
86
98
  function addToExternrefTable0(obj) {
87
99
  const idx = wasm.__externref_table_alloc();
88
100
  wasm.__wbindgen_export_4.set(idx, obj);
@@ -98,6 +110,11 @@ function handleError(f, args) {
98
110
  }
99
111
  }
100
112
 
113
+ function getArrayU8FromWasm0(ptr, len) {
114
+ ptr = ptr >>> 0;
115
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
116
+ }
117
+
101
118
  function isLikeNone(x) {
102
119
  return x === undefined || x === null;
103
120
  }
@@ -230,18 +247,20 @@ function _assertClass(instance, klass) {
230
247
  throw new Error(`expected instance of ${klass.name}`);
231
248
  }
232
249
  }
233
- function __wbg_adapter_50(arg0, arg1) {
234
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8e11c17984e20636(arg0, arg1);
250
+ function __wbg_adapter_48(arg0, arg1) {
251
+ wasm.wasm_bindgen__convert__closures_____invoke__ha606d566df222057(arg0, arg1);
235
252
  }
236
253
 
237
- function __wbg_adapter_53(arg0, arg1, arg2) {
238
- wasm.closure539_externref_shim(arg0, arg1, arg2);
254
+ function __wbg_adapter_51(arg0, arg1, arg2) {
255
+ wasm.closure545_externref_shim(arg0, arg1, arg2);
239
256
  }
240
257
 
241
258
  function __wbg_adapter_244(arg0, arg1, arg2, arg3) {
242
- wasm.closure1819_externref_shim(arg0, arg1, arg2, arg3);
259
+ wasm.closure1825_externref_shim(arg0, arg1, arg2, arg3);
243
260
  }
244
261
 
262
+ const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
263
+
245
264
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
246
265
 
247
266
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
@@ -761,6 +780,8 @@ export class PolicyEvaluationError {
761
780
  }
762
781
  }
763
782
 
783
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
784
+
764
785
  async function __wbg_load(module, imports) {
765
786
  if (typeof Response === 'function' && module instanceof Response) {
766
787
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -768,7 +789,9 @@ async function __wbg_load(module, imports) {
768
789
  return await WebAssembly.instantiateStreaming(module, imports);
769
790
 
770
791
  } catch (e) {
771
- if (module.headers.get('Content-Type') != 'application/wasm') {
792
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
793
+
794
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
772
795
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
773
796
 
774
797
  } else {
@@ -795,6 +818,10 @@ async function __wbg_load(module, imports) {
795
818
  function __wbg_get_imports() {
796
819
  const imports = {};
797
820
  imports.wbg = {};
821
+ imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
822
+ const ret = Error(getStringFromWasm0(arg0, arg1));
823
+ return ret;
824
+ };
798
825
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
799
826
  const ret = String(arg1);
800
827
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -802,16 +829,16 @@ function __wbg_get_imports() {
802
829
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
803
830
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
804
831
  };
805
- imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
806
- arg0.abort(arg1);
807
- };
808
- imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
832
+ imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
809
833
  arg0.abort();
810
834
  };
811
- imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
835
+ imports.wbg.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
836
+ arg0.abort(arg1);
837
+ };
838
+ imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
812
839
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
813
840
  }, arguments) };
814
- imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
841
+ imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
815
842
  const ret = arg0.arrayBuffer();
816
843
  return ret;
817
844
  }, arguments) };
@@ -819,23 +846,23 @@ function __wbg_get_imports() {
819
846
  const ret = AuthorizeResult.__wrap(arg0);
820
847
  return ret;
821
848
  };
822
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
849
+ imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
823
850
  const ret = arg0.buffer;
824
851
  return ret;
825
852
  };
826
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
827
- const ret = arg0.call(arg1);
853
+ imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
854
+ const ret = arg0.call(arg1, arg2);
828
855
  return ret;
829
856
  }, arguments) };
830
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
831
- const ret = arg0.call(arg1, arg2);
857
+ imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
858
+ const ret = arg0.call(arg1);
832
859
  return ret;
833
860
  }, arguments) };
834
861
  imports.wbg.__wbg_cedarling_new = function(arg0) {
835
862
  const ret = Cedarling.__wrap(arg0);
836
863
  return ret;
837
864
  };
838
- imports.wbg.__wbg_clearTimeout_0b53d391c1b94dda = function(arg0) {
865
+ imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
839
866
  const ret = clearTimeout(arg0);
840
867
  return ret;
841
868
  };
@@ -843,52 +870,52 @@ function __wbg_get_imports() {
843
870
  const ret = arg0.crypto;
844
871
  return ret;
845
872
  };
846
- imports.wbg.__wbg_debug_faaa2b98a2718860 = function(arg0) {
873
+ imports.wbg.__wbg_debug_d6b79b0bf4da29c2 = function(arg0) {
847
874
  console.debug(...arg0);
848
875
  };
849
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
876
+ imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
850
877
  const ret = arg0.done;
851
878
  return ret;
852
879
  };
853
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
880
+ imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
854
881
  const ret = Object.entries(arg0);
855
882
  return ret;
856
883
  };
857
- imports.wbg.__wbg_entries_c8a90a7ed73e84ce = function(arg0) {
884
+ imports.wbg.__wbg_entries_c951fa14164704e7 = function(arg0) {
858
885
  const ret = arg0.entries();
859
886
  return ret;
860
887
  };
861
- imports.wbg.__wbg_error_dc53417fcef5463a = function(arg0) {
888
+ imports.wbg.__wbg_error_5cb390bc4013f9d1 = function(arg0) {
862
889
  console.error(...arg0);
863
890
  };
864
- imports.wbg.__wbg_fetch_11bff8299d0ecd2b = function(arg0) {
865
- const ret = fetch(arg0);
891
+ imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
892
+ const ret = arg0.fetch(arg1);
866
893
  return ret;
867
894
  };
868
- imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
869
- const ret = arg0.fetch(arg1);
895
+ imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
896
+ const ret = fetch(arg0);
870
897
  return ret;
871
898
  };
872
- imports.wbg.__wbg_fromEntries_524679eecb0bdc2e = function() { return handleError(function (arg0) {
899
+ imports.wbg.__wbg_fromEntries_91e19ec7b6783aeb = function() { return handleError(function (arg0) {
873
900
  const ret = Object.fromEntries(arg0);
874
901
  return ret;
875
902
  }, arguments) };
876
903
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
877
904
  arg0.getRandomValues(arg1);
878
905
  }, arguments) };
879
- imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
906
+ imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
880
907
  const ret = arg0.getTime();
881
908
  return ret;
882
909
  };
883
- imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
910
+ imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
884
911
  const ret = arg0.getTimezoneOffset();
885
912
  return ret;
886
913
  };
887
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
914
+ imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
888
915
  const ret = Reflect.get(arg0, arg1);
889
916
  return ret;
890
917
  }, arguments) };
891
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
918
+ imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
892
919
  const ret = arg0[arg1 >>> 0];
893
920
  return ret;
894
921
  };
@@ -896,18 +923,18 @@ function __wbg_get_imports() {
896
923
  const ret = arg0[arg1];
897
924
  return ret;
898
925
  };
899
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
926
+ imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
900
927
  const ret = Reflect.has(arg0, arg1);
901
928
  return ret;
902
929
  }, arguments) };
903
- imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
930
+ imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
904
931
  const ret = arg0.headers;
905
932
  return ret;
906
933
  };
907
- imports.wbg.__wbg_info_7fbe81f62c7b4dab = function(arg0) {
934
+ imports.wbg.__wbg_info_6bba09377e5a3490 = function(arg0) {
908
935
  console.info(...arg0);
909
936
  };
910
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
937
+ imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
911
938
  let result;
912
939
  try {
913
940
  result = arg0 instanceof ArrayBuffer;
@@ -917,7 +944,7 @@ function __wbg_get_imports() {
917
944
  const ret = result;
918
945
  return ret;
919
946
  };
920
- imports.wbg.__wbg_instanceof_Array_6ac07133d621675a = function(arg0) {
947
+ imports.wbg.__wbg_instanceof_Array_b740b533930f065b = function(arg0) {
921
948
  let result;
922
949
  try {
923
950
  result = arg0 instanceof Array;
@@ -927,7 +954,7 @@ function __wbg_get_imports() {
927
954
  const ret = result;
928
955
  return ret;
929
956
  };
930
- imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
957
+ imports.wbg.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
931
958
  let result;
932
959
  try {
933
960
  result = arg0 instanceof Map;
@@ -937,7 +964,7 @@ function __wbg_get_imports() {
937
964
  const ret = result;
938
965
  return ret;
939
966
  };
940
- imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
967
+ imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
941
968
  let result;
942
969
  try {
943
970
  result = arg0 instanceof Response;
@@ -947,7 +974,7 @@ function __wbg_get_imports() {
947
974
  const ret = result;
948
975
  return ret;
949
976
  };
950
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
977
+ imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
951
978
  let result;
952
979
  try {
953
980
  result = arg0 instanceof Uint8Array;
@@ -957,46 +984,66 @@ function __wbg_get_imports() {
957
984
  const ret = result;
958
985
  return ret;
959
986
  };
960
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
987
+ imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
961
988
  const ret = Array.isArray(arg0);
962
989
  return ret;
963
990
  };
964
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
991
+ imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
965
992
  const ret = Number.isSafeInteger(arg0);
966
993
  return ret;
967
994
  };
968
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
995
+ imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
969
996
  const ret = Symbol.iterator;
970
997
  return ret;
971
998
  };
972
- imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
999
+ imports.wbg.__wbg_keys_42062809bf87339e = function(arg0) {
973
1000
  const ret = Object.keys(arg0);
974
1001
  return ret;
975
1002
  };
976
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
1003
+ imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
977
1004
  const ret = arg0.length;
978
1005
  return ret;
979
1006
  };
980
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
1007
+ imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
981
1008
  const ret = arg0.length;
982
1009
  return ret;
983
1010
  };
984
- imports.wbg.__wbg_log_245868b4b99cdf20 = function(arg0) {
1011
+ imports.wbg.__wbg_log_7e417898f19eba17 = function(arg0) {
985
1012
  console.log(...arg0);
986
1013
  };
987
1014
  imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
988
1015
  const ret = arg0.msCrypto;
989
1016
  return ret;
990
1017
  };
991
- imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
1018
+ imports.wbg.__wbg_new0_97314565408dea38 = function() {
992
1019
  const ret = new Date();
993
1020
  return ret;
994
1021
  };
995
- imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
1022
+ imports.wbg.__wbg_new_07b483f72211fd66 = function() {
1023
+ const ret = new Object();
1024
+ return ret;
1025
+ };
1026
+ imports.wbg.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
1027
+ const ret = new AbortController();
1028
+ return ret;
1029
+ }, arguments) };
1030
+ imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
996
1031
  const ret = new Headers();
997
1032
  return ret;
998
1033
  }, arguments) };
999
- imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
1034
+ imports.wbg.__wbg_new_58353953ad2097cc = function() {
1035
+ const ret = new Array();
1036
+ return ret;
1037
+ };
1038
+ imports.wbg.__wbg_new_a2957aa5684de228 = function(arg0) {
1039
+ const ret = new Date(arg0);
1040
+ return ret;
1041
+ };
1042
+ imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
1043
+ const ret = new Map();
1044
+ return ret;
1045
+ };
1046
+ imports.wbg.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
1000
1047
  try {
1001
1048
  var state0 = {a: arg0, b: arg1};
1002
1049
  var cb0 = (arg0, arg1) => {
@@ -1014,55 +1061,39 @@ function __wbg_get_imports() {
1014
1061
  state0.a = state0.b = 0;
1015
1062
  }
1016
1063
  };
1017
- imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
1018
- const ret = new Date(arg0);
1019
- return ret;
1020
- };
1021
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
1022
- const ret = new Object();
1023
- return ret;
1024
- };
1025
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
1026
- const ret = new Map();
1027
- return ret;
1028
- };
1029
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
1030
- const ret = new Array();
1031
- return ret;
1032
- };
1033
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
1064
+ imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
1034
1065
  const ret = new Uint8Array(arg0);
1035
1066
  return ret;
1036
1067
  };
1037
- imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
1038
- const ret = new AbortController();
1068
+ imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
1069
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1039
1070
  return ret;
1040
- }, arguments) };
1041
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
1071
+ };
1072
+ imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
1042
1073
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1043
1074
  return ret;
1044
1075
  };
1045
- imports.wbg.__wbg_newwithargs_ab6ffe8cd6c19c04 = function(arg0, arg1, arg2, arg3) {
1076
+ imports.wbg.__wbg_newwithargs_17a05078fc85d3aa = function(arg0, arg1, arg2, arg3) {
1046
1077
  const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
1047
1078
  return ret;
1048
1079
  };
1049
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
1080
+ imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
1050
1081
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1051
1082
  return ret;
1052
1083
  };
1053
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
1084
+ imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
1054
1085
  const ret = new Uint8Array(arg0 >>> 0);
1055
1086
  return ret;
1056
1087
  };
1057
- imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
1088
+ imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
1058
1089
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1059
1090
  return ret;
1060
1091
  }, arguments) };
1061
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
1092
+ imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
1062
1093
  const ret = arg0.next;
1063
1094
  return ret;
1064
1095
  };
1065
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
1096
+ imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
1066
1097
  const ret = arg0.next();
1067
1098
  return ret;
1068
1099
  }, arguments) };
@@ -1078,14 +1109,14 @@ function __wbg_get_imports() {
1078
1109
  const ret = arg0.process;
1079
1110
  return ret;
1080
1111
  };
1081
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
1112
+ imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
1082
1113
  const ret = arg0.push(arg1);
1083
1114
  return ret;
1084
1115
  };
1085
- imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
1116
+ imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
1086
1117
  queueMicrotask(arg0);
1087
1118
  };
1088
- imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
1119
+ imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
1089
1120
  const ret = arg0.queueMicrotask;
1090
1121
  return ret;
1091
1122
  };
@@ -1096,104 +1127,107 @@ function __wbg_get_imports() {
1096
1127
  const ret = module.require;
1097
1128
  return ret;
1098
1129
  }, arguments) };
1099
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
1130
+ imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
1100
1131
  const ret = Promise.resolve(arg0);
1101
1132
  return ret;
1102
1133
  };
1103
- imports.wbg.__wbg_setTimeout_73ce8df12de4f2f2 = function(arg0, arg1) {
1134
+ imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
1104
1135
  const ret = setTimeout(arg0, arg1);
1105
1136
  return ret;
1106
1137
  };
1107
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
1108
- arg0[arg1 >>> 0] = arg2;
1109
- };
1110
1138
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
1111
1139
  arg0[arg1] = arg2;
1112
1140
  };
1113
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
1114
- arg0.set(arg1, arg2 >>> 0);
1115
- };
1116
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
1117
- const ret = arg0.set(arg1, arg2);
1118
- return ret;
1141
+ imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
1142
+ arg0[arg1 >>> 0] = arg2;
1119
1143
  };
1120
- imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
1144
+ imports.wbg.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
1121
1145
  const ret = Reflect.set(arg0, arg1, arg2);
1122
1146
  return ret;
1123
1147
  }, arguments) };
1124
- imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
1148
+ imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
1149
+ const ret = arg0.set(arg1, arg2);
1150
+ return ret;
1151
+ };
1152
+ imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
1153
+ arg0.set(arg1, arg2 >>> 0);
1154
+ };
1155
+ imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
1125
1156
  arg0.body = arg1;
1126
1157
  };
1127
- imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
1158
+ imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
1159
+ arg0.cache = __wbindgen_enum_RequestCache[arg1];
1160
+ };
1161
+ imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
1128
1162
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1129
1163
  };
1130
- imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
1164
+ imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
1131
1165
  arg0.headers = arg1;
1132
1166
  };
1133
- imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
1167
+ imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
1134
1168
  arg0.method = getStringFromWasm0(arg1, arg2);
1135
1169
  };
1136
- imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
1170
+ imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
1137
1171
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1138
1172
  };
1139
- imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
1173
+ imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
1140
1174
  arg0.signal = arg1;
1141
1175
  };
1142
- imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
1176
+ imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
1143
1177
  const ret = arg0.signal;
1144
1178
  return ret;
1145
1179
  };
1146
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
1180
+ imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
1147
1181
  const ret = typeof global === 'undefined' ? null : global;
1148
1182
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1149
1183
  };
1150
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
1184
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
1151
1185
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1152
1186
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1153
1187
  };
1154
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
1188
+ imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
1155
1189
  const ret = typeof self === 'undefined' ? null : self;
1156
1190
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1157
1191
  };
1158
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
1192
+ imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
1159
1193
  const ret = typeof window === 'undefined' ? null : window;
1160
1194
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1161
1195
  };
1162
- imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
1196
+ imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
1163
1197
  const ret = arg0.status;
1164
1198
  return ret;
1165
1199
  };
1166
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
1200
+ imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
1167
1201
  const ret = JSON.stringify(arg0);
1168
1202
  return ret;
1169
1203
  }, arguments) };
1170
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
1204
+ imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
1171
1205
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1172
1206
  return ret;
1173
1207
  };
1174
- imports.wbg.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
1208
+ imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
1175
1209
  const ret = arg0.text();
1176
1210
  return ret;
1177
1211
  }, arguments) };
1178
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
1179
- const ret = arg0.then(arg1);
1212
+ imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
1213
+ const ret = arg0.then(arg1, arg2);
1180
1214
  return ret;
1181
1215
  };
1182
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
1183
- const ret = arg0.then(arg1, arg2);
1216
+ imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
1217
+ const ret = arg0.then(arg1);
1184
1218
  return ret;
1185
1219
  };
1186
- imports.wbg.__wbg_trace_8fa9ac2274ea7420 = function(arg0) {
1220
+ imports.wbg.__wbg_trace_f1ea3a49486fac2c = function(arg0) {
1187
1221
  console.trace(...arg0);
1188
1222
  };
1189
- imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
1223
+ imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
1190
1224
  const ret = arg1.url;
1191
1225
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1192
1226
  const len1 = WASM_VECTOR_LEN;
1193
1227
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1194
1228
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1195
1229
  };
1196
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
1230
+ imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
1197
1231
  const ret = arg0.value;
1198
1232
  return ret;
1199
1233
  };
@@ -1201,7 +1235,7 @@ function __wbg_get_imports() {
1201
1235
  const ret = arg0.versions;
1202
1236
  return ret;
1203
1237
  };
1204
- imports.wbg.__wbg_warn_ba4bf5118b457d45 = function(arg0) {
1238
+ imports.wbg.__wbg_warn_c6a0f82186237bfa = function(arg0) {
1205
1239
  console.warn(...arg0);
1206
1240
  };
1207
1241
  imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
@@ -1232,12 +1266,12 @@ function __wbg_get_imports() {
1232
1266
  const ret = false;
1233
1267
  return ret;
1234
1268
  };
1235
- imports.wbg.__wbindgen_closure_wrapper3866 = function(arg0, arg1, arg2) {
1236
- const ret = makeMutClosure(arg0, arg1, 495, __wbg_adapter_50);
1269
+ imports.wbg.__wbindgen_closure_wrapper3948 = function(arg0, arg1, arg2) {
1270
+ const ret = makeMutClosure(arg0, arg1, 498, __wbg_adapter_48);
1237
1271
  return ret;
1238
1272
  };
1239
- imports.wbg.__wbindgen_closure_wrapper4018 = function(arg0, arg1, arg2) {
1240
- const ret = makeMutClosure(arg0, arg1, 540, __wbg_adapter_53);
1273
+ imports.wbg.__wbindgen_closure_wrapper4097 = function(arg0, arg1, arg2) {
1274
+ const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_51);
1241
1275
  return ret;
1242
1276
  };
1243
1277
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -1247,10 +1281,6 @@ function __wbg_get_imports() {
1247
1281
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1248
1282
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1249
1283
  };
1250
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
1251
- const ret = new Error(getStringFromWasm0(arg0, arg1));
1252
- return ret;
1253
- };
1254
1284
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
1255
1285
  const ret = arg0 in arg1;
1256
1286
  return ret;
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": "1.9.0",
5
+ "version": "1.11.0",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",