@janssenproject/cedarling_wasm 0.0.215 → 0.0.216

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__hf6cdfeafe9651909: (a: number, b: number) => void;
224
- readonly closure542_externref_shim: (a: number, b: number, c: any) => void;
225
- readonly closure1815_externref_shim: (a: number, b: number, c: any, d: any) => void;
223
+ readonly wasm_bindgen__convert__closures_____invoke__hf135e9bd71abb1bc: (a: number, b: number) => void;
224
+ readonly closure541_externref_shim: (a: number, b: number, c: any) => void;
225
+ readonly closure1816_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,16 +247,16 @@ 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__hf6cdfeafe9651909(arg0, arg1);
250
+ function __wbg_adapter_48(arg0, arg1) {
251
+ wasm.wasm_bindgen__convert__closures_____invoke__hf135e9bd71abb1bc(arg0, arg1);
235
252
  }
236
253
 
237
- function __wbg_adapter_53(arg0, arg1, arg2) {
238
- wasm.closure542_externref_shim(arg0, arg1, arg2);
254
+ function __wbg_adapter_51(arg0, arg1, arg2) {
255
+ wasm.closure541_externref_shim(arg0, arg1, arg2);
239
256
  }
240
257
 
241
- function __wbg_adapter_246(arg0, arg1, arg2, arg3) {
242
- wasm.closure1815_externref_shim(arg0, arg1, arg2, arg3);
258
+ function __wbg_adapter_244(arg0, arg1, arg2, arg3) {
259
+ wasm.closure1816_externref_shim(arg0, arg1, arg2, arg3);
243
260
  }
244
261
 
245
262
  const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
@@ -763,6 +780,8 @@ export class PolicyEvaluationError {
763
780
  }
764
781
  }
765
782
 
783
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
784
+
766
785
  async function __wbg_load(module, imports) {
767
786
  if (typeof Response === 'function' && module instanceof Response) {
768
787
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -770,7 +789,9 @@ async function __wbg_load(module, imports) {
770
789
  return await WebAssembly.instantiateStreaming(module, imports);
771
790
 
772
791
  } catch (e) {
773
- 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') {
774
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);
775
796
 
776
797
  } else {
@@ -797,6 +818,10 @@ async function __wbg_load(module, imports) {
797
818
  function __wbg_get_imports() {
798
819
  const imports = {};
799
820
  imports.wbg = {};
821
+ imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
822
+ const ret = Error(getStringFromWasm0(arg0, arg1));
823
+ return ret;
824
+ };
800
825
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
801
826
  const ret = String(arg1);
802
827
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -804,16 +829,16 @@ function __wbg_get_imports() {
804
829
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
805
830
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
806
831
  };
807
- imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
808
- arg0.abort(arg1);
809
- };
810
- imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
832
+ imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
811
833
  arg0.abort();
812
834
  };
813
- 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) {
814
839
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
815
840
  }, arguments) };
816
- imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
841
+ imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
817
842
  const ret = arg0.arrayBuffer();
818
843
  return ret;
819
844
  }, arguments) };
@@ -821,16 +846,16 @@ function __wbg_get_imports() {
821
846
  const ret = AuthorizeResult.__wrap(arg0);
822
847
  return ret;
823
848
  };
824
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
849
+ imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
825
850
  const ret = arg0.buffer;
826
851
  return ret;
827
852
  };
828
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
829
- 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);
830
855
  return ret;
831
856
  }, arguments) };
832
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
833
- const ret = arg0.call(arg1, arg2);
857
+ imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
858
+ const ret = arg0.call(arg1);
834
859
  return ret;
835
860
  }, arguments) };
836
861
  imports.wbg.__wbg_cedarling_new = function(arg0) {
@@ -845,25 +870,25 @@ function __wbg_get_imports() {
845
870
  const ret = arg0.crypto;
846
871
  return ret;
847
872
  };
848
- imports.wbg.__wbg_debug_faaa2b98a2718860 = function(arg0) {
873
+ imports.wbg.__wbg_debug_d6b79b0bf4da29c2 = function(arg0) {
849
874
  console.debug(...arg0);
850
875
  };
851
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
876
+ imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
852
877
  const ret = arg0.done;
853
878
  return ret;
854
879
  };
855
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
880
+ imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
856
881
  const ret = Object.entries(arg0);
857
882
  return ret;
858
883
  };
859
- imports.wbg.__wbg_entries_c8a90a7ed73e84ce = function(arg0) {
884
+ imports.wbg.__wbg_entries_c951fa14164704e7 = function(arg0) {
860
885
  const ret = arg0.entries();
861
886
  return ret;
862
887
  };
863
- imports.wbg.__wbg_error_dc53417fcef5463a = function(arg0) {
888
+ imports.wbg.__wbg_error_5cb390bc4013f9d1 = function(arg0) {
864
889
  console.error(...arg0);
865
890
  };
866
- imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
891
+ imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
867
892
  const ret = arg0.fetch(arg1);
868
893
  return ret;
869
894
  };
@@ -871,26 +896,26 @@ function __wbg_get_imports() {
871
896
  const ret = fetch(arg0);
872
897
  return ret;
873
898
  };
874
- imports.wbg.__wbg_fromEntries_524679eecb0bdc2e = function() { return handleError(function (arg0) {
899
+ imports.wbg.__wbg_fromEntries_91e19ec7b6783aeb = function() { return handleError(function (arg0) {
875
900
  const ret = Object.fromEntries(arg0);
876
901
  return ret;
877
902
  }, arguments) };
878
903
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
879
904
  arg0.getRandomValues(arg1);
880
905
  }, arguments) };
881
- imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
906
+ imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
882
907
  const ret = arg0.getTime();
883
908
  return ret;
884
909
  };
885
- imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
910
+ imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
886
911
  const ret = arg0.getTimezoneOffset();
887
912
  return ret;
888
913
  };
889
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
914
+ imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
890
915
  const ret = Reflect.get(arg0, arg1);
891
916
  return ret;
892
917
  }, arguments) };
893
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
918
+ imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
894
919
  const ret = arg0[arg1 >>> 0];
895
920
  return ret;
896
921
  };
@@ -898,18 +923,18 @@ function __wbg_get_imports() {
898
923
  const ret = arg0[arg1];
899
924
  return ret;
900
925
  };
901
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
926
+ imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
902
927
  const ret = Reflect.has(arg0, arg1);
903
928
  return ret;
904
929
  }, arguments) };
905
- imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
930
+ imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
906
931
  const ret = arg0.headers;
907
932
  return ret;
908
933
  };
909
- imports.wbg.__wbg_info_7fbe81f62c7b4dab = function(arg0) {
934
+ imports.wbg.__wbg_info_6bba09377e5a3490 = function(arg0) {
910
935
  console.info(...arg0);
911
936
  };
912
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
937
+ imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
913
938
  let result;
914
939
  try {
915
940
  result = arg0 instanceof ArrayBuffer;
@@ -919,7 +944,7 @@ function __wbg_get_imports() {
919
944
  const ret = result;
920
945
  return ret;
921
946
  };
922
- imports.wbg.__wbg_instanceof_Array_6ac07133d621675a = function(arg0) {
947
+ imports.wbg.__wbg_instanceof_Array_b740b533930f065b = function(arg0) {
923
948
  let result;
924
949
  try {
925
950
  result = arg0 instanceof Array;
@@ -929,7 +954,7 @@ function __wbg_get_imports() {
929
954
  const ret = result;
930
955
  return ret;
931
956
  };
932
- imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
957
+ imports.wbg.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
933
958
  let result;
934
959
  try {
935
960
  result = arg0 instanceof Map;
@@ -939,7 +964,7 @@ function __wbg_get_imports() {
939
964
  const ret = result;
940
965
  return ret;
941
966
  };
942
- imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
967
+ imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
943
968
  let result;
944
969
  try {
945
970
  result = arg0 instanceof Response;
@@ -949,7 +974,7 @@ function __wbg_get_imports() {
949
974
  const ret = result;
950
975
  return ret;
951
976
  };
952
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
977
+ imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
953
978
  let result;
954
979
  try {
955
980
  result = arg0 instanceof Uint8Array;
@@ -959,53 +984,73 @@ function __wbg_get_imports() {
959
984
  const ret = result;
960
985
  return ret;
961
986
  };
962
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
987
+ imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
963
988
  const ret = Array.isArray(arg0);
964
989
  return ret;
965
990
  };
966
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
991
+ imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
967
992
  const ret = Number.isSafeInteger(arg0);
968
993
  return ret;
969
994
  };
970
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
995
+ imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
971
996
  const ret = Symbol.iterator;
972
997
  return ret;
973
998
  };
974
- imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
999
+ imports.wbg.__wbg_keys_42062809bf87339e = function(arg0) {
975
1000
  const ret = Object.keys(arg0);
976
1001
  return ret;
977
1002
  };
978
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
1003
+ imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
979
1004
  const ret = arg0.length;
980
1005
  return ret;
981
1006
  };
982
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
1007
+ imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
983
1008
  const ret = arg0.length;
984
1009
  return ret;
985
1010
  };
986
- imports.wbg.__wbg_log_245868b4b99cdf20 = function(arg0) {
1011
+ imports.wbg.__wbg_log_7e417898f19eba17 = function(arg0) {
987
1012
  console.log(...arg0);
988
1013
  };
989
1014
  imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
990
1015
  const ret = arg0.msCrypto;
991
1016
  return ret;
992
1017
  };
993
- imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
1018
+ imports.wbg.__wbg_new0_97314565408dea38 = function() {
994
1019
  const ret = new Date();
995
1020
  return ret;
996
1021
  };
997
- 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 () {
998
1031
  const ret = new Headers();
999
1032
  return ret;
1000
1033
  }, arguments) };
1001
- 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) {
1002
1047
  try {
1003
1048
  var state0 = {a: arg0, b: arg1};
1004
1049
  var cb0 = (arg0, arg1) => {
1005
1050
  const a = state0.a;
1006
1051
  state0.a = 0;
1007
1052
  try {
1008
- return __wbg_adapter_246(a, state0.b, arg0, arg1);
1053
+ return __wbg_adapter_244(a, state0.b, arg0, arg1);
1009
1054
  } finally {
1010
1055
  state0.a = a;
1011
1056
  }
@@ -1016,55 +1061,39 @@ function __wbg_get_imports() {
1016
1061
  state0.a = state0.b = 0;
1017
1062
  }
1018
1063
  };
1019
- imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
1020
- const ret = new Date(arg0);
1021
- return ret;
1022
- };
1023
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
1024
- const ret = new Object();
1025
- return ret;
1026
- };
1027
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
1028
- const ret = new Map();
1029
- return ret;
1030
- };
1031
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
1032
- const ret = new Array();
1033
- return ret;
1034
- };
1035
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
1064
+ imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
1036
1065
  const ret = new Uint8Array(arg0);
1037
1066
  return ret;
1038
1067
  };
1039
- imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
1040
- const ret = new AbortController();
1068
+ imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
1069
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1041
1070
  return ret;
1042
- }, arguments) };
1043
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
1071
+ };
1072
+ imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
1044
1073
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1045
1074
  return ret;
1046
1075
  };
1047
- imports.wbg.__wbg_newwithargs_ab6ffe8cd6c19c04 = function(arg0, arg1, arg2, arg3) {
1076
+ imports.wbg.__wbg_newwithargs_17a05078fc85d3aa = function(arg0, arg1, arg2, arg3) {
1048
1077
  const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
1049
1078
  return ret;
1050
1079
  };
1051
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
1080
+ imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
1052
1081
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1053
1082
  return ret;
1054
1083
  };
1055
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
1084
+ imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
1056
1085
  const ret = new Uint8Array(arg0 >>> 0);
1057
1086
  return ret;
1058
1087
  };
1059
- 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) {
1060
1089
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1061
1090
  return ret;
1062
1091
  }, arguments) };
1063
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
1092
+ imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
1064
1093
  const ret = arg0.next;
1065
1094
  return ret;
1066
1095
  };
1067
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
1096
+ imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
1068
1097
  const ret = arg0.next();
1069
1098
  return ret;
1070
1099
  }, arguments) };
@@ -1080,14 +1109,14 @@ function __wbg_get_imports() {
1080
1109
  const ret = arg0.process;
1081
1110
  return ret;
1082
1111
  };
1083
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
1112
+ imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
1084
1113
  const ret = arg0.push(arg1);
1085
1114
  return ret;
1086
1115
  };
1087
- imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
1116
+ imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
1088
1117
  queueMicrotask(arg0);
1089
1118
  };
1090
- imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
1119
+ imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
1091
1120
  const ret = arg0.queueMicrotask;
1092
1121
  return ret;
1093
1122
  };
@@ -1098,7 +1127,7 @@ function __wbg_get_imports() {
1098
1127
  const ret = module.require;
1099
1128
  return ret;
1100
1129
  }, arguments) };
1101
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
1130
+ imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
1102
1131
  const ret = Promise.resolve(arg0);
1103
1132
  return ret;
1104
1133
  };
@@ -1106,99 +1135,99 @@ function __wbg_get_imports() {
1106
1135
  const ret = setTimeout(arg0, arg1);
1107
1136
  return ret;
1108
1137
  };
1109
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
1110
- arg0[arg1 >>> 0] = arg2;
1111
- };
1112
1138
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
1113
1139
  arg0[arg1] = arg2;
1114
1140
  };
1115
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
1116
- arg0.set(arg1, arg2 >>> 0);
1117
- };
1118
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
1119
- const ret = arg0.set(arg1, arg2);
1120
- return ret;
1141
+ imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
1142
+ arg0[arg1 >>> 0] = arg2;
1121
1143
  };
1122
- 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) {
1123
1145
  const ret = Reflect.set(arg0, arg1, arg2);
1124
1146
  return ret;
1125
1147
  }, arguments) };
1126
- 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) {
1127
1156
  arg0.body = arg1;
1128
1157
  };
1129
- imports.wbg.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
1158
+ imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
1130
1159
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
1131
1160
  };
1132
- imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
1161
+ imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
1133
1162
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1134
1163
  };
1135
- imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
1164
+ imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
1136
1165
  arg0.headers = arg1;
1137
1166
  };
1138
- imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
1167
+ imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
1139
1168
  arg0.method = getStringFromWasm0(arg1, arg2);
1140
1169
  };
1141
- imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
1170
+ imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
1142
1171
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1143
1172
  };
1144
- imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
1173
+ imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
1145
1174
  arg0.signal = arg1;
1146
1175
  };
1147
- imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
1176
+ imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
1148
1177
  const ret = arg0.signal;
1149
1178
  return ret;
1150
1179
  };
1151
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
1180
+ imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
1152
1181
  const ret = typeof global === 'undefined' ? null : global;
1153
1182
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1154
1183
  };
1155
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
1184
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
1156
1185
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1157
1186
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1158
1187
  };
1159
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
1188
+ imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
1160
1189
  const ret = typeof self === 'undefined' ? null : self;
1161
1190
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1162
1191
  };
1163
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
1192
+ imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
1164
1193
  const ret = typeof window === 'undefined' ? null : window;
1165
1194
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1166
1195
  };
1167
- imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
1196
+ imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
1168
1197
  const ret = arg0.status;
1169
1198
  return ret;
1170
1199
  };
1171
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
1200
+ imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
1172
1201
  const ret = JSON.stringify(arg0);
1173
1202
  return ret;
1174
1203
  }, arguments) };
1175
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
1204
+ imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
1176
1205
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1177
1206
  return ret;
1178
1207
  };
1179
- imports.wbg.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
1208
+ imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
1180
1209
  const ret = arg0.text();
1181
1210
  return ret;
1182
1211
  }, arguments) };
1183
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
1184
- const ret = arg0.then(arg1);
1212
+ imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
1213
+ const ret = arg0.then(arg1, arg2);
1185
1214
  return ret;
1186
1215
  };
1187
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
1188
- const ret = arg0.then(arg1, arg2);
1216
+ imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
1217
+ const ret = arg0.then(arg1);
1189
1218
  return ret;
1190
1219
  };
1191
- imports.wbg.__wbg_trace_8fa9ac2274ea7420 = function(arg0) {
1220
+ imports.wbg.__wbg_trace_f1ea3a49486fac2c = function(arg0) {
1192
1221
  console.trace(...arg0);
1193
1222
  };
1194
- imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
1223
+ imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
1195
1224
  const ret = arg1.url;
1196
1225
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1197
1226
  const len1 = WASM_VECTOR_LEN;
1198
1227
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1199
1228
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1200
1229
  };
1201
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
1230
+ imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
1202
1231
  const ret = arg0.value;
1203
1232
  return ret;
1204
1233
  };
@@ -1206,7 +1235,7 @@ function __wbg_get_imports() {
1206
1235
  const ret = arg0.versions;
1207
1236
  return ret;
1208
1237
  };
1209
- imports.wbg.__wbg_warn_ba4bf5118b457d45 = function(arg0) {
1238
+ imports.wbg.__wbg_warn_c6a0f82186237bfa = function(arg0) {
1210
1239
  console.warn(...arg0);
1211
1240
  };
1212
1241
  imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
@@ -1237,12 +1266,12 @@ function __wbg_get_imports() {
1237
1266
  const ret = false;
1238
1267
  return ret;
1239
1268
  };
1240
- imports.wbg.__wbindgen_closure_wrapper3890 = function(arg0, arg1, arg2) {
1241
- const ret = makeMutClosure(arg0, arg1, 496, __wbg_adapter_50);
1269
+ imports.wbg.__wbindgen_closure_wrapper3892 = function(arg0, arg1, arg2) {
1270
+ const ret = makeMutClosure(arg0, arg1, 494, __wbg_adapter_48);
1242
1271
  return ret;
1243
1272
  };
1244
- imports.wbg.__wbindgen_closure_wrapper4042 = function(arg0, arg1, arg2) {
1245
- const ret = makeMutClosure(arg0, arg1, 543, __wbg_adapter_53);
1273
+ imports.wbg.__wbindgen_closure_wrapper4041 = function(arg0, arg1, arg2) {
1274
+ const ret = makeMutClosure(arg0, arg1, 540, __wbg_adapter_51);
1246
1275
  return ret;
1247
1276
  };
1248
1277
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -1252,10 +1281,6 @@ function __wbg_get_imports() {
1252
1281
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1253
1282
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1254
1283
  };
1255
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
1256
- const ret = new Error(getStringFromWasm0(arg0, arg1));
1257
- return ret;
1258
- };
1259
1284
  imports.wbg.__wbindgen_in = function(arg0, arg1) {
1260
1285
  const ret = arg0 in arg1;
1261
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": "0.0.215",
5
+ "version": "0.0.216",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",