@digipair/skill-keycloak 0.60.8 → 0.62.0

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.
Files changed (2) hide show
  1. package/index.esm.js +4 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -27863,12 +27863,16 @@ const executePins = async (settingsOrigin, context = {})=>{
27863
27863
  var _settings_conditions, _settings_conditions1;
27864
27864
  let settings = await preparePinsSettings(settingsOrigin, context);
27865
27865
  const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
27866
+ const config = context.config || {};
27867
+ let version = (config.VERSIONS || {})[settings.library] || 'latest';
27866
27868
  if (alias) {
27867
27869
  settings = await preparePinsSettings(_extends({}, settings, alias), {
27868
27870
  settings: _extends({}, settings, {
27871
+ version,
27869
27872
  library: settings.library.substring(alias.name.length + 1)
27870
27873
  })
27871
27874
  });
27875
+ version = (config.VERSIONS || {})[settings.library] || 'latest';
27872
27876
  }
27873
27877
  if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
27874
27878
  const results = [];
@@ -27909,8 +27913,6 @@ const executePins = async (settingsOrigin, context = {})=>{
27909
27913
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
27910
27914
  throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
27911
27915
  }
27912
- const config = context.config || {};
27913
- const version = (config.VERSIONS || {})[settings.library] || 'latest';
27914
27916
  const library = _config.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await import(isRemoteVersion.test(version) ? `${version}` : `${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`));
27915
27917
  const pins = library == null ? void 0 : library[settings.element];
27916
27918
  if (!pins) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.60.8",
3
+ "version": "0.62.0",
4
4
  "dependencies": {
5
5
  "jsdom": "^25.0.1"
6
6
  },