@digipair/skill-keycloak 0.21.14 → 0.22.1

Sign up to get free protection for your applications and to get access to all the features.
package/index.cjs.js CHANGED
@@ -27376,7 +27376,11 @@ const applyTemplate = (value, context)=>{
27376
27376
  if (result.startsWith('EVALUATE:')) {
27377
27377
  const path = result.replace(/^EVALUATE:/, '');
27378
27378
  result = evaluate(path, _extends({}, context, {
27379
- getTime: (time)=>new Date(time).getTime()
27379
+ getTime: (time)=>new Date(time).getTime(),
27380
+ atob: (value)=>atob(value),
27381
+ btoa: (value)=>btoa(value),
27382
+ encodeURIComponent: (value)=>encodeURIComponent(value),
27383
+ decodeURIComponent: (value)=>decodeURIComponent(value)
27380
27384
  }));
27381
27385
  }
27382
27386
  } else if (typeof value === 'object' && Array.isArray(value)) {
package/index.esm.js CHANGED
@@ -27347,7 +27347,11 @@ const applyTemplate = (value, context)=>{
27347
27347
  if (result.startsWith('EVALUATE:')) {
27348
27348
  const path = result.replace(/^EVALUATE:/, '');
27349
27349
  result = evaluate(path, _extends({}, context, {
27350
- getTime: (time)=>new Date(time).getTime()
27350
+ getTime: (time)=>new Date(time).getTime(),
27351
+ atob: (value)=>atob(value),
27352
+ btoa: (value)=>btoa(value),
27353
+ encodeURIComponent: (value)=>encodeURIComponent(value),
27354
+ decodeURIComponent: (value)=>decodeURIComponent(value)
27351
27355
  }));
27352
27356
  }
27353
27357
  } else if (typeof value === 'object' && Array.isArray(value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.21.14",
3
+ "version": "0.22.1",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"