@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.
- package/cedarling_wasm.d.ts +3 -3
- package/cedarling_wasm.js +164 -134
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/cedarling_wasm.d.ts
CHANGED
|
@@ -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
|
|
224
|
-
readonly
|
|
225
|
-
readonly
|
|
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
|
|
234
|
-
wasm.
|
|
250
|
+
function __wbg_adapter_48(arg0, arg1) {
|
|
251
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha606d566df222057(arg0, arg1);
|
|
235
252
|
}
|
|
236
253
|
|
|
237
|
-
function
|
|
238
|
-
wasm.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
849
|
+
imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
|
823
850
|
const ret = arg0.buffer;
|
|
824
851
|
return ret;
|
|
825
852
|
};
|
|
826
|
-
imports.wbg.
|
|
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.
|
|
831
|
-
const ret = arg0.call(arg1
|
|
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.
|
|
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.
|
|
873
|
+
imports.wbg.__wbg_debug_d6b79b0bf4da29c2 = function(arg0) {
|
|
847
874
|
console.debug(...arg0);
|
|
848
875
|
};
|
|
849
|
-
imports.wbg.
|
|
876
|
+
imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
|
|
850
877
|
const ret = arg0.done;
|
|
851
878
|
return ret;
|
|
852
879
|
};
|
|
853
|
-
imports.wbg.
|
|
880
|
+
imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
|
|
854
881
|
const ret = Object.entries(arg0);
|
|
855
882
|
return ret;
|
|
856
883
|
};
|
|
857
|
-
imports.wbg.
|
|
884
|
+
imports.wbg.__wbg_entries_c951fa14164704e7 = function(arg0) {
|
|
858
885
|
const ret = arg0.entries();
|
|
859
886
|
return ret;
|
|
860
887
|
};
|
|
861
|
-
imports.wbg.
|
|
888
|
+
imports.wbg.__wbg_error_5cb390bc4013f9d1 = function(arg0) {
|
|
862
889
|
console.error(...arg0);
|
|
863
890
|
};
|
|
864
|
-
imports.wbg.
|
|
865
|
-
const ret = fetch(
|
|
891
|
+
imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
|
|
892
|
+
const ret = arg0.fetch(arg1);
|
|
866
893
|
return ret;
|
|
867
894
|
};
|
|
868
|
-
imports.wbg.
|
|
869
|
-
const ret =
|
|
895
|
+
imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
896
|
+
const ret = fetch(arg0);
|
|
870
897
|
return ret;
|
|
871
898
|
};
|
|
872
|
-
imports.wbg.
|
|
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.
|
|
906
|
+
imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
|
|
880
907
|
const ret = arg0.getTime();
|
|
881
908
|
return ret;
|
|
882
909
|
};
|
|
883
|
-
imports.wbg.
|
|
910
|
+
imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
|
|
884
911
|
const ret = arg0.getTimezoneOffset();
|
|
885
912
|
return ret;
|
|
886
913
|
};
|
|
887
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
930
|
+
imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
|
|
904
931
|
const ret = arg0.headers;
|
|
905
932
|
return ret;
|
|
906
933
|
};
|
|
907
|
-
imports.wbg.
|
|
934
|
+
imports.wbg.__wbg_info_6bba09377e5a3490 = function(arg0) {
|
|
908
935
|
console.info(...arg0);
|
|
909
936
|
};
|
|
910
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
987
|
+
imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
|
|
961
988
|
const ret = Array.isArray(arg0);
|
|
962
989
|
return ret;
|
|
963
990
|
};
|
|
964
|
-
imports.wbg.
|
|
991
|
+
imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
|
|
965
992
|
const ret = Number.isSafeInteger(arg0);
|
|
966
993
|
return ret;
|
|
967
994
|
};
|
|
968
|
-
imports.wbg.
|
|
995
|
+
imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
|
|
969
996
|
const ret = Symbol.iterator;
|
|
970
997
|
return ret;
|
|
971
998
|
};
|
|
972
|
-
imports.wbg.
|
|
999
|
+
imports.wbg.__wbg_keys_42062809bf87339e = function(arg0) {
|
|
973
1000
|
const ret = Object.keys(arg0);
|
|
974
1001
|
return ret;
|
|
975
1002
|
};
|
|
976
|
-
imports.wbg.
|
|
1003
|
+
imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
|
|
977
1004
|
const ret = arg0.length;
|
|
978
1005
|
return ret;
|
|
979
1006
|
};
|
|
980
|
-
imports.wbg.
|
|
1007
|
+
imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
|
|
981
1008
|
const ret = arg0.length;
|
|
982
1009
|
return ret;
|
|
983
1010
|
};
|
|
984
|
-
imports.wbg.
|
|
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.
|
|
1018
|
+
imports.wbg.__wbg_new0_97314565408dea38 = function() {
|
|
992
1019
|
const ret = new Date();
|
|
993
1020
|
return ret;
|
|
994
1021
|
};
|
|
995
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
1038
|
-
const ret = new
|
|
1068
|
+
imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
|
|
1069
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1039
1070
|
return ret;
|
|
1040
|
-
}
|
|
1041
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1092
|
+
imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
|
|
1062
1093
|
const ret = arg0.next;
|
|
1063
1094
|
return ret;
|
|
1064
1095
|
};
|
|
1065
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
1116
|
+
imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
|
|
1086
1117
|
queueMicrotask(arg0);
|
|
1087
1118
|
};
|
|
1088
|
-
imports.wbg.
|
|
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.
|
|
1130
|
+
imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
|
|
1100
1131
|
const ret = Promise.resolve(arg0);
|
|
1101
1132
|
return ret;
|
|
1102
1133
|
};
|
|
1103
|
-
imports.wbg.
|
|
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.
|
|
1114
|
-
arg0
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1164
|
+
imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
|
|
1131
1165
|
arg0.headers = arg1;
|
|
1132
1166
|
};
|
|
1133
|
-
imports.wbg.
|
|
1167
|
+
imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
|
|
1134
1168
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1135
1169
|
};
|
|
1136
|
-
imports.wbg.
|
|
1170
|
+
imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
|
|
1137
1171
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1138
1172
|
};
|
|
1139
|
-
imports.wbg.
|
|
1173
|
+
imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
|
|
1140
1174
|
arg0.signal = arg1;
|
|
1141
1175
|
};
|
|
1142
|
-
imports.wbg.
|
|
1176
|
+
imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
|
|
1143
1177
|
const ret = arg0.signal;
|
|
1144
1178
|
return ret;
|
|
1145
1179
|
};
|
|
1146
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1196
|
+
imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
|
|
1163
1197
|
const ret = arg0.status;
|
|
1164
1198
|
return ret;
|
|
1165
1199
|
};
|
|
1166
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1183
|
-
const ret = arg0.then(arg1
|
|
1216
|
+
imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
|
|
1217
|
+
const ret = arg0.then(arg1);
|
|
1184
1218
|
return ret;
|
|
1185
1219
|
};
|
|
1186
|
-
imports.wbg.
|
|
1220
|
+
imports.wbg.__wbg_trace_f1ea3a49486fac2c = function(arg0) {
|
|
1187
1221
|
console.trace(...arg0);
|
|
1188
1222
|
};
|
|
1189
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
1236
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
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.
|
|
1240
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
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;
|
package/cedarling_wasm_bg.wasm
CHANGED
|
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.
|
|
5
|
+
"version": "1.11.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|