@digipair/skill-keycloak 0.36.3 → 0.36.5

Sign up to get free protection for your applications and to get access to all the features.
package/index.cjs.js CHANGED
@@ -5647,7 +5647,7 @@ let KeycloakService = class KeycloakService {
5647
5647
  const output = _extends({}, context);
5648
5648
  for(const key in newContext){
5649
5649
  if (Object.prototype.hasOwnProperty.call(newContext, key)) {
5650
- if (typeof newContext[key] === 'object' && newContext[key] !== null && !Array.isArray(newContext[key]) && Object.prototype.hasOwnProperty.call(context, key)) {
5650
+ if (key !== 'protected' && typeof newContext[key] === 'object' && newContext[key] !== null && !Array.isArray(newContext[key]) && Object.prototype.hasOwnProperty.call(context, key)) {
5651
5651
  output[key] = _extends({}, context[key], newContext[key]);
5652
5652
  } else if (typeof newContext[key] !== 'undefined') {
5653
5653
  output[key] = newContext[key];
package/index.esm.js CHANGED
@@ -33088,7 +33088,7 @@ let KeycloakService = class KeycloakService {
33088
33088
  const output = _extends({}, context);
33089
33089
  for(const key in newContext){
33090
33090
  if (Object.prototype.hasOwnProperty.call(newContext, key)) {
33091
- if (typeof newContext[key] === 'object' && newContext[key] !== null && !Array.isArray(newContext[key]) && Object.prototype.hasOwnProperty.call(context, key)) {
33091
+ if (key !== 'protected' && typeof newContext[key] === 'object' && newContext[key] !== null && !Array.isArray(newContext[key]) && Object.prototype.hasOwnProperty.call(context, key)) {
33092
33092
  output[key] = _extends({}, context[key], newContext[key]);
33093
33093
  } else if (typeof newContext[key] !== 'undefined') {
33094
33094
  output[key] = newContext[key];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.36.3",
3
+ "version": "0.36.5",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"