@digipair/skill-keycloak 0.65.0 → 0.65.2

Sign up to get free protection for your applications and to get access to all the features.
package/index.cjs.js CHANGED
@@ -16562,13 +16562,12 @@ let KeycloakService = class KeycloakService {
16562
16562
  const match = fileUrl.match(regex);
16563
16563
  if (!match) {
16564
16564
  context.protected.res.status(404);
16565
- console.log('ici', match, fileUrl);
16566
16565
  return {
16567
16566
  status: 'not found'
16568
16567
  };
16569
16568
  }
16570
16569
  const library = match[1];
16571
- if (library !== '@digipair/engine' && !context.config.VERSIONS[library]) {
16570
+ if (library !== '@digipair/engine' && !context.config.VERSIONS[library] && !context.config.WEB_VERSION[library]) {
16572
16571
  context.protected.res.status(404);
16573
16572
  return {
16574
16573
  status: 'not found'
@@ -16689,7 +16688,7 @@ let KeycloakService = class KeycloakService {
16689
16688
  VERSIONS: ${JSON.stringify(context.config.VERSIONS || {})},
16690
16689
  },
16691
16690
  variables: ${JSON.stringify(context.variables || {})},
16692
- request: ${JSON.stringify(context.request || {})},
16691
+ request: ${JSON.stringify(context.request || {})})},
16693
16692
  keycloak: { isLogged: keycloakService.isLogged },
16694
16693
  };
16695
16694
 
package/index.esm.js CHANGED
@@ -23907,14 +23907,14 @@ function indent(str, spaces) {
23907
23907
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23908
23908
  // match is required
23909
23909
  if (!match) {
23910
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23910
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23911
23911
  v: nextMatch1
23912
23912
  };
23913
23913
  }
23914
23914
  var token = match.token, offset = match.offset;
23915
23915
  i1 += offset;
23916
23916
  if (token === " ") {
23917
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23917
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23918
23918
  }
23919
23919
  tokens1 = _to_consumable_array$3(tokens1).concat([
23920
23920
  token
@@ -23933,7 +23933,7 @@ function indent(str, spaces) {
23933
23933
  if (contextKeys.some(function(el) {
23934
23934
  return el.startsWith(name);
23935
23935
  })) {
23936
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23936
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23937
23937
  }
23938
23938
  if (dateTimeIdentifiers.some(function(el) {
23939
23939
  return el === name;
@@ -23952,9 +23952,9 @@ function indent(str, spaces) {
23952
23952
  if (dateTimeIdentifiers.some(function(el) {
23953
23953
  return el.startsWith(name);
23954
23954
  })) {
23955
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23955
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23956
23956
  }
23957
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23957
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23958
23958
  v: nextMatch1
23959
23959
  };
23960
23960
  };
@@ -44590,13 +44590,12 @@ let KeycloakService = class KeycloakService {
44590
44590
  const match = fileUrl.match(regex);
44591
44591
  if (!match) {
44592
44592
  context.protected.res.status(404);
44593
- console.log('ici', match, fileUrl);
44594
44593
  return {
44595
44594
  status: 'not found'
44596
44595
  };
44597
44596
  }
44598
44597
  const library = match[1];
44599
- if (library !== '@digipair/engine' && !context.config.VERSIONS[library]) {
44598
+ if (library !== '@digipair/engine' && !context.config.VERSIONS[library] && !context.config.WEB_VERSION[library]) {
44600
44599
  context.protected.res.status(404);
44601
44600
  return {
44602
44601
  status: 'not found'
@@ -44717,7 +44716,7 @@ let KeycloakService = class KeycloakService {
44717
44716
  VERSIONS: ${JSON.stringify(context.config.VERSIONS || {})},
44718
44717
  },
44719
44718
  variables: ${JSON.stringify(context.variables || {})},
44720
- request: ${JSON.stringify(context.request || {})},
44719
+ request: ${JSON.stringify(context.request || {})})},
44721
44720
  keycloak: { isLogged: keycloakService.isLogged },
44722
44721
  };
44723
44722
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.65.0",
3
+ "version": "0.65.2",
4
4
  "dependencies": {
5
5
  "jsdom": "^25.0.1"
6
6
  },
File without changes