@social-mail/social-mail-client 1.2.644 → 1.2.645

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.
@@ -54463,6 +54463,20 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
54463
54463
  componentScript.setAttribute("src", src);
54464
54464
  }
54465
54465
  }
54466
+ let wc = clone.querySelector("script[web-components]");
54467
+ if (!wc) {
54468
+ wc = this.htmlDocument.createElement("script");
54469
+ wc.setAttribute("web-components", "social");
54470
+ wc.setAttribute("async", "true");
54471
+ wc.setAttribute("defer", "true");
54472
+ clone.head.appendChild(doc.createTextNode("\n"));
54473
+ clone.head.appendChild(wc);
54474
+ clone.head.appendChild(doc.createTextNode("\n"));
54475
+ }
54476
+ const wcs = `${WebComponents.path}/dist/main.js`;
54477
+ if (wc.getAttribute("src") !== wcs) {
54478
+ wc.setAttribute("src", wcs);
54479
+ }
54466
54480
  }, 10);
54467
54481
  });
54468
54482
  }