@janssenproject/cedarling_wasm 1.12.0-nodejs → 1.13.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 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_12(arg0, arg1) {
246
- wasm.wasm_bindgen__convert__closures_____invoke__he6c7a67b2aad2b08(arg0, arg1);
245
+ function __wbg_adapter_8(arg0, arg1, arg2) {
246
+ wasm.closure551_externref_shim(arg0, arg1, arg2);
247
247
  }
248
248
 
249
- function __wbg_adapter_17(arg0, arg1, arg2) {
250
- wasm.closure549_externref_shim(arg0, arg1, arg2);
249
+ function __wbg_adapter_15(arg0, arg1) {
250
+ wasm.wasm_bindgen__convert__closures_____invoke__hd85855495ef290f9(arg0, arg1);
251
251
  }
252
252
 
253
- function __wbg_adapter_212(arg0, arg1, arg2, arg3) {
254
- wasm.closure1838_externref_shim(arg0, arg1, arg2, arg3);
253
+ function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
254
+ wasm.closure1832_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"];
@@ -848,7 +848,7 @@ exports.__wbg_cedarling_new = function(arg0) {
848
848
  return ret;
849
849
  };
850
850
 
851
- exports.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
851
+ exports.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
852
852
  const ret = clearTimeout(arg0);
853
853
  return ret;
854
854
  };
@@ -881,13 +881,13 @@ exports.__wbg_error_3e65ef00ce5a8b19 = function(arg0) {
881
881
  console.error(...arg0);
882
882
  };
883
883
 
884
- exports.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
885
- const ret = arg0.fetch(arg1);
884
+ exports.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
885
+ const ret = fetch(arg0);
886
886
  return ret;
887
887
  };
888
888
 
889
- exports.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
890
- const ret = fetch(arg0);
889
+ exports.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
890
+ const ret = arg0.fetch(arg1);
891
891
  return ret;
892
892
  };
893
893
 
@@ -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_1c61fac11405ffdc = 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
  }
@@ -1174,7 +1178,7 @@ exports.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
1174
1178
  return ret;
1175
1179
  };
1176
1180
 
1177
- exports.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
1181
+ exports.__wbg_setTimeout_7bb3429662ab1e70 = function(arg0, arg1) {
1178
1182
  const ret = setTimeout(arg0, arg1);
1179
1183
  return ret;
1180
1184
  };
@@ -1398,9 +1402,9 @@ exports.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
1398
1402
  throw new Error(getStringFromWasm0(arg0, arg1));
1399
1403
  };
1400
1404
 
1401
- exports.__wbindgen_cast_18ca959934895024 = function(arg0, arg1) {
1402
- // Cast intrinsic for `Closure(Closure { dtor_idx: 504, function: Function { arguments: [], shim_idx: 505, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1403
- const ret = makeMutClosure(arg0, arg1, 504, __wbg_adapter_12);
1405
+ exports.__wbindgen_cast_1be559affc47552a = function(arg0, arg1) {
1406
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 507, function: Function { arguments: [], shim_idx: 508, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1407
+ const ret = makeMutClosure(arg0, arg1, 507, __wbg_adapter_15);
1404
1408
  return ret;
1405
1409
  };
1406
1410
 
@@ -1416,9 +1420,9 @@ exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
1416
1420
  return ret;
1417
1421
  };
1418
1422
 
1419
- exports.__wbindgen_cast_777e541acebb07c2 = function(arg0, arg1) {
1420
- // Cast intrinsic for `Closure(Closure { dtor_idx: 548, function: Function { arguments: [Externref], shim_idx: 549, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1421
- const ret = makeMutClosure(arg0, arg1, 548, __wbg_adapter_17);
1423
+ exports.__wbindgen_cast_6caffbe795a425f3 = function(arg0, arg1) {
1424
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 550, function: Function { arguments: [Externref], shim_idx: 551, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1425
+ const ret = makeMutClosure(arg0, arg1, 550, __wbg_adapter_8);
1422
1426
  return ret;
1423
1427
  };
1424
1428
 
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.12.0-nodejs",
4
+ "version": "1.13.0-nodejs",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",