@digipair/engine 0.63.1 → 0.64.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.
package/index.cjs.js CHANGED
@@ -8317,7 +8317,7 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
8317
8317
  return;
8318
8318
  }
8319
8319
  const element = document.createElement(pinsSettings.element);
8320
- element.setAttribute('data-digipair-pins', '');
8320
+ element.setAttributeNS('', 'data-digipair-pins', '');
8321
8321
  const library = pinsSettings.library;
8322
8322
  if (options.import && library !== 'web' && !_config.LIBRARIES[library]) {
8323
8323
  const config = context.config || {};
@@ -8330,7 +8330,7 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
8330
8330
  } else if (key === 'innerHTML') {
8331
8331
  element.innerHTML = value;
8332
8332
  } else if (typeof value === 'string') {
8333
- element.setAttribute(key, value);
8333
+ element.setAttributeNS('', key, value);
8334
8334
  } else {
8335
8335
  element[key] = value;
8336
8336
  }
package/index.esm.js CHANGED
@@ -27975,7 +27975,7 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
27975
27975
  return;
27976
27976
  }
27977
27977
  const element = document.createElement(pinsSettings.element);
27978
- element.setAttribute('data-digipair-pins', '');
27978
+ element.setAttributeNS('', 'data-digipair-pins', '');
27979
27979
  const library = pinsSettings.library;
27980
27980
  if (options.import && library !== 'web' && !_config.LIBRARIES[library]) {
27981
27981
  const config = context.config || {};
@@ -27988,7 +27988,7 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
27988
27988
  } else if (key === 'innerHTML') {
27989
27989
  element.innerHTML = value;
27990
27990
  } else if (typeof value === 'string') {
27991
- element.setAttribute(key, value);
27991
+ element.setAttributeNS('', key, value);
27992
27992
  } else {
27993
27993
  element[key] = value;
27994
27994
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/engine",
3
- "version": "0.63.1",
3
+ "version": "0.64.0",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",
File without changes
File without changes