@janssenproject/cedarling_wasm 0.0.215-nodejs → 0.0.216-nodejs
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.js +153 -139
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/cedarling_wasm.js
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
let imports = {};
|
|
3
3
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
4
4
|
let wasm;
|
|
5
|
-
const {
|
|
6
|
-
|
|
7
|
-
let WASM_VECTOR_LEN = 0;
|
|
5
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
8
6
|
|
|
9
7
|
let cachedUint8ArrayMemory0 = null;
|
|
10
8
|
|
|
@@ -15,7 +13,22 @@ function getUint8ArrayMemory0() {
|
|
|
15
13
|
return cachedUint8ArrayMemory0;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
|
-
let
|
|
16
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
17
|
+
|
|
18
|
+
cachedTextDecoder.decode();
|
|
19
|
+
|
|
20
|
+
function decodeText(ptr, len) {
|
|
21
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function getStringFromWasm0(ptr, len) {
|
|
25
|
+
ptr = ptr >>> 0;
|
|
26
|
+
return decodeText(ptr, len);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
let WASM_VECTOR_LEN = 0;
|
|
30
|
+
|
|
31
|
+
const cachedTextEncoder = new TextEncoder('utf-8');
|
|
19
32
|
|
|
20
33
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
21
34
|
? function (arg, view) {
|
|
@@ -78,15 +91,6 @@ function getDataViewMemory0() {
|
|
|
78
91
|
return cachedDataViewMemory0;
|
|
79
92
|
}
|
|
80
93
|
|
|
81
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
82
|
-
|
|
83
|
-
cachedTextDecoder.decode();
|
|
84
|
-
|
|
85
|
-
function getStringFromWasm0(ptr, len) {
|
|
86
|
-
ptr = ptr >>> 0;
|
|
87
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
94
|
function addToExternrefTable0(obj) {
|
|
91
95
|
const idx = wasm.__externref_table_alloc();
|
|
92
96
|
wasm.__wbindgen_export_4.set(idx, obj);
|
|
@@ -102,6 +106,11 @@ function handleError(f, args) {
|
|
|
102
106
|
}
|
|
103
107
|
}
|
|
104
108
|
|
|
109
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
110
|
+
ptr = ptr >>> 0;
|
|
111
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
112
|
+
}
|
|
113
|
+
|
|
105
114
|
function isLikeNone(x) {
|
|
106
115
|
return x === undefined || x === null;
|
|
107
116
|
}
|
|
@@ -234,16 +243,16 @@ function _assertClass(instance, klass) {
|
|
|
234
243
|
throw new Error(`expected instance of ${klass.name}`);
|
|
235
244
|
}
|
|
236
245
|
}
|
|
237
|
-
function
|
|
238
|
-
wasm.
|
|
246
|
+
function __wbg_adapter_48(arg0, arg1) {
|
|
247
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hf135e9bd71abb1bc(arg0, arg1);
|
|
239
248
|
}
|
|
240
249
|
|
|
241
|
-
function
|
|
242
|
-
wasm.
|
|
250
|
+
function __wbg_adapter_51(arg0, arg1, arg2) {
|
|
251
|
+
wasm.closure541_externref_shim(arg0, arg1, arg2);
|
|
243
252
|
}
|
|
244
253
|
|
|
245
|
-
function
|
|
246
|
-
wasm.
|
|
254
|
+
function __wbg_adapter_244(arg0, arg1, arg2, arg3) {
|
|
255
|
+
wasm.closure1816_externref_shim(arg0, arg1, arg2, arg3);
|
|
247
256
|
}
|
|
248
257
|
|
|
249
258
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -773,6 +782,11 @@ class PolicyEvaluationError {
|
|
|
773
782
|
}
|
|
774
783
|
module.exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
775
784
|
|
|
785
|
+
module.exports.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
|
|
786
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
787
|
+
return ret;
|
|
788
|
+
};
|
|
789
|
+
|
|
776
790
|
module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
777
791
|
const ret = String(arg1);
|
|
778
792
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -781,19 +795,19 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
|
781
795
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
782
796
|
};
|
|
783
797
|
|
|
784
|
-
module.exports.
|
|
785
|
-
arg0.abort(
|
|
798
|
+
module.exports.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
|
|
799
|
+
arg0.abort();
|
|
786
800
|
};
|
|
787
801
|
|
|
788
|
-
module.exports.
|
|
789
|
-
arg0.abort();
|
|
802
|
+
module.exports.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
|
|
803
|
+
arg0.abort(arg1);
|
|
790
804
|
};
|
|
791
805
|
|
|
792
|
-
module.exports.
|
|
806
|
+
module.exports.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
793
807
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
794
808
|
}, arguments) };
|
|
795
809
|
|
|
796
|
-
module.exports.
|
|
810
|
+
module.exports.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
|
|
797
811
|
const ret = arg0.arrayBuffer();
|
|
798
812
|
return ret;
|
|
799
813
|
}, arguments) };
|
|
@@ -803,18 +817,18 @@ module.exports.__wbg_authorizeresult_new = function(arg0) {
|
|
|
803
817
|
return ret;
|
|
804
818
|
};
|
|
805
819
|
|
|
806
|
-
module.exports.
|
|
820
|
+
module.exports.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
|
807
821
|
const ret = arg0.buffer;
|
|
808
822
|
return ret;
|
|
809
823
|
};
|
|
810
824
|
|
|
811
|
-
module.exports.
|
|
812
|
-
const ret = arg0.call(arg1);
|
|
825
|
+
module.exports.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
826
|
+
const ret = arg0.call(arg1, arg2);
|
|
813
827
|
return ret;
|
|
814
828
|
}, arguments) };
|
|
815
829
|
|
|
816
|
-
module.exports.
|
|
817
|
-
const ret = arg0.call(arg1
|
|
830
|
+
module.exports.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
|
|
831
|
+
const ret = arg0.call(arg1);
|
|
818
832
|
return ret;
|
|
819
833
|
}, arguments) };
|
|
820
834
|
|
|
@@ -833,30 +847,30 @@ module.exports.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
|
833
847
|
return ret;
|
|
834
848
|
};
|
|
835
849
|
|
|
836
|
-
module.exports.
|
|
850
|
+
module.exports.__wbg_debug_d6b79b0bf4da29c2 = function(arg0) {
|
|
837
851
|
console.debug(...arg0);
|
|
838
852
|
};
|
|
839
853
|
|
|
840
|
-
module.exports.
|
|
854
|
+
module.exports.__wbg_done_4d01f352bade43b7 = function(arg0) {
|
|
841
855
|
const ret = arg0.done;
|
|
842
856
|
return ret;
|
|
843
857
|
};
|
|
844
858
|
|
|
845
|
-
module.exports.
|
|
859
|
+
module.exports.__wbg_entries_41651c850143b957 = function(arg0) {
|
|
846
860
|
const ret = Object.entries(arg0);
|
|
847
861
|
return ret;
|
|
848
862
|
};
|
|
849
863
|
|
|
850
|
-
module.exports.
|
|
864
|
+
module.exports.__wbg_entries_c951fa14164704e7 = function(arg0) {
|
|
851
865
|
const ret = arg0.entries();
|
|
852
866
|
return ret;
|
|
853
867
|
};
|
|
854
868
|
|
|
855
|
-
module.exports.
|
|
869
|
+
module.exports.__wbg_error_5cb390bc4013f9d1 = function(arg0) {
|
|
856
870
|
console.error(...arg0);
|
|
857
871
|
};
|
|
858
872
|
|
|
859
|
-
module.exports.
|
|
873
|
+
module.exports.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
|
|
860
874
|
const ret = arg0.fetch(arg1);
|
|
861
875
|
return ret;
|
|
862
876
|
};
|
|
@@ -866,7 +880,7 @@ module.exports.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
|
866
880
|
return ret;
|
|
867
881
|
};
|
|
868
882
|
|
|
869
|
-
module.exports.
|
|
883
|
+
module.exports.__wbg_fromEntries_91e19ec7b6783aeb = function() { return handleError(function (arg0) {
|
|
870
884
|
const ret = Object.fromEntries(arg0);
|
|
871
885
|
return ret;
|
|
872
886
|
}, arguments) };
|
|
@@ -875,22 +889,22 @@ module.exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return hand
|
|
|
875
889
|
arg0.getRandomValues(arg1);
|
|
876
890
|
}, arguments) };
|
|
877
891
|
|
|
878
|
-
module.exports.
|
|
892
|
+
module.exports.__wbg_getTime_2afe67905d873e92 = function(arg0) {
|
|
879
893
|
const ret = arg0.getTime();
|
|
880
894
|
return ret;
|
|
881
895
|
};
|
|
882
896
|
|
|
883
|
-
module.exports.
|
|
897
|
+
module.exports.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
|
|
884
898
|
const ret = arg0.getTimezoneOffset();
|
|
885
899
|
return ret;
|
|
886
900
|
};
|
|
887
901
|
|
|
888
|
-
module.exports.
|
|
902
|
+
module.exports.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
|
|
889
903
|
const ret = Reflect.get(arg0, arg1);
|
|
890
904
|
return ret;
|
|
891
905
|
}, arguments) };
|
|
892
906
|
|
|
893
|
-
module.exports.
|
|
907
|
+
module.exports.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
|
|
894
908
|
const ret = arg0[arg1 >>> 0];
|
|
895
909
|
return ret;
|
|
896
910
|
};
|
|
@@ -900,21 +914,21 @@ module.exports.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
|
900
914
|
return ret;
|
|
901
915
|
};
|
|
902
916
|
|
|
903
|
-
module.exports.
|
|
917
|
+
module.exports.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
|
|
904
918
|
const ret = Reflect.has(arg0, arg1);
|
|
905
919
|
return ret;
|
|
906
920
|
}, arguments) };
|
|
907
921
|
|
|
908
|
-
module.exports.
|
|
922
|
+
module.exports.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
|
|
909
923
|
const ret = arg0.headers;
|
|
910
924
|
return ret;
|
|
911
925
|
};
|
|
912
926
|
|
|
913
|
-
module.exports.
|
|
927
|
+
module.exports.__wbg_info_6bba09377e5a3490 = function(arg0) {
|
|
914
928
|
console.info(...arg0);
|
|
915
929
|
};
|
|
916
930
|
|
|
917
|
-
module.exports.
|
|
931
|
+
module.exports.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
|
|
918
932
|
let result;
|
|
919
933
|
try {
|
|
920
934
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -925,7 +939,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
|
925
939
|
return ret;
|
|
926
940
|
};
|
|
927
941
|
|
|
928
|
-
module.exports.
|
|
942
|
+
module.exports.__wbg_instanceof_Array_b740b533930f065b = function(arg0) {
|
|
929
943
|
let result;
|
|
930
944
|
try {
|
|
931
945
|
result = arg0 instanceof Array;
|
|
@@ -936,7 +950,7 @@ module.exports.__wbg_instanceof_Array_6ac07133d621675a = function(arg0) {
|
|
|
936
950
|
return ret;
|
|
937
951
|
};
|
|
938
952
|
|
|
939
|
-
module.exports.
|
|
953
|
+
module.exports.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
|
|
940
954
|
let result;
|
|
941
955
|
try {
|
|
942
956
|
result = arg0 instanceof Map;
|
|
@@ -947,7 +961,7 @@ module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
|
947
961
|
return ret;
|
|
948
962
|
};
|
|
949
963
|
|
|
950
|
-
module.exports.
|
|
964
|
+
module.exports.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
|
|
951
965
|
let result;
|
|
952
966
|
try {
|
|
953
967
|
result = arg0 instanceof Response;
|
|
@@ -958,7 +972,7 @@ module.exports.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
|
|
|
958
972
|
return ret;
|
|
959
973
|
};
|
|
960
974
|
|
|
961
|
-
module.exports.
|
|
975
|
+
module.exports.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
|
|
962
976
|
let result;
|
|
963
977
|
try {
|
|
964
978
|
result = arg0 instanceof Uint8Array;
|
|
@@ -969,37 +983,37 @@ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
|
969
983
|
return ret;
|
|
970
984
|
};
|
|
971
985
|
|
|
972
|
-
module.exports.
|
|
986
|
+
module.exports.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
|
|
973
987
|
const ret = Array.isArray(arg0);
|
|
974
988
|
return ret;
|
|
975
989
|
};
|
|
976
990
|
|
|
977
|
-
module.exports.
|
|
991
|
+
module.exports.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
|
|
978
992
|
const ret = Number.isSafeInteger(arg0);
|
|
979
993
|
return ret;
|
|
980
994
|
};
|
|
981
995
|
|
|
982
|
-
module.exports.
|
|
996
|
+
module.exports.__wbg_iterator_4068add5b2aef7a6 = function() {
|
|
983
997
|
const ret = Symbol.iterator;
|
|
984
998
|
return ret;
|
|
985
999
|
};
|
|
986
1000
|
|
|
987
|
-
module.exports.
|
|
1001
|
+
module.exports.__wbg_keys_42062809bf87339e = function(arg0) {
|
|
988
1002
|
const ret = Object.keys(arg0);
|
|
989
1003
|
return ret;
|
|
990
1004
|
};
|
|
991
1005
|
|
|
992
|
-
module.exports.
|
|
1006
|
+
module.exports.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
|
|
993
1007
|
const ret = arg0.length;
|
|
994
1008
|
return ret;
|
|
995
1009
|
};
|
|
996
1010
|
|
|
997
|
-
module.exports.
|
|
1011
|
+
module.exports.__wbg_length_f00ec12454a5d9fd = function(arg0) {
|
|
998
1012
|
const ret = arg0.length;
|
|
999
1013
|
return ret;
|
|
1000
1014
|
};
|
|
1001
1015
|
|
|
1002
|
-
module.exports.
|
|
1016
|
+
module.exports.__wbg_log_7e417898f19eba17 = function(arg0) {
|
|
1003
1017
|
console.log(...arg0);
|
|
1004
1018
|
};
|
|
1005
1019
|
|
|
@@ -1008,24 +1022,49 @@ module.exports.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
|
1008
1022
|
return ret;
|
|
1009
1023
|
};
|
|
1010
1024
|
|
|
1011
|
-
module.exports.
|
|
1025
|
+
module.exports.__wbg_new0_97314565408dea38 = function() {
|
|
1012
1026
|
const ret = new Date();
|
|
1013
1027
|
return ret;
|
|
1014
1028
|
};
|
|
1015
1029
|
|
|
1016
|
-
module.exports.
|
|
1030
|
+
module.exports.__wbg_new_07b483f72211fd66 = function() {
|
|
1031
|
+
const ret = new Object();
|
|
1032
|
+
return ret;
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
module.exports.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
|
|
1036
|
+
const ret = new AbortController();
|
|
1037
|
+
return ret;
|
|
1038
|
+
}, arguments) };
|
|
1039
|
+
|
|
1040
|
+
module.exports.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
|
|
1017
1041
|
const ret = new Headers();
|
|
1018
1042
|
return ret;
|
|
1019
1043
|
}, arguments) };
|
|
1020
1044
|
|
|
1021
|
-
module.exports.
|
|
1045
|
+
module.exports.__wbg_new_58353953ad2097cc = function() {
|
|
1046
|
+
const ret = new Array();
|
|
1047
|
+
return ret;
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
module.exports.__wbg_new_a2957aa5684de228 = function(arg0) {
|
|
1051
|
+
const ret = new Date(arg0);
|
|
1052
|
+
return ret;
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
module.exports.__wbg_new_a979b4b45bd55c7f = function() {
|
|
1056
|
+
const ret = new Map();
|
|
1057
|
+
return ret;
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
module.exports.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
|
|
1022
1061
|
try {
|
|
1023
1062
|
var state0 = {a: arg0, b: arg1};
|
|
1024
1063
|
var cb0 = (arg0, arg1) => {
|
|
1025
1064
|
const a = state0.a;
|
|
1026
1065
|
state0.a = 0;
|
|
1027
1066
|
try {
|
|
1028
|
-
return
|
|
1067
|
+
return __wbg_adapter_244(a, state0.b, arg0, arg1);
|
|
1029
1068
|
} finally {
|
|
1030
1069
|
state0.a = a;
|
|
1031
1070
|
}
|
|
@@ -1037,67 +1076,47 @@ module.exports.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
|
1037
1076
|
}
|
|
1038
1077
|
};
|
|
1039
1078
|
|
|
1040
|
-
module.exports.
|
|
1041
|
-
const ret = new Date(arg0);
|
|
1042
|
-
return ret;
|
|
1043
|
-
};
|
|
1044
|
-
|
|
1045
|
-
module.exports.__wbg_new_405e22f390576ce2 = function() {
|
|
1046
|
-
const ret = new Object();
|
|
1047
|
-
return ret;
|
|
1048
|
-
};
|
|
1049
|
-
|
|
1050
|
-
module.exports.__wbg_new_5e0be73521bc8c17 = function() {
|
|
1051
|
-
const ret = new Map();
|
|
1052
|
-
return ret;
|
|
1053
|
-
};
|
|
1054
|
-
|
|
1055
|
-
module.exports.__wbg_new_78feb108b6472713 = function() {
|
|
1056
|
-
const ret = new Array();
|
|
1057
|
-
return ret;
|
|
1058
|
-
};
|
|
1059
|
-
|
|
1060
|
-
module.exports.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
1079
|
+
module.exports.__wbg_new_e52b3efaaa774f96 = function(arg0) {
|
|
1061
1080
|
const ret = new Uint8Array(arg0);
|
|
1062
1081
|
return ret;
|
|
1063
1082
|
};
|
|
1064
1083
|
|
|
1065
|
-
module.exports.
|
|
1066
|
-
const ret = new
|
|
1084
|
+
module.exports.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
|
|
1085
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1067
1086
|
return ret;
|
|
1068
|
-
}
|
|
1087
|
+
};
|
|
1069
1088
|
|
|
1070
|
-
module.exports.
|
|
1089
|
+
module.exports.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
|
|
1071
1090
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1072
1091
|
return ret;
|
|
1073
1092
|
};
|
|
1074
1093
|
|
|
1075
|
-
module.exports.
|
|
1094
|
+
module.exports.__wbg_newwithargs_17a05078fc85d3aa = function(arg0, arg1, arg2, arg3) {
|
|
1076
1095
|
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1077
1096
|
return ret;
|
|
1078
1097
|
};
|
|
1079
1098
|
|
|
1080
|
-
module.exports.
|
|
1099
|
+
module.exports.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
|
|
1081
1100
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1082
1101
|
return ret;
|
|
1083
1102
|
};
|
|
1084
1103
|
|
|
1085
|
-
module.exports.
|
|
1104
|
+
module.exports.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
|
|
1086
1105
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1087
1106
|
return ret;
|
|
1088
1107
|
};
|
|
1089
1108
|
|
|
1090
|
-
module.exports.
|
|
1109
|
+
module.exports.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1091
1110
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1092
1111
|
return ret;
|
|
1093
1112
|
}, arguments) };
|
|
1094
1113
|
|
|
1095
|
-
module.exports.
|
|
1114
|
+
module.exports.__wbg_next_8bb824d217961b5d = function(arg0) {
|
|
1096
1115
|
const ret = arg0.next;
|
|
1097
1116
|
return ret;
|
|
1098
1117
|
};
|
|
1099
1118
|
|
|
1100
|
-
module.exports.
|
|
1119
|
+
module.exports.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
|
|
1101
1120
|
const ret = arg0.next();
|
|
1102
1121
|
return ret;
|
|
1103
1122
|
}, arguments) };
|
|
@@ -1117,16 +1136,16 @@ module.exports.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
|
1117
1136
|
return ret;
|
|
1118
1137
|
};
|
|
1119
1138
|
|
|
1120
|
-
module.exports.
|
|
1139
|
+
module.exports.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
|
|
1121
1140
|
const ret = arg0.push(arg1);
|
|
1122
1141
|
return ret;
|
|
1123
1142
|
};
|
|
1124
1143
|
|
|
1125
|
-
module.exports.
|
|
1144
|
+
module.exports.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
|
|
1126
1145
|
queueMicrotask(arg0);
|
|
1127
1146
|
};
|
|
1128
1147
|
|
|
1129
|
-
module.exports.
|
|
1148
|
+
module.exports.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
|
|
1130
1149
|
const ret = arg0.queueMicrotask;
|
|
1131
1150
|
return ret;
|
|
1132
1151
|
};
|
|
@@ -1140,7 +1159,7 @@ module.exports.__wbg_require_60cc747a6bc5215a = function() { return handleError(
|
|
|
1140
1159
|
return ret;
|
|
1141
1160
|
}, arguments) };
|
|
1142
1161
|
|
|
1143
|
-
module.exports.
|
|
1162
|
+
module.exports.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
|
|
1144
1163
|
const ret = Promise.resolve(arg0);
|
|
1145
1164
|
return ret;
|
|
1146
1165
|
};
|
|
@@ -1150,116 +1169,116 @@ module.exports.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
|
|
|
1150
1169
|
return ret;
|
|
1151
1170
|
};
|
|
1152
1171
|
|
|
1153
|
-
module.exports.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
1154
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1155
|
-
};
|
|
1156
|
-
|
|
1157
1172
|
module.exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1158
1173
|
arg0[arg1] = arg2;
|
|
1159
1174
|
};
|
|
1160
1175
|
|
|
1161
|
-
module.exports.
|
|
1162
|
-
arg0
|
|
1176
|
+
module.exports.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
|
|
1177
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1163
1178
|
};
|
|
1164
1179
|
|
|
1165
|
-
module.exports.
|
|
1180
|
+
module.exports.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1181
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1182
|
+
return ret;
|
|
1183
|
+
}, arguments) };
|
|
1184
|
+
|
|
1185
|
+
module.exports.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
|
|
1166
1186
|
const ret = arg0.set(arg1, arg2);
|
|
1167
1187
|
return ret;
|
|
1168
1188
|
};
|
|
1169
1189
|
|
|
1170
|
-
module.exports.
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
}, arguments) };
|
|
1190
|
+
module.exports.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
|
|
1191
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
1192
|
+
};
|
|
1174
1193
|
|
|
1175
|
-
module.exports.
|
|
1194
|
+
module.exports.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
|
|
1176
1195
|
arg0.body = arg1;
|
|
1177
1196
|
};
|
|
1178
1197
|
|
|
1179
|
-
module.exports.
|
|
1198
|
+
module.exports.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
|
|
1180
1199
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1181
1200
|
};
|
|
1182
1201
|
|
|
1183
|
-
module.exports.
|
|
1202
|
+
module.exports.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
|
|
1184
1203
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1185
1204
|
};
|
|
1186
1205
|
|
|
1187
|
-
module.exports.
|
|
1206
|
+
module.exports.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
|
|
1188
1207
|
arg0.headers = arg1;
|
|
1189
1208
|
};
|
|
1190
1209
|
|
|
1191
|
-
module.exports.
|
|
1210
|
+
module.exports.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
|
|
1192
1211
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1193
1212
|
};
|
|
1194
1213
|
|
|
1195
|
-
module.exports.
|
|
1214
|
+
module.exports.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
|
|
1196
1215
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1197
1216
|
};
|
|
1198
1217
|
|
|
1199
|
-
module.exports.
|
|
1218
|
+
module.exports.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
|
|
1200
1219
|
arg0.signal = arg1;
|
|
1201
1220
|
};
|
|
1202
1221
|
|
|
1203
|
-
module.exports.
|
|
1222
|
+
module.exports.__wbg_signal_b96223519a041faa = function(arg0) {
|
|
1204
1223
|
const ret = arg0.signal;
|
|
1205
1224
|
return ret;
|
|
1206
1225
|
};
|
|
1207
1226
|
|
|
1208
|
-
module.exports.
|
|
1227
|
+
module.exports.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
|
|
1209
1228
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1210
1229
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1211
1230
|
};
|
|
1212
1231
|
|
|
1213
|
-
module.exports.
|
|
1232
|
+
module.exports.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
|
|
1214
1233
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1215
1234
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1216
1235
|
};
|
|
1217
1236
|
|
|
1218
|
-
module.exports.
|
|
1237
|
+
module.exports.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
|
|
1219
1238
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1220
1239
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1221
1240
|
};
|
|
1222
1241
|
|
|
1223
|
-
module.exports.
|
|
1242
|
+
module.exports.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
|
|
1224
1243
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1225
1244
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1226
1245
|
};
|
|
1227
1246
|
|
|
1228
|
-
module.exports.
|
|
1247
|
+
module.exports.__wbg_status_a54682bbe52f9058 = function(arg0) {
|
|
1229
1248
|
const ret = arg0.status;
|
|
1230
1249
|
return ret;
|
|
1231
1250
|
};
|
|
1232
1251
|
|
|
1233
|
-
module.exports.
|
|
1252
|
+
module.exports.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
|
|
1234
1253
|
const ret = JSON.stringify(arg0);
|
|
1235
1254
|
return ret;
|
|
1236
1255
|
}, arguments) };
|
|
1237
1256
|
|
|
1238
|
-
module.exports.
|
|
1257
|
+
module.exports.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
|
|
1239
1258
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1240
1259
|
return ret;
|
|
1241
1260
|
};
|
|
1242
1261
|
|
|
1243
|
-
module.exports.
|
|
1262
|
+
module.exports.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
|
|
1244
1263
|
const ret = arg0.text();
|
|
1245
1264
|
return ret;
|
|
1246
1265
|
}, arguments) };
|
|
1247
1266
|
|
|
1248
|
-
module.exports.
|
|
1249
|
-
const ret = arg0.then(arg1);
|
|
1267
|
+
module.exports.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
|
|
1268
|
+
const ret = arg0.then(arg1, arg2);
|
|
1250
1269
|
return ret;
|
|
1251
1270
|
};
|
|
1252
1271
|
|
|
1253
|
-
module.exports.
|
|
1254
|
-
const ret = arg0.then(arg1
|
|
1272
|
+
module.exports.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
|
|
1273
|
+
const ret = arg0.then(arg1);
|
|
1255
1274
|
return ret;
|
|
1256
1275
|
};
|
|
1257
1276
|
|
|
1258
|
-
module.exports.
|
|
1277
|
+
module.exports.__wbg_trace_f1ea3a49486fac2c = function(arg0) {
|
|
1259
1278
|
console.trace(...arg0);
|
|
1260
1279
|
};
|
|
1261
1280
|
|
|
1262
|
-
module.exports.
|
|
1281
|
+
module.exports.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
|
|
1263
1282
|
const ret = arg1.url;
|
|
1264
1283
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1265
1284
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -1267,7 +1286,7 @@ module.exports.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
|
|
|
1267
1286
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1268
1287
|
};
|
|
1269
1288
|
|
|
1270
|
-
module.exports.
|
|
1289
|
+
module.exports.__wbg_value_17b896954e14f896 = function(arg0) {
|
|
1271
1290
|
const ret = arg0.value;
|
|
1272
1291
|
return ret;
|
|
1273
1292
|
};
|
|
@@ -1277,7 +1296,7 @@ module.exports.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
|
1277
1296
|
return ret;
|
|
1278
1297
|
};
|
|
1279
1298
|
|
|
1280
|
-
module.exports.
|
|
1299
|
+
module.exports.__wbg_warn_c6a0f82186237bfa = function(arg0) {
|
|
1281
1300
|
console.warn(...arg0);
|
|
1282
1301
|
};
|
|
1283
1302
|
|
|
@@ -1314,13 +1333,13 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
1314
1333
|
return ret;
|
|
1315
1334
|
};
|
|
1316
1335
|
|
|
1317
|
-
module.exports.
|
|
1318
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1336
|
+
module.exports.__wbindgen_closure_wrapper3892 = function(arg0, arg1, arg2) {
|
|
1337
|
+
const ret = makeMutClosure(arg0, arg1, 494, __wbg_adapter_48);
|
|
1319
1338
|
return ret;
|
|
1320
1339
|
};
|
|
1321
1340
|
|
|
1322
|
-
module.exports.
|
|
1323
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1341
|
+
module.exports.__wbindgen_closure_wrapper4041 = function(arg0, arg1, arg2) {
|
|
1342
|
+
const ret = makeMutClosure(arg0, arg1, 540, __wbg_adapter_51);
|
|
1324
1343
|
return ret;
|
|
1325
1344
|
};
|
|
1326
1345
|
|
|
@@ -1332,11 +1351,6 @@ module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
|
1332
1351
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1333
1352
|
};
|
|
1334
1353
|
|
|
1335
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
1336
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1337
|
-
return ret;
|
|
1338
|
-
};
|
|
1339
|
-
|
|
1340
1354
|
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
1341
1355
|
const ret = arg0 in arg1;
|
|
1342
1356
|
return ret;
|
package/cedarling_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@janssenproject/cedarling_wasm",
|
|
3
3
|
"description": "The Cedarling is a performant local authorization service that runs the Rust Cedar Engine",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.216-nodejs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|