@digipair/skill-keycloak 0.38.3 → 0.38.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
@@ -5711,7 +5711,7 @@ let KeycloakService = class KeycloakService {
5711
5711
  headers: {
5712
5712
  ...options.headers,
5713
5713
  'Content-Type': 'application/json',
5714
- 'authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
5714
+ 'Authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
5715
5715
  },
5716
5716
  });
5717
5717
  };
@@ -5720,8 +5720,8 @@ let KeycloakService = class KeycloakService {
5720
5720
  executeFactory: async (params, pinsSettingsList, context) => {
5721
5721
  const result = await fetch(window.location, {
5722
5722
  headers: {
5723
- 'content-type': 'application/json',
5724
- 'authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
5723
+ 'Content-Type': 'application/json',
5724
+ 'Authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
5725
5725
  },
5726
5726
  body: JSON.stringify({ type: 'DIGIPAIR_EXECUTE_FACTORY', params, pinsSettingsList, context }),
5727
5727
  method: 'POST',
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, nextMatch = nextMatch1, i = i1, {
23497
+ return nextMatch = nextMatch1, i = i1, 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, nextMatch = nextMatch1, i = i1, "continue";
23504
+ return nextMatch = nextMatch1, i = i1, 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, nextMatch = nextMatch1, i = i1, "continue";
23523
+ return nextMatch = nextMatch1, i = i1, 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, nextMatch = nextMatch1, i = i1, "continue";
23542
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23543
23543
  }
23544
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23544
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23545
23545
  v: nextMatch1
23546
23546
  };
23547
23547
  };
@@ -33152,7 +33152,7 @@ let KeycloakService = class KeycloakService {
33152
33152
  headers: {
33153
33153
  ...options.headers,
33154
33154
  'Content-Type': 'application/json',
33155
- 'authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
33155
+ 'Authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
33156
33156
  },
33157
33157
  });
33158
33158
  };
@@ -33161,8 +33161,8 @@ let KeycloakService = class KeycloakService {
33161
33161
  executeFactory: async (params, pinsSettingsList, context) => {
33162
33162
  const result = await fetch(window.location, {
33163
33163
  headers: {
33164
- 'content-type': 'application/json',
33165
- 'authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
33164
+ 'Content-Type': 'application/json',
33165
+ 'Authorization': keycloakService.isLogged ? 'Bearer ' + await keycloakService.token() : undefined,
33166
33166
  },
33167
33167
  body: JSON.stringify({ type: 'DIGIPAIR_EXECUTE_FACTORY', params, pinsSettingsList, context }),
33168
33168
  method: 'POST',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.38.3",
3
+ "version": "0.38.5",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"