@janssenproject/cedarling_wasm 0.0.235-nodejs → 0.0.236-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 CHANGED
@@ -242,16 +242,16 @@ function _assertClass(instance, klass) {
242
242
  throw new Error(`expected instance of ${klass.name}`);
243
243
  }
244
244
  }
245
- function __wbg_adapter_10(arg0, arg1, arg2) {
246
- wasm.closure547_externref_shim(arg0, arg1, arg2);
245
+ function __wbg_adapter_12(arg0, arg1, arg2) {
246
+ wasm.closure555_externref_shim(arg0, arg1, arg2);
247
247
  }
248
248
 
249
- function __wbg_adapter_15(arg0, arg1) {
250
- wasm.wasm_bindgen__convert__closures_____invoke__hae1b6e87da448ee4(arg0, arg1);
249
+ function __wbg_adapter_19(arg0, arg1) {
250
+ wasm.wasm_bindgen__convert__closures_____invoke__hbd945c548694f0de(arg0, arg1);
251
251
  }
252
252
 
253
- function __wbg_adapter_212(arg0, arg1, arg2, arg3) {
254
- wasm.closure1825_externref_shim(arg0, arg1, arg2, arg3);
253
+ function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
254
+ wasm.closure1835_externref_shim(arg0, arg1, arg2, arg3);
255
255
  }
256
256
 
257
257
  const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
@@ -896,6 +896,10 @@ exports.__wbg_fromEntries_90d06c670ebbfb45 = function() { return handleError(fun
896
896
  return ret;
897
897
  }, arguments) };
898
898
 
899
+ exports.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
900
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
901
+ }, arguments) };
902
+
899
903
  exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
900
904
  arg0.getRandomValues(arg1);
901
905
  }, arguments) };
@@ -1055,7 +1059,7 @@ exports.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
1055
1059
  const a = state0.a;
1056
1060
  state0.a = 0;
1057
1061
  try {
1058
- return __wbg_adapter_212(a, state0.b, arg0, arg1);
1062
+ return __wbg_adapter_214(a, state0.b, arg0, arg1);
1059
1063
  } finally {
1060
1064
  state0.a = a;
1061
1065
  }
@@ -1410,9 +1414,9 @@ exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
1410
1414
  return ret;
1411
1415
  };
1412
1416
 
1413
- exports.__wbindgen_cast_4a0c4f1ed0f00828 = function(arg0, arg1) {
1414
- // Cast intrinsic for `Closure(Closure { dtor_idx: 546, function: Function { arguments: [Externref], shim_idx: 547, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1415
- const ret = makeMutClosure(arg0, arg1, 546, __wbg_adapter_10);
1417
+ exports.__wbindgen_cast_7c08b7b6f622c969 = function(arg0, arg1) {
1418
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 509, function: Function { arguments: [], shim_idx: 510, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1419
+ const ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_19);
1416
1420
  return ret;
1417
1421
  };
1418
1422
 
@@ -1422,9 +1426,9 @@ exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
1422
1426
  return ret;
1423
1427
  };
1424
1428
 
1425
- exports.__wbindgen_cast_b047884414de0a5d = function(arg0, arg1) {
1426
- // Cast intrinsic for `Closure(Closure { dtor_idx: 503, function: Function { arguments: [], shim_idx: 504, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1427
- const ret = makeMutClosure(arg0, arg1, 503, __wbg_adapter_15);
1429
+ exports.__wbindgen_cast_c8a75cba4fbd7360 = function(arg0, arg1) {
1430
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [Externref], shim_idx: 555, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1431
+ const ret = makeMutClosure(arg0, arg1, 554, __wbg_adapter_12);
1428
1432
  return ret;
1429
1433
  };
1430
1434
 
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.235-nodejs",
4
+ "version": "0.0.236-nodejs",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",