@digipair/skill-keycloak 0.65.4 → 0.65.5

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
@@ -16618,7 +16618,8 @@ let KeycloakService = class KeycloakService {
16618
16618
  return JSON.stringify(await engine.executePinsList(pinsSettingsList, this.mergeConttext(context.request.body.context, context)));
16619
16619
  }
16620
16620
  const path = context.protected.req.path.replace(/\/$/g, '');
16621
- const baseUrl = context.protected.req.protocol + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
16621
+ var _context_request_headers_xforwardedproto;
16622
+ const baseUrl = ((_context_request_headers_xforwardedproto = context.request.headers['x-forwarded-proto']) != null ? _context_request_headers_xforwardedproto : context.protected.req.protocol) + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
16622
16623
  await engine.executePinsList(factoryInitialize, context);
16623
16624
  const html = `
16624
16625
  <!DOCTYPE html>
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 i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23910
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
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 i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23917
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "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 i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23936
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "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 i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23955
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23956
23956
  }
23957
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23957
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23958
23958
  v: nextMatch1
23959
23959
  };
23960
23960
  };
@@ -44646,7 +44646,8 @@ let KeycloakService = class KeycloakService {
44646
44646
  return JSON.stringify(await executePinsList(pinsSettingsList, this.mergeConttext(context.request.body.context, context)));
44647
44647
  }
44648
44648
  const path = context.protected.req.path.replace(/\/$/g, '');
44649
- const baseUrl = context.protected.req.protocol + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
44649
+ var _context_request_headers_xforwardedproto;
44650
+ const baseUrl = ((_context_request_headers_xforwardedproto = context.request.headers['x-forwarded-proto']) != null ? _context_request_headers_xforwardedproto : context.protected.req.protocol) + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
44650
44651
  await executePinsList(factoryInitialize, context);
44651
44652
  const html = `
44652
44653
  <!DOCTYPE html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.65.4",
3
+ "version": "0.65.5",
4
4
  "dependencies": {
5
5
  "jsdom": "^25.0.1"
6
6
  },