@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.
- package/cedarling_wasm.d.ts +3 -3
- package/cedarling_wasm.js +157 -132
- 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__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
|
|
234
|
-
wasm.
|
|
250
|
+
function __wbg_adapter_48(arg0, arg1) {
|
|
251
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hf135e9bd71abb1bc(arg0, arg1);
|
|
235
252
|
}
|
|
236
253
|
|
|
237
|
-
function
|
|
238
|
-
wasm.
|
|
254
|
+
function __wbg_adapter_51(arg0, arg1, arg2) {
|
|
255
|
+
wasm.closure541_externref_shim(arg0, arg1, arg2);
|
|
239
256
|
}
|
|
240
257
|
|
|
241
|
-
function
|
|
242
|
-
wasm.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
849
|
+
imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
|
825
850
|
const ret = arg0.buffer;
|
|
826
851
|
return ret;
|
|
827
852
|
};
|
|
828
|
-
imports.wbg.
|
|
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.
|
|
833
|
-
const ret = arg0.call(arg1
|
|
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.
|
|
873
|
+
imports.wbg.__wbg_debug_d6b79b0bf4da29c2 = function(arg0) {
|
|
849
874
|
console.debug(...arg0);
|
|
850
875
|
};
|
|
851
|
-
imports.wbg.
|
|
876
|
+
imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
|
|
852
877
|
const ret = arg0.done;
|
|
853
878
|
return ret;
|
|
854
879
|
};
|
|
855
|
-
imports.wbg.
|
|
880
|
+
imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
|
|
856
881
|
const ret = Object.entries(arg0);
|
|
857
882
|
return ret;
|
|
858
883
|
};
|
|
859
|
-
imports.wbg.
|
|
884
|
+
imports.wbg.__wbg_entries_c951fa14164704e7 = function(arg0) {
|
|
860
885
|
const ret = arg0.entries();
|
|
861
886
|
return ret;
|
|
862
887
|
};
|
|
863
|
-
imports.wbg.
|
|
888
|
+
imports.wbg.__wbg_error_5cb390bc4013f9d1 = function(arg0) {
|
|
864
889
|
console.error(...arg0);
|
|
865
890
|
};
|
|
866
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
906
|
+
imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
|
|
882
907
|
const ret = arg0.getTime();
|
|
883
908
|
return ret;
|
|
884
909
|
};
|
|
885
|
-
imports.wbg.
|
|
910
|
+
imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
|
|
886
911
|
const ret = arg0.getTimezoneOffset();
|
|
887
912
|
return ret;
|
|
888
913
|
};
|
|
889
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
930
|
+
imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
|
|
906
931
|
const ret = arg0.headers;
|
|
907
932
|
return ret;
|
|
908
933
|
};
|
|
909
|
-
imports.wbg.
|
|
934
|
+
imports.wbg.__wbg_info_6bba09377e5a3490 = function(arg0) {
|
|
910
935
|
console.info(...arg0);
|
|
911
936
|
};
|
|
912
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
987
|
+
imports.wbg.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
|
|
963
988
|
const ret = Array.isArray(arg0);
|
|
964
989
|
return ret;
|
|
965
990
|
};
|
|
966
|
-
imports.wbg.
|
|
991
|
+
imports.wbg.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
|
|
967
992
|
const ret = Number.isSafeInteger(arg0);
|
|
968
993
|
return ret;
|
|
969
994
|
};
|
|
970
|
-
imports.wbg.
|
|
995
|
+
imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
|
|
971
996
|
const ret = Symbol.iterator;
|
|
972
997
|
return ret;
|
|
973
998
|
};
|
|
974
|
-
imports.wbg.
|
|
999
|
+
imports.wbg.__wbg_keys_42062809bf87339e = function(arg0) {
|
|
975
1000
|
const ret = Object.keys(arg0);
|
|
976
1001
|
return ret;
|
|
977
1002
|
};
|
|
978
|
-
imports.wbg.
|
|
1003
|
+
imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
|
|
979
1004
|
const ret = arg0.length;
|
|
980
1005
|
return ret;
|
|
981
1006
|
};
|
|
982
|
-
imports.wbg.
|
|
1007
|
+
imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
|
|
983
1008
|
const ret = arg0.length;
|
|
984
1009
|
return ret;
|
|
985
1010
|
};
|
|
986
|
-
imports.wbg.
|
|
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.
|
|
1018
|
+
imports.wbg.__wbg_new0_97314565408dea38 = function() {
|
|
994
1019
|
const ret = new Date();
|
|
995
1020
|
return ret;
|
|
996
1021
|
};
|
|
997
|
-
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 () {
|
|
998
1031
|
const ret = new Headers();
|
|
999
1032
|
return ret;
|
|
1000
1033
|
}, arguments) };
|
|
1001
|
-
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) {
|
|
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
|
|
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.
|
|
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.
|
|
1040
|
-
const ret = new
|
|
1068
|
+
imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
|
|
1069
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1041
1070
|
return ret;
|
|
1042
|
-
}
|
|
1043
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1092
|
+
imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
|
|
1064
1093
|
const ret = arg0.next;
|
|
1065
1094
|
return ret;
|
|
1066
1095
|
};
|
|
1067
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
1116
|
+
imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
|
|
1088
1117
|
queueMicrotask(arg0);
|
|
1089
1118
|
};
|
|
1090
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
1116
|
-
arg0
|
|
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.
|
|
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.
|
|
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.
|
|
1158
|
+
imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
|
|
1130
1159
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1131
1160
|
};
|
|
1132
|
-
imports.wbg.
|
|
1161
|
+
imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
|
|
1133
1162
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1134
1163
|
};
|
|
1135
|
-
imports.wbg.
|
|
1164
|
+
imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
|
|
1136
1165
|
arg0.headers = arg1;
|
|
1137
1166
|
};
|
|
1138
|
-
imports.wbg.
|
|
1167
|
+
imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
|
|
1139
1168
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1140
1169
|
};
|
|
1141
|
-
imports.wbg.
|
|
1170
|
+
imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
|
|
1142
1171
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1143
1172
|
};
|
|
1144
|
-
imports.wbg.
|
|
1173
|
+
imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
|
|
1145
1174
|
arg0.signal = arg1;
|
|
1146
1175
|
};
|
|
1147
|
-
imports.wbg.
|
|
1176
|
+
imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
|
|
1148
1177
|
const ret = arg0.signal;
|
|
1149
1178
|
return ret;
|
|
1150
1179
|
};
|
|
1151
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1196
|
+
imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
|
|
1168
1197
|
const ret = arg0.status;
|
|
1169
1198
|
return ret;
|
|
1170
1199
|
};
|
|
1171
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1188
|
-
const ret = arg0.then(arg1
|
|
1216
|
+
imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
|
|
1217
|
+
const ret = arg0.then(arg1);
|
|
1189
1218
|
return ret;
|
|
1190
1219
|
};
|
|
1191
|
-
imports.wbg.
|
|
1220
|
+
imports.wbg.__wbg_trace_f1ea3a49486fac2c = function(arg0) {
|
|
1192
1221
|
console.trace(...arg0);
|
|
1193
1222
|
};
|
|
1194
|
-
imports.wbg.
|
|
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.
|
|
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.
|
|
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.
|
|
1241
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
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.
|
|
1245
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
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;
|
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": "0.0.
|
|
5
|
+
"version": "0.0.216",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|