@digipair/skill-keycloak 0.32.3 → 0.32.6

Sign up to get free protection for your applications and to get access to all the features.
package/index.cjs.js CHANGED
@@ -23523,14 +23523,14 @@ function indent(str, spaces) {
23523
23523
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23524
23524
  // match is required
23525
23525
  if (!match) {
23526
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23526
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23527
23527
  v: nextMatch1
23528
23528
  };
23529
23529
  }
23530
23530
  var token = match.token, offset = match.offset;
23531
23531
  i1 += offset;
23532
23532
  if (token === " ") {
23533
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23533
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23534
23534
  }
23535
23535
  tokens1 = _to_consumable_array$3(tokens1).concat([
23536
23536
  token
@@ -23549,7 +23549,7 @@ function indent(str, spaces) {
23549
23549
  if (contextKeys.some(function(el) {
23550
23550
  return el.startsWith(name);
23551
23551
  })) {
23552
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23552
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23553
23553
  }
23554
23554
  if (dateTimeIdentifiers.some(function(el) {
23555
23555
  return el === name;
@@ -23568,9 +23568,9 @@ function indent(str, spaces) {
23568
23568
  if (dateTimeIdentifiers.some(function(el) {
23569
23569
  return el.startsWith(name);
23570
23570
  })) {
23571
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23571
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23572
23572
  }
23573
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23573
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23574
23574
  v: nextMatch1
23575
23575
  };
23576
23576
  };
@@ -27381,7 +27381,8 @@ const applyTemplate = (value, context)=>{
27381
27381
  atob: (value)=>atob(value),
27382
27382
  btoa: (value)=>btoa(value),
27383
27383
  encodeURIComponent: (value)=>encodeURIComponent(value),
27384
- decodeURIComponent: (value)=>decodeURIComponent(value)
27384
+ decodeURIComponent: (value)=>decodeURIComponent(value),
27385
+ JSONparse: (value)=>JSON.parse(value)
27385
27386
  }));
27386
27387
  }
27387
27388
  } else if (typeof value === 'object' && Array.isArray(value)) {
@@ -27472,9 +27473,6 @@ const preparePinsSettings = async (settings, context)=>{
27472
27473
  variables: context.variables || {},
27473
27474
  conditions: context.conditions || {}
27474
27475
  });
27475
- for (const [key, value] of Object.entries(settings.variables || {})){
27476
- localContext.variables[key] = applyTemplate(value, localContext);
27477
- }
27478
27476
  const conditions = {};
27479
27477
  for (const [key, value] of Object.entries(settings.conditions || {})){
27480
27478
  conditions[key] = await applyTemplate(value, localContext);
package/index.esm.js CHANGED
@@ -23494,14 +23494,14 @@ function indent(str, spaces) {
23494
23494
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23495
23495
  // match is required
23496
23496
  if (!match) {
23497
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23497
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23498
23498
  v: nextMatch1
23499
23499
  };
23500
23500
  }
23501
23501
  var token = match.token, offset = match.offset;
23502
23502
  i1 += offset;
23503
23503
  if (token === " ") {
23504
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23504
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23505
23505
  }
23506
23506
  tokens1 = _to_consumable_array$3(tokens1).concat([
23507
23507
  token
@@ -23520,7 +23520,7 @@ function indent(str, spaces) {
23520
23520
  if (contextKeys.some(function(el) {
23521
23521
  return el.startsWith(name);
23522
23522
  })) {
23523
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23523
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23524
23524
  }
23525
23525
  if (dateTimeIdentifiers.some(function(el) {
23526
23526
  return el === name;
@@ -23539,9 +23539,9 @@ function indent(str, spaces) {
23539
23539
  if (dateTimeIdentifiers.some(function(el) {
23540
23540
  return el.startsWith(name);
23541
23541
  })) {
23542
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23542
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23543
23543
  }
23544
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23544
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23545
23545
  v: nextMatch1
23546
23546
  };
23547
23547
  };
@@ -27352,7 +27352,8 @@ const applyTemplate = (value, context)=>{
27352
27352
  atob: (value)=>atob(value),
27353
27353
  btoa: (value)=>btoa(value),
27354
27354
  encodeURIComponent: (value)=>encodeURIComponent(value),
27355
- decodeURIComponent: (value)=>decodeURIComponent(value)
27355
+ decodeURIComponent: (value)=>decodeURIComponent(value),
27356
+ JSONparse: (value)=>JSON.parse(value)
27356
27357
  }));
27357
27358
  }
27358
27359
  } else if (typeof value === 'object' && Array.isArray(value)) {
@@ -27443,9 +27444,6 @@ const preparePinsSettings = async (settings, context)=>{
27443
27444
  variables: context.variables || {},
27444
27445
  conditions: context.conditions || {}
27445
27446
  });
27446
- for (const [key, value] of Object.entries(settings.variables || {})){
27447
- localContext.variables[key] = applyTemplate(value, localContext);
27448
- }
27449
27447
  const conditions = {};
27450
27448
  for (const [key, value] of Object.entries(settings.conditions || {})){
27451
27449
  conditions[key] = await applyTemplate(value, localContext);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.32.3",
3
+ "version": "0.32.6",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.en.json CHANGED
@@ -315,7 +315,7 @@
315
315
  {
316
316
  "name": "selector",
317
317
  "summary": "Selector",
318
- "required": true,
318
+ "required": false,
319
319
  "description": "CSS selector",
320
320
  "schema": {
321
321
  "type": "string"
@@ -324,7 +324,7 @@
324
324
  {
325
325
  "name": "url",
326
326
  "summary": "RegEx Url",
327
- "required": true,
327
+ "required": false,
328
328
  "description": "RegEx url",
329
329
  "schema": {
330
330
  "type": "string"
package/schema.fr.json CHANGED
@@ -315,7 +315,7 @@
315
315
  {
316
316
  "name": "selector",
317
317
  "summary": "Sélecteur CSS du déclencheur",
318
- "required": true,
318
+ "required": false,
319
319
  "description": "Sélecteur CSS du déclencheur",
320
320
  "schema": {
321
321
  "type": "string"
package/schema.json CHANGED
@@ -315,7 +315,7 @@
315
315
  {
316
316
  "name": "selector",
317
317
  "summary": "Selector",
318
- "required": true,
318
+ "required": false,
319
319
  "description": "CSS selector",
320
320
  "schema": {
321
321
  "type": "string"
@@ -324,7 +324,7 @@
324
324
  {
325
325
  "name": "url",
326
326
  "summary": "RegEx Url",
327
- "required": true,
327
+ "required": false,
328
328
  "description": "RegEx url",
329
329
  "schema": {
330
330
  "type": "string"