@digipair/skill-keycloak 0.8.2 → 0.8.4

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/index.cjs.js CHANGED
@@ -23522,14 +23522,14 @@ function indent(str, spaces) {
23522
23522
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23523
23523
  // match is required
23524
23524
  if (!match) {
23525
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23525
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23526
23526
  v: nextMatch1
23527
23527
  };
23528
23528
  }
23529
23529
  var token = match.token, offset = match.offset;
23530
23530
  i1 += offset;
23531
23531
  if (token === " ") {
23532
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23532
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23533
23533
  }
23534
23534
  tokens1 = _to_consumable_array$3(tokens1).concat([
23535
23535
  token
@@ -23548,7 +23548,7 @@ function indent(str, spaces) {
23548
23548
  if (contextKeys.some(function(el) {
23549
23549
  return el.startsWith(name);
23550
23550
  })) {
23551
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23551
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23552
23552
  }
23553
23553
  if (dateTimeIdentifiers.some(function(el) {
23554
23554
  return el === name;
@@ -23567,9 +23567,9 @@ function indent(str, spaces) {
23567
23567
  if (dateTimeIdentifiers.some(function(el) {
23568
23568
  return el.startsWith(name);
23569
23569
  })) {
23570
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23570
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23571
23571
  }
23572
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23572
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23573
23573
  v: nextMatch1
23574
23574
  };
23575
23575
  };
@@ -27354,7 +27354,9 @@ function findNext(nodeRef) {
27354
27354
  handlebars_min.exports.registerHelper('JSONstringify', function(value) {
27355
27355
  return JSON.stringify(value);
27356
27356
  });
27357
- const _config = {
27357
+ const globalInstance = typeof window === 'undefined' ? global : window;
27358
+ var _globalInstance___DIGIPAIR_CONFIG__;
27359
+ const _config = globalInstance.__DIGIPAIR_CONFIG__ = (_globalInstance___DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_CONFIG__) != null ? _globalInstance___DIGIPAIR_CONFIG__ : {
27358
27360
  LIBRARIES: {},
27359
27361
  BASE_URL: 'https://cdn.jsdelivr.net/npm'
27360
27362
  };
package/index.esm.js CHANGED
@@ -23493,14 +23493,14 @@ function indent(str, spaces) {
23493
23493
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23494
23494
  // match is required
23495
23495
  if (!match) {
23496
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23496
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23497
23497
  v: nextMatch1
23498
23498
  };
23499
23499
  }
23500
23500
  var token = match.token, offset = match.offset;
23501
23501
  i1 += offset;
23502
23502
  if (token === " ") {
23503
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23503
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23504
23504
  }
23505
23505
  tokens1 = _to_consumable_array$3(tokens1).concat([
23506
23506
  token
@@ -23519,7 +23519,7 @@ function indent(str, spaces) {
23519
23519
  if (contextKeys.some(function(el) {
23520
23520
  return el.startsWith(name);
23521
23521
  })) {
23522
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23522
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23523
23523
  }
23524
23524
  if (dateTimeIdentifiers.some(function(el) {
23525
23525
  return el === name;
@@ -23538,9 +23538,9 @@ function indent(str, spaces) {
23538
23538
  if (dateTimeIdentifiers.some(function(el) {
23539
23539
  return el.startsWith(name);
23540
23540
  })) {
23541
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23541
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23542
23542
  }
23543
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23543
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23544
23544
  v: nextMatch1
23545
23545
  };
23546
23546
  };
@@ -27325,7 +27325,9 @@ function findNext(nodeRef) {
27325
27325
  handlebars_min.exports.registerHelper('JSONstringify', function(value) {
27326
27326
  return JSON.stringify(value);
27327
27327
  });
27328
- const _config = {
27328
+ const globalInstance = typeof window === 'undefined' ? global : window;
27329
+ var _globalInstance___DIGIPAIR_CONFIG__;
27330
+ const _config = globalInstance.__DIGIPAIR_CONFIG__ = (_globalInstance___DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_CONFIG__) != null ? _globalInstance___DIGIPAIR_CONFIG__ : {
27329
27331
  LIBRARIES: {},
27330
27332
  BASE_URL: 'https://cdn.jsdelivr.net/npm'
27331
27333
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.json CHANGED
@@ -56,53 +56,6 @@
56
56
  "metadata": [],
57
57
  "parameters": []
58
58
  }
59
- },
60
- "/service": {
61
- "summary": "Web service",
62
- "description": "Réponse à un appel http.",
63
- "tags": ["service"],
64
- "metadata": [],
65
- "parameters": [
66
- {
67
- "name": "execute",
68
- "summary": "Exécute",
69
- "required": true,
70
- "description": "Commandes à exécuter",
71
- "schema": {
72
- "type": "array",
73
- "items": {
74
- "$ref": "https://schemas.digipair.ai/pinsSettings"
75
- }
76
- }
77
- },
78
- {
79
- "name": "secured",
80
- "summary": "Sécurisé",
81
- "required": false,
82
- "description": "Accès autorisé seulement si un token Keycloak est fourni",
83
- "schema": {
84
- "type": "string"
85
- }
86
- },
87
- {
88
- "name": "url",
89
- "summary": "Adresse du Keycloak",
90
- "required": false,
91
- "description": "Adresse du serveur Keycloak",
92
- "schema": {
93
- "type": "string"
94
- }
95
- },
96
- {
97
- "name": "realm",
98
- "summary": "Realm",
99
- "required": false,
100
- "description": "Realm du serveur Keycloak",
101
- "schema": {
102
- "type": "string"
103
- }
104
- }
105
- ]
106
59
  }
107
60
  },
108
61
  "components": {
@@ -251,6 +204,53 @@
251
204
  }
252
205
  }
253
206
  ]
207
+ },
208
+ "/service": {
209
+ "summary": "Web service",
210
+ "description": "Réponse à un appel http.",
211
+ "tags": ["service"],
212
+ "metadata": [],
213
+ "parameters": [
214
+ {
215
+ "name": "execute",
216
+ "summary": "Exécute",
217
+ "required": true,
218
+ "description": "Commandes à exécuter",
219
+ "schema": {
220
+ "type": "array",
221
+ "items": {
222
+ "$ref": "https://schemas.digipair.ai/pinsSettings"
223
+ }
224
+ }
225
+ },
226
+ {
227
+ "name": "secured",
228
+ "summary": "Sécurisé",
229
+ "required": false,
230
+ "description": "Accès autorisé seulement si un token Keycloak est fourni",
231
+ "schema": {
232
+ "type": "string"
233
+ }
234
+ },
235
+ {
236
+ "name": "url",
237
+ "summary": "Adresse du Keycloak",
238
+ "required": false,
239
+ "description": "Adresse du serveur Keycloak",
240
+ "schema": {
241
+ "type": "string"
242
+ }
243
+ },
244
+ {
245
+ "name": "realm",
246
+ "summary": "Realm",
247
+ "required": false,
248
+ "description": "Realm du serveur Keycloak",
249
+ "schema": {
250
+ "type": "string"
251
+ }
252
+ }
253
+ ]
254
254
  }
255
255
  }
256
256
  }