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