@janssenproject/cedarling_wasm 1.11.0 → 1.12.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.
@@ -12,6 +12,7 @@ export function init(config: any): Promise<Cedarling>;
12
12
  export class AuthorizeResult {
13
13
  private constructor();
14
14
  free(): void;
15
+ [Symbol.dispose](): void;
15
16
  /**
16
17
  * Convert `AuthorizeResult` to json string value
17
18
  */
@@ -53,6 +54,7 @@ export class AuthorizeResult {
53
54
  export class AuthorizeResultResponse {
54
55
  private constructor();
55
56
  free(): void;
57
+ [Symbol.dispose](): void;
56
58
  /**
57
59
  * Authorization decision
58
60
  */
@@ -68,6 +70,7 @@ export class AuthorizeResultResponse {
68
70
  export class Cedarling {
69
71
  private constructor();
70
72
  free(): void;
73
+ [Symbol.dispose](): void;
71
74
  /**
72
75
  * Create a new instance of the Cedarling application.
73
76
  * Assume that config is `Object`
@@ -133,6 +136,7 @@ export class Cedarling {
133
136
  export class Diagnostics {
134
137
  private constructor();
135
138
  free(): void;
139
+ [Symbol.dispose](): void;
136
140
  /**
137
141
  * `PolicyId`s of the policies that contributed to the decision.
138
142
  * If no policies applied to the request, this set will be empty.
@@ -148,6 +152,7 @@ export class Diagnostics {
148
152
  }
149
153
  export class JsJsonLogic {
150
154
  free(): void;
155
+ [Symbol.dispose](): void;
151
156
  constructor();
152
157
  apply(logic: any, data: any): any;
153
158
  }
@@ -160,6 +165,7 @@ export class JsJsonLogic {
160
165
  export class PolicyEvaluationError {
161
166
  private constructor();
162
167
  free(): void;
168
+ [Symbol.dispose](): void;
163
169
  /**
164
170
  * Id of the policy with an error
165
171
  */
@@ -220,9 +226,9 @@ export interface InitOutput {
220
226
  readonly __externref_table_dealloc: (a: number) => void;
221
227
  readonly __externref_drop_slice: (a: number, b: number) => void;
222
228
  readonly __wbindgen_free: (a: number, b: number, c: number) => 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;
229
+ readonly wasm_bindgen__convert__closures_____invoke__he6c7a67b2aad2b08: (a: number, b: number) => void;
230
+ readonly closure549_externref_shim: (a: number, b: number, c: any) => void;
231
+ readonly closure1838_externref_shim: (a: number, b: number, c: any, d: any) => void;
226
232
  readonly __wbindgen_start: () => void;
227
233
  }
228
234
 
package/cedarling_wasm.js CHANGED
@@ -9,16 +9,16 @@ function getUint8ArrayMemory0() {
9
9
  return cachedUint8ArrayMemory0;
10
10
  }
11
11
 
12
- let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
12
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
13
13
 
14
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
14
+ cachedTextDecoder.decode();
15
15
 
16
16
  const MAX_SAFARI_DECODE_BYTES = 2146435072;
17
17
  let numBytesDecoded = 0;
18
18
  function decodeText(ptr, len) {
19
19
  numBytesDecoded += len;
20
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') } } );
21
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
22
22
  cachedTextDecoder.decode();
23
23
  numBytesDecoded = len;
24
24
  }
@@ -32,20 +32,18 @@ function getStringFromWasm0(ptr, len) {
32
32
 
33
33
  let WASM_VECTOR_LEN = 0;
34
34
 
35
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
35
+ const cachedTextEncoder = new TextEncoder();
36
36
 
37
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
38
- ? function (arg, view) {
39
- return cachedTextEncoder.encodeInto(arg, view);
37
+ if (!('encodeInto' in cachedTextEncoder)) {
38
+ cachedTextEncoder.encodeInto = function (arg, view) {
39
+ const buf = cachedTextEncoder.encode(arg);
40
+ view.set(buf);
41
+ return {
42
+ read: arg.length,
43
+ written: buf.length
44
+ };
45
+ }
40
46
  }
41
- : function (arg, view) {
42
- const buf = cachedTextEncoder.encode(arg);
43
- view.set(buf);
44
- return {
45
- read: arg.length,
46
- written: buf.length
47
- };
48
- });
49
47
 
50
48
  function passStringToWasm0(arg, malloc, realloc) {
51
49
 
@@ -76,7 +74,7 @@ function passStringToWasm0(arg, malloc, realloc) {
76
74
  }
77
75
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
78
76
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
79
- const ret = encodeString(arg, view);
77
+ const ret = cachedTextEncoder.encodeInto(arg, view);
80
78
 
81
79
  offset += ret.written;
82
80
  ptr = realloc(ptr, len, offset, 1) >>> 0;
@@ -119,37 +117,6 @@ function isLikeNone(x) {
119
117
  return x === undefined || x === null;
120
118
  }
121
119
 
122
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
123
- ? { register: () => {}, unregister: () => {} }
124
- : new FinalizationRegistry(state => {
125
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b)
126
- });
127
-
128
- function makeMutClosure(arg0, arg1, dtor, f) {
129
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
130
- const real = (...args) => {
131
- // First up with a closure we increment the internal reference
132
- // count. This ensures that the Rust closure environment won't
133
- // be deallocated while we're invoking it.
134
- state.cnt++;
135
- const a = state.a;
136
- state.a = 0;
137
- try {
138
- return f(a, state.b, ...args);
139
- } finally {
140
- if (--state.cnt === 0) {
141
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
142
- CLOSURE_DTORS.unregister(state);
143
- } else {
144
- state.a = a;
145
- }
146
- }
147
- };
148
- real.original = state;
149
- CLOSURE_DTORS.register(real, state, state);
150
- return real;
151
- }
152
-
153
120
  function debugString(val) {
154
121
  // primitive types
155
122
  const type = typeof val;
@@ -214,6 +181,40 @@ function debugString(val) {
214
181
  // TODO we could test for more things here, like `Set`s and `Map`s.
215
182
  return className;
216
183
  }
184
+
185
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
186
+ ? { register: () => {}, unregister: () => {} }
187
+ : new FinalizationRegistry(
188
+ state => {
189
+ wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
190
+ }
191
+ );
192
+
193
+ function makeMutClosure(arg0, arg1, dtor, f) {
194
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
195
+ const real = (...args) => {
196
+
197
+ // First up with a closure we increment the internal reference
198
+ // count. This ensures that the Rust closure environment won't
199
+ // be deallocated while we're invoking it.
200
+ state.cnt++;
201
+ const a = state.a;
202
+ state.a = 0;
203
+ try {
204
+ return f(a, state.b, ...args);
205
+ } finally {
206
+ if (--state.cnt === 0) {
207
+ wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
208
+ CLOSURE_DTORS.unregister(state);
209
+ } else {
210
+ state.a = a;
211
+ }
212
+ }
213
+ };
214
+ real.original = state;
215
+ CLOSURE_DTORS.register(real, state, state);
216
+ return real;
217
+ }
217
218
  /**
218
219
  * Create a new instance of the Cedarling application.
219
220
  * This function can take as config parameter the eather `Map` other `Object`
@@ -247,16 +248,16 @@ function _assertClass(instance, klass) {
247
248
  throw new Error(`expected instance of ${klass.name}`);
248
249
  }
249
250
  }
250
- function __wbg_adapter_48(arg0, arg1) {
251
- wasm.wasm_bindgen__convert__closures_____invoke__ha606d566df222057(arg0, arg1);
251
+ function __wbg_adapter_8(arg0, arg1) {
252
+ wasm.wasm_bindgen__convert__closures_____invoke__he6c7a67b2aad2b08(arg0, arg1);
252
253
  }
253
254
 
254
- function __wbg_adapter_51(arg0, arg1, arg2) {
255
- wasm.closure545_externref_shim(arg0, arg1, arg2);
255
+ function __wbg_adapter_13(arg0, arg1, arg2) {
256
+ wasm.closure549_externref_shim(arg0, arg1, arg2);
256
257
  }
257
258
 
258
- function __wbg_adapter_244(arg0, arg1, arg2, arg3) {
259
- wasm.closure1825_externref_shim(arg0, arg1, arg2, arg3);
259
+ function __wbg_adapter_212(arg0, arg1, arg2, arg3) {
260
+ wasm.closure1838_externref_shim(arg0, arg1, arg2, arg3);
260
261
  }
261
262
 
262
263
  const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
@@ -408,6 +409,7 @@ export class AuthorizeResult {
408
409
  return ret === 0 ? undefined : AuthorizeResultResponse.__wrap(ret);
409
410
  }
410
411
  }
412
+ if (Symbol.dispose) AuthorizeResult.prototype[Symbol.dispose] = AuthorizeResult.prototype.free;
411
413
 
412
414
  const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'undefined')
413
415
  ? { register: () => {}, unregister: () => {} }
@@ -454,6 +456,7 @@ export class AuthorizeResultResponse {
454
456
  return Diagnostics.__wrap(ret);
455
457
  }
456
458
  }
459
+ if (Symbol.dispose) AuthorizeResultResponse.prototype[Symbol.dispose] = AuthorizeResultResponse.prototype.free;
457
460
 
458
461
  const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
459
462
  ? { register: () => {}, unregister: () => {} }
@@ -622,6 +625,7 @@ export class Cedarling {
622
625
  return ret;
623
626
  }
624
627
  }
628
+ if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
625
629
 
626
630
  const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
627
631
  ? { register: () => {}, unregister: () => {} }
@@ -678,6 +682,7 @@ export class Diagnostics {
678
682
  return v1;
679
683
  }
680
684
  }
685
+ if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
681
686
 
682
687
  const JsJsonLogicFinalization = (typeof FinalizationRegistry === 'undefined')
683
688
  ? { register: () => {}, unregister: () => {} }
@@ -715,6 +720,7 @@ export class JsJsonLogic {
715
720
  return takeFromExternrefTable0(ret[0]);
716
721
  }
717
722
  }
723
+ if (Symbol.dispose) JsJsonLogic.prototype[Symbol.dispose] = JsJsonLogic.prototype.free;
718
724
 
719
725
  const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
720
726
  ? { register: () => {}, unregister: () => {} }
@@ -779,6 +785,7 @@ export class PolicyEvaluationError {
779
785
  }
780
786
  }
781
787
  }
788
+ if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEvaluationError.prototype.free;
782
789
 
783
790
  const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
784
791
 
@@ -818,10 +825,14 @@ async function __wbg_load(module, imports) {
818
825
  function __wbg_get_imports() {
819
826
  const imports = {};
820
827
  imports.wbg = {};
821
- imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
828
+ imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
822
829
  const ret = Error(getStringFromWasm0(arg0, arg1));
823
830
  return ret;
824
831
  };
832
+ imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) {
833
+ const ret = Number(arg0);
834
+ return ret;
835
+ };
825
836
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
826
837
  const ret = String(arg1);
827
838
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -829,16 +840,16 @@ function __wbg_get_imports() {
829
840
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
830
841
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
831
842
  };
832
- imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
843
+ imports.wbg.__wbg_abort_67e1b49bf6614565 = function(arg0) {
833
844
  arg0.abort();
834
845
  };
835
- imports.wbg.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
846
+ imports.wbg.__wbg_abort_d830bf2e9aa6ec5b = function(arg0, arg1) {
836
847
  arg0.abort(arg1);
837
848
  };
838
- imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
849
+ imports.wbg.__wbg_append_72a3c0addd2bce38 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
839
850
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
840
851
  }, arguments) };
841
- imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
852
+ imports.wbg.__wbg_arrayBuffer_9c99b8e2809e8cbb = function() { return handleError(function (arg0) {
842
853
  const ret = arg0.arrayBuffer();
843
854
  return ret;
844
855
  }, arguments) };
@@ -846,16 +857,12 @@ function __wbg_get_imports() {
846
857
  const ret = AuthorizeResult.__wrap(arg0);
847
858
  return ret;
848
859
  };
849
- imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
850
- const ret = arg0.buffer;
851
- return ret;
852
- };
853
- imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
854
- const ret = arg0.call(arg1, arg2);
860
+ imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
861
+ const ret = arg0.call(arg1);
855
862
  return ret;
856
863
  }, arguments) };
857
- imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
858
- const ret = arg0.call(arg1);
864
+ imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) {
865
+ const ret = arg0.call(arg1, arg2);
859
866
  return ret;
860
867
  }, arguments) };
861
868
  imports.wbg.__wbg_cedarling_new = function(arg0) {
@@ -870,25 +877,25 @@ function __wbg_get_imports() {
870
877
  const ret = arg0.crypto;
871
878
  return ret;
872
879
  };
873
- imports.wbg.__wbg_debug_d6b79b0bf4da29c2 = function(arg0) {
880
+ imports.wbg.__wbg_debug_3bc8bd5a0fc361c6 = function(arg0) {
874
881
  console.debug(...arg0);
875
882
  };
876
- imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
883
+ imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
877
884
  const ret = arg0.done;
878
885
  return ret;
879
886
  };
880
- imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
887
+ imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
881
888
  const ret = Object.entries(arg0);
882
889
  return ret;
883
890
  };
884
- imports.wbg.__wbg_entries_c951fa14164704e7 = function(arg0) {
891
+ imports.wbg.__wbg_entries_7a842f4caac72cb9 = function(arg0) {
885
892
  const ret = arg0.entries();
886
893
  return ret;
887
894
  };
888
- imports.wbg.__wbg_error_5cb390bc4013f9d1 = function(arg0) {
895
+ imports.wbg.__wbg_error_3e65ef00ce5a8b19 = function(arg0) {
889
896
  console.error(...arg0);
890
897
  };
891
- imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
898
+ imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
892
899
  const ret = arg0.fetch(arg1);
893
900
  return ret;
894
901
  };
@@ -896,45 +903,45 @@ function __wbg_get_imports() {
896
903
  const ret = fetch(arg0);
897
904
  return ret;
898
905
  };
899
- imports.wbg.__wbg_fromEntries_91e19ec7b6783aeb = function() { return handleError(function (arg0) {
906
+ imports.wbg.__wbg_fromEntries_90d06c670ebbfb45 = function() { return handleError(function (arg0) {
900
907
  const ret = Object.fromEntries(arg0);
901
908
  return ret;
902
909
  }, arguments) };
903
910
  imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
904
911
  arg0.getRandomValues(arg1);
905
912
  }, arguments) };
906
- imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
913
+ imports.wbg.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
907
914
  const ret = arg0.getTime();
908
915
  return ret;
909
916
  };
910
- imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
917
+ imports.wbg.__wbg_getTimezoneOffset_1e3ddc1382e7c8b0 = function(arg0) {
911
918
  const ret = arg0.getTimezoneOffset();
912
919
  return ret;
913
920
  };
914
- imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
915
- const ret = Reflect.get(arg0, arg1);
916
- return ret;
917
- }, arguments) };
918
- imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
921
+ imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
919
922
  const ret = arg0[arg1 >>> 0];
920
923
  return ret;
921
924
  };
925
+ imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
926
+ const ret = Reflect.get(arg0, arg1);
927
+ return ret;
928
+ }, arguments) };
922
929
  imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
923
930
  const ret = arg0[arg1];
924
931
  return ret;
925
932
  };
926
- imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
933
+ imports.wbg.__wbg_has_b89e451f638123e3 = function() { return handleError(function (arg0, arg1) {
927
934
  const ret = Reflect.has(arg0, arg1);
928
935
  return ret;
929
936
  }, arguments) };
930
- imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
937
+ imports.wbg.__wbg_headers_29fec3c72865cd75 = function(arg0) {
931
938
  const ret = arg0.headers;
932
939
  return ret;
933
940
  };
934
- imports.wbg.__wbg_info_6bba09377e5a3490 = function(arg0) {
941
+ imports.wbg.__wbg_info_8fdedfc14c52e0d2 = function(arg0) {
935
942
  console.info(...arg0);
936
943
  };
937
- imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
944
+ imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
938
945
  let result;
939
946
  try {
940
947
  result = arg0 instanceof ArrayBuffer;
@@ -944,7 +951,7 @@ function __wbg_get_imports() {
944
951
  const ret = result;
945
952
  return ret;
946
953
  };
947
- imports.wbg.__wbg_instanceof_Array_b740b533930f065b = function(arg0) {
954
+ imports.wbg.__wbg_instanceof_Array_0b7383f4189e69c2 = function(arg0) {
948
955
  let result;
949
956
  try {
950
957
  result = arg0 instanceof Array;
@@ -954,7 +961,7 @@ function __wbg_get_imports() {
954
961
  const ret = result;
955
962
  return ret;
956
963
  };
957
- imports.wbg.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
964
+ imports.wbg.__wbg_instanceof_Map_ebb01a5b6b5ffd0b = function(arg0) {
958
965
  let result;
959
966
  try {
960
967
  result = arg0 instanceof Map;
@@ -964,7 +971,7 @@ function __wbg_get_imports() {
964
971
  const ret = result;
965
972
  return ret;
966
973
  };
967
- imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
974
+ imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function(arg0) {
968
975
  let result;
969
976
  try {
970
977
  result = arg0 instanceof Response;
@@ -974,7 +981,7 @@ function __wbg_get_imports() {
974
981
  const ret = result;
975
982
  return ret;
976
983
  };
977
- imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
984
+ imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
978
985
  let result;
979
986
  try {
980
987
  result = arg0 instanceof Uint8Array;
@@ -984,73 +991,57 @@ function __wbg_get_imports() {
984
991
  const ret = result;
985
992
  return ret;
986
993
  };
987
- imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
994
+ imports.wbg.__wbg_isArray_030cce220591fb41 = function(arg0) {
988
995
  const ret = Array.isArray(arg0);
989
996
  return ret;
990
997
  };
991
- imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
998
+ imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
992
999
  const ret = Number.isSafeInteger(arg0);
993
1000
  return ret;
994
1001
  };
995
- imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
1002
+ imports.wbg.__wbg_iterator_f370b34483c71a1c = function() {
996
1003
  const ret = Symbol.iterator;
997
1004
  return ret;
998
1005
  };
999
- imports.wbg.__wbg_keys_42062809bf87339e = function(arg0) {
1006
+ imports.wbg.__wbg_keys_ef52390b2ae0e714 = function(arg0) {
1000
1007
  const ret = Object.keys(arg0);
1001
1008
  return ret;
1002
1009
  };
1003
- imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
1010
+ imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
1004
1011
  const ret = arg0.length;
1005
1012
  return ret;
1006
1013
  };
1007
- imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
1014
+ imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
1008
1015
  const ret = arg0.length;
1009
1016
  return ret;
1010
1017
  };
1011
- imports.wbg.__wbg_log_7e417898f19eba17 = function(arg0) {
1018
+ imports.wbg.__wbg_log_77195989eb27ffe5 = function(arg0) {
1012
1019
  console.log(...arg0);
1013
1020
  };
1014
1021
  imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
1015
1022
  const ret = arg0.msCrypto;
1016
1023
  return ret;
1017
1024
  };
1018
- imports.wbg.__wbg_new0_97314565408dea38 = function() {
1025
+ imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
1019
1026
  const ret = new Date();
1020
1027
  return ret;
1021
1028
  };
1022
- imports.wbg.__wbg_new_07b483f72211fd66 = function() {
1029
+ imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
1023
1030
  const ret = new Object();
1024
1031
  return ret;
1025
1032
  };
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 () {
1031
- const ret = new Headers();
1032
- return ret;
1033
- }, arguments) };
1034
- imports.wbg.__wbg_new_58353953ad2097cc = function() {
1033
+ imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
1035
1034
  const ret = new Array();
1036
1035
  return ret;
1037
1036
  };
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) {
1037
+ imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
1047
1038
  try {
1048
1039
  var state0 = {a: arg0, b: arg1};
1049
1040
  var cb0 = (arg0, arg1) => {
1050
1041
  const a = state0.a;
1051
1042
  state0.a = 0;
1052
1043
  try {
1053
- return __wbg_adapter_244(a, state0.b, arg0, arg1);
1044
+ return __wbg_adapter_212(a, state0.b, arg0, arg1);
1054
1045
  } finally {
1055
1046
  state0.a = a;
1056
1047
  }
@@ -1061,39 +1052,51 @@ function __wbg_get_imports() {
1061
1052
  state0.a = state0.b = 0;
1062
1053
  }
1063
1054
  };
1064
- imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
1055
+ imports.wbg.__wbg_new_2ff1f68f3676ea53 = function() {
1056
+ const ret = new Map();
1057
+ return ret;
1058
+ };
1059
+ imports.wbg.__wbg_new_5a2ae4557f92b50e = function(arg0) {
1060
+ const ret = new Date(arg0);
1061
+ return ret;
1062
+ };
1063
+ imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
1065
1064
  const ret = new Uint8Array(arg0);
1066
1065
  return ret;
1067
1066
  };
1068
- imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
1067
+ imports.wbg.__wbg_new_66b9434b4e59b63e = function() { return handleError(function () {
1068
+ const ret = new AbortController();
1069
+ return ret;
1070
+ }, arguments) };
1071
+ imports.wbg.__wbg_new_f6e53210afea8e45 = function() { return handleError(function () {
1072
+ const ret = new Headers();
1073
+ return ret;
1074
+ }, arguments) };
1075
+ imports.wbg.__wbg_newfromslice_074c56947bd43469 = function(arg0, arg1) {
1069
1076
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1070
1077
  return ret;
1071
1078
  };
1072
- imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
1079
+ imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
1073
1080
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1074
1081
  return ret;
1075
1082
  };
1076
- imports.wbg.__wbg_newwithargs_17a05078fc85d3aa = function(arg0, arg1, arg2, arg3) {
1083
+ imports.wbg.__wbg_newwithargs_b8065bb443501079 = function(arg0, arg1, arg2, arg3) {
1077
1084
  const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
1078
1085
  return ret;
1079
1086
  };
1080
- imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
1081
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1082
- return ret;
1083
- };
1084
- imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
1087
+ imports.wbg.__wbg_newwithlength_a167dcc7aaa3ba77 = function(arg0) {
1085
1088
  const ret = new Uint8Array(arg0 >>> 0);
1086
1089
  return ret;
1087
1090
  };
1088
- imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
1091
+ imports.wbg.__wbg_newwithstrandinit_b5d168a29a3fd85f = function() { return handleError(function (arg0, arg1, arg2) {
1089
1092
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1090
1093
  return ret;
1091
1094
  }, arguments) };
1092
- imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
1095
+ imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) {
1093
1096
  const ret = arg0.next;
1094
1097
  return ret;
1095
1098
  };
1096
- imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
1099
+ imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
1097
1100
  const ret = arg0.next();
1098
1101
  return ret;
1099
1102
  }, arguments) };
@@ -1109,14 +1112,17 @@ function __wbg_get_imports() {
1109
1112
  const ret = arg0.process;
1110
1113
  return ret;
1111
1114
  };
1112
- imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
1115
+ imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
1116
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1117
+ };
1118
+ imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
1113
1119
  const ret = arg0.push(arg1);
1114
1120
  return ret;
1115
1121
  };
1116
- imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
1122
+ imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) {
1117
1123
  queueMicrotask(arg0);
1118
1124
  };
1119
- imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
1125
+ imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) {
1120
1126
  const ret = arg0.queueMicrotask;
1121
1127
  return ret;
1122
1128
  };
@@ -1127,7 +1133,7 @@ function __wbg_get_imports() {
1127
1133
  const ret = module.require;
1128
1134
  return ret;
1129
1135
  }, arguments) };
1130
- imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
1136
+ imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
1131
1137
  const ret = Promise.resolve(arg0);
1132
1138
  return ret;
1133
1139
  };
@@ -1138,96 +1144,93 @@ function __wbg_get_imports() {
1138
1144
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
1139
1145
  arg0[arg1] = arg2;
1140
1146
  };
1141
- imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
1142
- arg0[arg1 >>> 0] = arg2;
1143
- };
1144
- imports.wbg.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
1147
+ imports.wbg.__wbg_set_453345bcda80b89a = function() { return handleError(function (arg0, arg1, arg2) {
1145
1148
  const ret = Reflect.set(arg0, arg1, arg2);
1146
1149
  return ret;
1147
1150
  }, arguments) };
1148
- imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
1151
+ imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) {
1152
+ arg0[arg1 >>> 0] = arg2;
1153
+ };
1154
+ imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
1149
1155
  const ret = arg0.set(arg1, arg2);
1150
1156
  return ret;
1151
1157
  };
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) {
1158
+ imports.wbg.__wbg_setbody_c8460bdf44147df8 = function(arg0, arg1) {
1156
1159
  arg0.body = arg1;
1157
1160
  };
1158
- imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
1161
+ imports.wbg.__wbg_setcache_90ca4ad8a8ad40d3 = function(arg0, arg1) {
1159
1162
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
1160
1163
  };
1161
- imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
1164
+ imports.wbg.__wbg_setcredentials_9cd60d632c9d5dfc = function(arg0, arg1) {
1162
1165
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1163
1166
  };
1164
- imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
1167
+ imports.wbg.__wbg_setheaders_0052283e2f3503d1 = function(arg0, arg1) {
1165
1168
  arg0.headers = arg1;
1166
1169
  };
1167
- imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
1170
+ imports.wbg.__wbg_setmethod_9b504d5b855b329c = function(arg0, arg1, arg2) {
1168
1171
  arg0.method = getStringFromWasm0(arg1, arg2);
1169
1172
  };
1170
- imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
1173
+ imports.wbg.__wbg_setmode_a23e1a2ad8b512f8 = function(arg0, arg1) {
1171
1174
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1172
1175
  };
1173
- imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
1176
+ imports.wbg.__wbg_setsignal_8c45ad1247a74809 = function(arg0, arg1) {
1174
1177
  arg0.signal = arg1;
1175
1178
  };
1176
- imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
1179
+ imports.wbg.__wbg_signal_da4d466ce86118b5 = function(arg0) {
1177
1180
  const ret = arg0.signal;
1178
1181
  return ret;
1179
1182
  };
1180
- imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
1183
+ imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
1181
1184
  const ret = typeof global === 'undefined' ? null : global;
1182
1185
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1183
1186
  };
1184
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
1187
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
1185
1188
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1186
1189
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1187
1190
  };
1188
- imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
1191
+ imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
1189
1192
  const ret = typeof self === 'undefined' ? null : self;
1190
1193
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1191
1194
  };
1192
- imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
1195
+ imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
1193
1196
  const ret = typeof window === 'undefined' ? null : window;
1194
1197
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1195
1198
  };
1196
- imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
1199
+ imports.wbg.__wbg_status_3fea3036088621d6 = function(arg0) {
1197
1200
  const ret = arg0.status;
1198
1201
  return ret;
1199
1202
  };
1200
- imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
1203
+ imports.wbg.__wbg_stringify_b98c93d0a190446a = function() { return handleError(function (arg0) {
1201
1204
  const ret = JSON.stringify(arg0);
1202
1205
  return ret;
1203
1206
  }, arguments) };
1204
- imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
1207
+ imports.wbg.__wbg_subarray_70fd07feefe14294 = function(arg0, arg1, arg2) {
1205
1208
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1206
1209
  return ret;
1207
1210
  };
1208
- imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
1211
+ imports.wbg.__wbg_text_0f69a215637b9b34 = function() { return handleError(function (arg0) {
1209
1212
  const ret = arg0.text();
1210
1213
  return ret;
1211
1214
  }, arguments) };
1212
- imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
1215
+ imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) {
1213
1216
  const ret = arg0.then(arg1, arg2);
1214
1217
  return ret;
1215
1218
  };
1216
- imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
1219
+ imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) {
1217
1220
  const ret = arg0.then(arg1);
1218
1221
  return ret;
1219
1222
  };
1220
- imports.wbg.__wbg_trace_f1ea3a49486fac2c = function(arg0) {
1223
+ imports.wbg.__wbg_trace_fe562a020dec3e6f = function(arg0) {
1221
1224
  console.trace(...arg0);
1222
1225
  };
1223
- imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
1226
+ imports.wbg.__wbg_url_e5720dfacf77b05e = function(arg0, arg1) {
1224
1227
  const ret = arg1.url;
1225
1228
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1226
1229
  const len1 = WASM_VECTOR_LEN;
1227
1230
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1228
1231
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1229
1232
  };
1230
- imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
1233
+ imports.wbg.__wbg_value_dd9372230531eade = function(arg0) {
1231
1234
  const ret = arg0.value;
1232
1235
  return ret;
1233
1236
  };
@@ -1235,29 +1238,21 @@ function __wbg_get_imports() {
1235
1238
  const ret = arg0.versions;
1236
1239
  return ret;
1237
1240
  };
1238
- imports.wbg.__wbg_warn_c6a0f82186237bfa = function(arg0) {
1241
+ imports.wbg.__wbg_warn_3e0e93af109bb736 = function(arg0) {
1239
1242
  console.warn(...arg0);
1240
1243
  };
1241
- imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
1242
- const ret = arg0;
1243
- return ret;
1244
- };
1245
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
1246
- const ret = BigInt.asUintN(64, arg0);
1247
- return ret;
1248
- };
1249
- imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
1244
+ imports.wbg.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) {
1250
1245
  const v = arg1;
1251
1246
  const ret = typeof(v) === 'bigint' ? v : undefined;
1252
1247
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1253
1248
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1254
1249
  };
1255
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
1250
+ imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
1256
1251
  const v = arg0;
1257
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1258
- return ret;
1252
+ const ret = typeof(v) === 'boolean' ? v : undefined;
1253
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1259
1254
  };
1260
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
1255
+ imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) {
1261
1256
  const obj = arg0.original;
1262
1257
  if (obj.cnt-- == 1) {
1263
1258
  obj.a = 0;
@@ -1266,79 +1261,53 @@ function __wbg_get_imports() {
1266
1261
  const ret = false;
1267
1262
  return ret;
1268
1263
  };
1269
- imports.wbg.__wbindgen_closure_wrapper3948 = function(arg0, arg1, arg2) {
1270
- const ret = makeMutClosure(arg0, arg1, 498, __wbg_adapter_48);
1271
- return ret;
1272
- };
1273
- imports.wbg.__wbindgen_closure_wrapper4097 = function(arg0, arg1, arg2) {
1274
- const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_51);
1275
- return ret;
1276
- };
1277
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
1264
+ imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
1278
1265
  const ret = debugString(arg1);
1279
1266
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1280
1267
  const len1 = WASM_VECTOR_LEN;
1281
1268
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1282
1269
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1283
1270
  };
1284
- imports.wbg.__wbindgen_in = function(arg0, arg1) {
1271
+ imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
1285
1272
  const ret = arg0 in arg1;
1286
1273
  return ret;
1287
1274
  };
1288
- imports.wbg.__wbindgen_init_externref_table = function() {
1289
- const table = wasm.__wbindgen_export_4;
1290
- const offset = table.grow(4);
1291
- table.set(0, undefined);
1292
- table.set(offset + 0, undefined);
1293
- table.set(offset + 1, null);
1294
- table.set(offset + 2, true);
1295
- table.set(offset + 3, false);
1296
- ;
1297
- };
1298
- imports.wbg.__wbindgen_is_bigint = function(arg0) {
1275
+ imports.wbg.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) {
1299
1276
  const ret = typeof(arg0) === 'bigint';
1300
1277
  return ret;
1301
1278
  };
1302
- imports.wbg.__wbindgen_is_function = function(arg0) {
1279
+ imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
1303
1280
  const ret = typeof(arg0) === 'function';
1304
1281
  return ret;
1305
1282
  };
1306
- imports.wbg.__wbindgen_is_object = function(arg0) {
1283
+ imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
1307
1284
  const val = arg0;
1308
1285
  const ret = typeof(val) === 'object' && val !== null;
1309
1286
  return ret;
1310
1287
  };
1311
- imports.wbg.__wbindgen_is_string = function(arg0) {
1288
+ imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
1312
1289
  const ret = typeof(arg0) === 'string';
1313
1290
  return ret;
1314
1291
  };
1315
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
1292
+ imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
1316
1293
  const ret = arg0 === undefined;
1317
1294
  return ret;
1318
1295
  };
1319
- imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
1296
+ imports.wbg.__wbg_wbindgenjsvaleq_e6f2ad59ccae1b58 = function(arg0, arg1) {
1320
1297
  const ret = arg0 === arg1;
1321
1298
  return ret;
1322
1299
  };
1323
- imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
1300
+ imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
1324
1301
  const ret = arg0 == arg1;
1325
1302
  return ret;
1326
1303
  };
1327
- imports.wbg.__wbindgen_memory = function() {
1328
- const ret = wasm.memory;
1329
- return ret;
1330
- };
1331
- imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
1304
+ imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
1332
1305
  const obj = arg1;
1333
1306
  const ret = typeof(obj) === 'number' ? obj : undefined;
1334
1307
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1335
1308
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1336
1309
  };
1337
- imports.wbg.__wbindgen_number_new = function(arg0) {
1338
- const ret = arg0;
1339
- return ret;
1340
- };
1341
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
1310
+ imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
1342
1311
  const obj = arg1;
1343
1312
  const ret = typeof(obj) === 'string' ? obj : undefined;
1344
1313
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1346,12 +1315,53 @@ function __wbg_get_imports() {
1346
1315
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1347
1316
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1348
1317
  };
1349
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
1318
+ imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
1319
+ throw new Error(getStringFromWasm0(arg0, arg1));
1320
+ };
1321
+ imports.wbg.__wbindgen_cast_18ca959934895024 = function(arg0, arg1) {
1322
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 504, function: Function { arguments: [], shim_idx: 505, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1323
+ const ret = makeMutClosure(arg0, arg1, 504, __wbg_adapter_8);
1324
+ return ret;
1325
+ };
1326
+ imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
1327
+ // Cast intrinsic for `Ref(String) -> Externref`.
1350
1328
  const ret = getStringFromWasm0(arg0, arg1);
1351
1329
  return ret;
1352
1330
  };
1353
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
1354
- throw new Error(getStringFromWasm0(arg0, arg1));
1331
+ imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
1332
+ // Cast intrinsic for `U64 -> Externref`.
1333
+ const ret = BigInt.asUintN(64, arg0);
1334
+ return ret;
1335
+ };
1336
+ imports.wbg.__wbindgen_cast_777e541acebb07c2 = function(arg0, arg1) {
1337
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 548, function: Function { arguments: [Externref], shim_idx: 549, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1338
+ const ret = makeMutClosure(arg0, arg1, 548, __wbg_adapter_13);
1339
+ return ret;
1340
+ };
1341
+ imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
1342
+ // Cast intrinsic for `I64 -> Externref`.
1343
+ const ret = arg0;
1344
+ return ret;
1345
+ };
1346
+ imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
1347
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1348
+ const ret = getArrayU8FromWasm0(arg0, arg1);
1349
+ return ret;
1350
+ };
1351
+ imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
1352
+ // Cast intrinsic for `F64 -> Externref`.
1353
+ const ret = arg0;
1354
+ return ret;
1355
+ };
1356
+ imports.wbg.__wbindgen_init_externref_table = function() {
1357
+ const table = wasm.__wbindgen_export_4;
1358
+ const offset = table.grow(4);
1359
+ table.set(0, undefined);
1360
+ table.set(offset + 0, undefined);
1361
+ table.set(offset + 1, null);
1362
+ table.set(offset + 2, true);
1363
+ table.set(offset + 3, false);
1364
+ ;
1355
1365
  };
1356
1366
 
1357
1367
  return imports;
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.11.0",
5
+ "version": "1.12.0",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",