@janssenproject/cedarling_wasm 1.12.0 → 1.13.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 +22 -19
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/cedarling_wasm.d.ts
CHANGED
|
@@ -226,9 +226,9 @@ export interface InitOutput {
|
|
|
226
226
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
227
227
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
228
228
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
229
|
-
readonly
|
|
230
|
-
readonly
|
|
231
|
-
readonly
|
|
229
|
+
readonly wasm_bindgen__convert__closures_____invoke__hd85855495ef290f9: (a: number, b: number) => void;
|
|
230
|
+
readonly closure551_externref_shim: (a: number, b: number, c: any) => void;
|
|
231
|
+
readonly closure1832_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
232
232
|
readonly __wbindgen_start: () => void;
|
|
233
233
|
}
|
|
234
234
|
|
package/cedarling_wasm.js
CHANGED
|
@@ -248,16 +248,16 @@ function _assertClass(instance, klass) {
|
|
|
248
248
|
throw new Error(`expected instance of ${klass.name}`);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
wasm.
|
|
251
|
+
function __wbg_adapter_10(arg0, arg1) {
|
|
252
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hd85855495ef290f9(arg0, arg1);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
function
|
|
256
|
-
wasm.
|
|
255
|
+
function __wbg_adapter_19(arg0, arg1, arg2) {
|
|
256
|
+
wasm.closure551_externref_shim(arg0, arg1, arg2);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
function
|
|
260
|
-
wasm.
|
|
259
|
+
function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
|
|
260
|
+
wasm.closure1832_externref_shim(arg0, arg1, arg2, arg3);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -869,7 +869,7 @@ function __wbg_get_imports() {
|
|
|
869
869
|
const ret = Cedarling.__wrap(arg0);
|
|
870
870
|
return ret;
|
|
871
871
|
};
|
|
872
|
-
imports.wbg.
|
|
872
|
+
imports.wbg.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
|
|
873
873
|
const ret = clearTimeout(arg0);
|
|
874
874
|
return ret;
|
|
875
875
|
};
|
|
@@ -895,18 +895,21 @@ function __wbg_get_imports() {
|
|
|
895
895
|
imports.wbg.__wbg_error_3e65ef00ce5a8b19 = function(arg0) {
|
|
896
896
|
console.error(...arg0);
|
|
897
897
|
};
|
|
898
|
-
imports.wbg.
|
|
899
|
-
const ret =
|
|
898
|
+
imports.wbg.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
|
|
899
|
+
const ret = fetch(arg0);
|
|
900
900
|
return ret;
|
|
901
901
|
};
|
|
902
|
-
imports.wbg.
|
|
903
|
-
const ret = fetch(
|
|
902
|
+
imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
|
|
903
|
+
const ret = arg0.fetch(arg1);
|
|
904
904
|
return ret;
|
|
905
905
|
};
|
|
906
906
|
imports.wbg.__wbg_fromEntries_90d06c670ebbfb45 = function() { return handleError(function (arg0) {
|
|
907
907
|
const ret = Object.fromEntries(arg0);
|
|
908
908
|
return ret;
|
|
909
909
|
}, arguments) };
|
|
910
|
+
imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
911
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
912
|
+
}, arguments) };
|
|
910
913
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
911
914
|
arg0.getRandomValues(arg1);
|
|
912
915
|
}, arguments) };
|
|
@@ -1041,7 +1044,7 @@ function __wbg_get_imports() {
|
|
|
1041
1044
|
const a = state0.a;
|
|
1042
1045
|
state0.a = 0;
|
|
1043
1046
|
try {
|
|
1044
|
-
return
|
|
1047
|
+
return __wbg_adapter_214(a, state0.b, arg0, arg1);
|
|
1045
1048
|
} finally {
|
|
1046
1049
|
state0.a = a;
|
|
1047
1050
|
}
|
|
@@ -1137,7 +1140,7 @@ function __wbg_get_imports() {
|
|
|
1137
1140
|
const ret = Promise.resolve(arg0);
|
|
1138
1141
|
return ret;
|
|
1139
1142
|
};
|
|
1140
|
-
imports.wbg.
|
|
1143
|
+
imports.wbg.__wbg_setTimeout_7bb3429662ab1e70 = function(arg0, arg1) {
|
|
1141
1144
|
const ret = setTimeout(arg0, arg1);
|
|
1142
1145
|
return ret;
|
|
1143
1146
|
};
|
|
@@ -1318,9 +1321,9 @@ function __wbg_get_imports() {
|
|
|
1318
1321
|
imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
1319
1322
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1320
1323
|
};
|
|
1321
|
-
imports.wbg.
|
|
1322
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1323
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1324
|
+
imports.wbg.__wbindgen_cast_1be559affc47552a = function(arg0, arg1) {
|
|
1325
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 507, function: Function { arguments: [], shim_idx: 508, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1326
|
+
const ret = makeMutClosure(arg0, arg1, 507, __wbg_adapter_10);
|
|
1324
1327
|
return ret;
|
|
1325
1328
|
};
|
|
1326
1329
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
@@ -1333,9 +1336,9 @@ function __wbg_get_imports() {
|
|
|
1333
1336
|
const ret = BigInt.asUintN(64, arg0);
|
|
1334
1337
|
return ret;
|
|
1335
1338
|
};
|
|
1336
|
-
imports.wbg.
|
|
1337
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1338
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1339
|
+
imports.wbg.__wbindgen_cast_6caffbe795a425f3 = function(arg0, arg1) {
|
|
1340
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 550, function: Function { arguments: [Externref], shim_idx: 551, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1341
|
+
const ret = makeMutClosure(arg0, arg1, 550, __wbg_adapter_19);
|
|
1339
1342
|
return ret;
|
|
1340
1343
|
};
|
|
1341
1344
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
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.13.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|