@janssenproject/cedarling_wasm 0.0.192 → 0.0.193
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 +2 -2
- package/cedarling_wasm.js +17 -12
- 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
|
|
223
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1141b435af011c92: (a: number, b: number) => void;
|
|
224
224
|
readonly closure544_externref_shim: (a: number, b: number, c: any) => void;
|
|
225
|
-
readonly
|
|
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
|
@@ -231,17 +231,19 @@ function _assertClass(instance, klass) {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
function __wbg_adapter_50(arg0, arg1) {
|
|
234
|
-
wasm.
|
|
234
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1141b435af011c92(arg0, arg1);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
function __wbg_adapter_53(arg0, arg1, arg2) {
|
|
238
238
|
wasm.closure544_externref_shim(arg0, arg1, arg2);
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
function
|
|
242
|
-
wasm.
|
|
241
|
+
function __wbg_adapter_246(arg0, arg1, arg2, arg3) {
|
|
242
|
+
wasm.closure1825_externref_shim(arg0, arg1, arg2, arg3);
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
246
|
+
|
|
245
247
|
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
246
248
|
|
|
247
249
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
@@ -835,7 +837,7 @@ function __wbg_get_imports() {
|
|
|
835
837
|
const ret = Cedarling.__wrap(arg0);
|
|
836
838
|
return ret;
|
|
837
839
|
};
|
|
838
|
-
imports.wbg.
|
|
840
|
+
imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
|
|
839
841
|
const ret = clearTimeout(arg0);
|
|
840
842
|
return ret;
|
|
841
843
|
};
|
|
@@ -861,14 +863,14 @@ function __wbg_get_imports() {
|
|
|
861
863
|
imports.wbg.__wbg_error_dc53417fcef5463a = function(arg0) {
|
|
862
864
|
console.error(...arg0);
|
|
863
865
|
};
|
|
864
|
-
imports.wbg.__wbg_fetch_11bff8299d0ecd2b = function(arg0) {
|
|
865
|
-
const ret = fetch(arg0);
|
|
866
|
-
return ret;
|
|
867
|
-
};
|
|
868
866
|
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
869
867
|
const ret = arg0.fetch(arg1);
|
|
870
868
|
return ret;
|
|
871
869
|
};
|
|
870
|
+
imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
871
|
+
const ret = fetch(arg0);
|
|
872
|
+
return ret;
|
|
873
|
+
};
|
|
872
874
|
imports.wbg.__wbg_fromEntries_524679eecb0bdc2e = function() { return handleError(function (arg0) {
|
|
873
875
|
const ret = Object.fromEntries(arg0);
|
|
874
876
|
return ret;
|
|
@@ -1003,7 +1005,7 @@ function __wbg_get_imports() {
|
|
|
1003
1005
|
const a = state0.a;
|
|
1004
1006
|
state0.a = 0;
|
|
1005
1007
|
try {
|
|
1006
|
-
return
|
|
1008
|
+
return __wbg_adapter_246(a, state0.b, arg0, arg1);
|
|
1007
1009
|
} finally {
|
|
1008
1010
|
state0.a = a;
|
|
1009
1011
|
}
|
|
@@ -1100,7 +1102,7 @@ function __wbg_get_imports() {
|
|
|
1100
1102
|
const ret = Promise.resolve(arg0);
|
|
1101
1103
|
return ret;
|
|
1102
1104
|
};
|
|
1103
|
-
imports.wbg.
|
|
1105
|
+
imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
|
|
1104
1106
|
const ret = setTimeout(arg0, arg1);
|
|
1105
1107
|
return ret;
|
|
1106
1108
|
};
|
|
@@ -1124,6 +1126,9 @@ function __wbg_get_imports() {
|
|
|
1124
1126
|
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
1125
1127
|
arg0.body = arg1;
|
|
1126
1128
|
};
|
|
1129
|
+
imports.wbg.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
|
|
1130
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1131
|
+
};
|
|
1127
1132
|
imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
|
|
1128
1133
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1129
1134
|
};
|
|
@@ -1232,11 +1237,11 @@ function __wbg_get_imports() {
|
|
|
1232
1237
|
const ret = false;
|
|
1233
1238
|
return ret;
|
|
1234
1239
|
};
|
|
1235
|
-
imports.wbg.
|
|
1240
|
+
imports.wbg.__wbindgen_closure_wrapper3878 = function(arg0, arg1, arg2) {
|
|
1236
1241
|
const ret = makeMutClosure(arg0, arg1, 499, __wbg_adapter_50);
|
|
1237
1242
|
return ret;
|
|
1238
1243
|
};
|
|
1239
|
-
imports.wbg.
|
|
1244
|
+
imports.wbg.__wbindgen_closure_wrapper4030 = function(arg0, arg1, arg2) {
|
|
1240
1245
|
const ret = makeMutClosure(arg0, arg1, 545, __wbg_adapter_53);
|
|
1241
1246
|
return ret;
|
|
1242
1247
|
};
|
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.193",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|