@social-mail/social-mail-client 1.8.20 → 1.8.24

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.
@@ -26897,8 +26897,13 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
26897
26897
  return;
26898
26898
  }
26899
26899
  doc[webComponentsInstalled] = true;
26900
- const url = this.path + "/dist/editable.js";
26901
- const cssUrl = location.protocol + this.path + "/dist/editable.css";
26900
+ let path = this.path;
26901
+ const packages = yield FetchBuilder.get("/social-mail/config/packages").asJson();
26902
+ for (const element of packages) {
26903
+ path = path.replace(element.latest, element.version);
26904
+ }
26905
+ const url = path + "/dist/editable.js";
26906
+ const cssUrl = location.protocol + path + "/dist/editable.css";
26902
26907
  const win = doc.defaultView;
26903
26908
  win["__web_components_css_path__"] = cssUrl;
26904
26909
  frame.sandbox.add("allow-scripts");