@digipair/skill-keycloak 0.64.1 → 0.64.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.esm.js +9 -7
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -23905,14 +23905,14 @@ function indent(str, spaces) {
23905
23905
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23906
23906
  // match is required
23907
23907
  if (!match) {
23908
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23908
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23909
23909
  v: nextMatch1
23910
23910
  };
23911
23911
  }
23912
23912
  var token = match.token, offset = match.offset;
23913
23913
  i1 += offset;
23914
23914
  if (token === " ") {
23915
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23915
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23916
23916
  }
23917
23917
  tokens1 = _to_consumable_array$3(tokens1).concat([
23918
23918
  token
@@ -23931,7 +23931,7 @@ function indent(str, spaces) {
23931
23931
  if (contextKeys.some(function(el) {
23932
23932
  return el.startsWith(name);
23933
23933
  })) {
23934
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23934
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23935
23935
  }
23936
23936
  if (dateTimeIdentifiers.some(function(el) {
23937
23937
  return el === name;
@@ -23950,9 +23950,9 @@ function indent(str, spaces) {
23950
23950
  if (dateTimeIdentifiers.some(function(el) {
23951
23951
  return el.startsWith(name);
23952
23952
  })) {
23953
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23953
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23954
23954
  }
23955
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23955
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23956
23956
  v: nextMatch1
23957
23957
  };
23958
23958
  };
@@ -27997,7 +27997,9 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
27997
27997
  return;
27998
27998
  }
27999
27999
  const element = document.createElement(pinsSettings.element);
28000
- element.setAttributeNS('', 'data-digipair-pins', '');
28000
+ // add digipair-vision and aframe compatibility
28001
+ const setAttribute = (attribute, value)=>pinsSettings.element.startsWith('a-') || pinsSettings.element.startsWith('dxr-') ? element.setAttributeNS('', attribute, value) : element.setAttribute(attribute, value);
28002
+ setAttribute('data-digipair-pins', '');
28001
28003
  const library = pinsSettings.library;
28002
28004
  if (options.import && library !== 'web' && !_config.LIBRARIES[library]) {
28003
28005
  const config = context.config || {};
@@ -28010,7 +28012,7 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
28010
28012
  } else if (key === 'innerHTML') {
28011
28013
  element.innerHTML = value;
28012
28014
  } else if (typeof value === 'string') {
28013
- element.setAttributeNS('', key, value);
28015
+ setAttribute(key, value);
28014
28016
  } else {
28015
28017
  element[key] = value;
28016
28018
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-keycloak",
3
- "version": "0.64.1",
3
+ "version": "0.64.5",
4
4
  "dependencies": {
5
5
  "jsdom": "^25.0.1"
6
6
  },