@social-mail/social-mail-client 1.2.719 → 1.2.721

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.2.719",
3
+ "version": "1.2.721",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -207,18 +207,6 @@ export default class WebSitePageEditor extends HtmlPageEditor {
207
207
 
208
208
  await Promise.all(pending.map((x) => x()));
209
209
 
210
- let script = doc.querySelector("script[web-components]");
211
- if (!script) {
212
- script = doc.createElement("script");
213
- script.setAttribute("web-components", "social");
214
- script.setAttribute("async", "true");
215
- script.setAttribute("defer", "true");
216
- doc.head.appendChild(doc.createTextNode("\n"));
217
- doc.head.appendChild(script);
218
- doc.head.appendChild(doc.createTextNode("\n"));
219
- }
220
- script.setAttribute("src", `${WebComponents.path}/dist/main.js`);
221
-
222
210
  // install free fa script...
223
211
  const start = "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free";
224
212
  if(!Array.from(doc.querySelectorAll(`link[rel=stylesheet]`)).find((x) => x.getAttribute("href").startsWith(start))) {