@janssenproject/cedarling_wasm 0.0.235 → 0.0.236
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 +16 -13
- 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 closure555_externref_shim: (a: number, b: number, c: any) => void;
|
|
230
|
+
readonly wasm_bindgen__convert__closures_____invoke__hbd945c548694f0de: (a: number, b: number) => void;
|
|
231
|
+
readonly closure1835_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_6(arg0, arg1, arg2) {
|
|
252
|
+
wasm.closure555_externref_shim(arg0, arg1, arg2);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
function
|
|
256
|
-
wasm.
|
|
255
|
+
function __wbg_adapter_11(arg0, arg1) {
|
|
256
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbd945c548694f0de(arg0, arg1);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
function
|
|
260
|
-
wasm.
|
|
259
|
+
function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
|
|
260
|
+
wasm.closure1835_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"];
|
|
@@ -907,6 +907,9 @@ function __wbg_get_imports() {
|
|
|
907
907
|
const ret = Object.fromEntries(arg0);
|
|
908
908
|
return ret;
|
|
909
909
|
}, arguments) };
|
|
910
|
+
imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = 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
|
}
|
|
@@ -1328,9 +1331,9 @@ function __wbg_get_imports() {
|
|
|
1328
1331
|
const ret = BigInt.asUintN(64, arg0);
|
|
1329
1332
|
return ret;
|
|
1330
1333
|
};
|
|
1331
|
-
imports.wbg.
|
|
1332
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1333
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1334
|
+
imports.wbg.__wbindgen_cast_7c08b7b6f622c969 = function(arg0, arg1) {
|
|
1335
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 509, function: Function { arguments: [], shim_idx: 510, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1336
|
+
const ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_11);
|
|
1334
1337
|
return ret;
|
|
1335
1338
|
};
|
|
1336
1339
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
@@ -1338,9 +1341,9 @@ function __wbg_get_imports() {
|
|
|
1338
1341
|
const ret = arg0;
|
|
1339
1342
|
return ret;
|
|
1340
1343
|
};
|
|
1341
|
-
imports.wbg.
|
|
1342
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1343
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1344
|
+
imports.wbg.__wbindgen_cast_c8a75cba4fbd7360 = function(arg0, arg1) {
|
|
1345
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [Externref], shim_idx: 555, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1346
|
+
const ret = makeMutClosure(arg0, arg1, 554, __wbg_adapter_6);
|
|
1344
1347
|
return ret;
|
|
1345
1348
|
};
|
|
1346
1349
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
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.236",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|