gleap 6.9.0 → 6.9.1

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/build/index.js +6 -6
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -570,14 +570,14 @@ var deepClone = function deepClone(host) {
570
570
  parent.appendChild(clone);
571
571
 
572
572
  if (node.shadowRoot) {
573
- walkTree(node.shadowRoot.firstChild, clone, shadowNodeId);
574
- handleAdoptedStyleSheets(node.shadowRoot, clone, shadowNodeId);
573
+ var rootShadowNodeId = shadowNodeId;
574
+ shadowNodeId++;
575
+ walkTree(node.shadowRoot.firstChild, clone, rootShadowNodeId);
576
+ handleAdoptedStyleSheets(node.shadowRoot, clone, rootShadowNodeId);
575
577
 
576
578
  if (typeof clone.setAttribute !== "undefined") {
577
- clone.setAttribute("bb-shadow-parent", shadowNodeId);
579
+ clone.setAttribute("bb-shadow-parent", rootShadowNodeId);
578
580
  }
579
-
580
- ++shadowNodeId;
581
581
  }
582
582
 
583
583
  walkTree(node.firstChild, clone);
@@ -6527,7 +6527,7 @@ var Gleap_Gleap = /*#__PURE__*/function () {
6527
6527
  currentUrl: window.location.href,
6528
6528
  language: navigator.language || navigator.userLanguage,
6529
6529
  mobile: isMobile(),
6530
- sdkVersion: "6.9.0",
6530
+ sdkVersion: "6.9.1",
6531
6531
  sdkType: "javascript"
6532
6532
  };
6533
6533
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gleap",
3
- "version": "6.9.0",
3
+ "version": "6.9.1",
4
4
  "main": "build/index.js",
5
5
  "scripts": {
6
6
  "start": "webpack serve",