@paramms/chat-widget 1.0.11 → 1.0.13

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/dist/index.js CHANGED
@@ -1763,7 +1763,7 @@ class Dt {
1763
1763
  r(this, "showingTranslation", /* @__PURE__ */ new Set());
1764
1764
  r(this, "subjectBuilt", !1);
1765
1765
  var y, g, C, T, U, B, K, P, H;
1766
- this.root = e, this.me = t, this.h = n, this.cfg = i, Lt(), e.classList.add("ocw"), i.accent && e.style.setProperty("--ocw-accent", i.accent);
1766
+ this.root = e, this.me = t, this.h = n, this.cfg = i, Lt(), e.replaceChildren(), e.classList.add("ocw"), i.accent && e.style.setProperty("--ocw-accent", i.accent);
1767
1767
  const o = a("div", "ocw-head"), c = a("div", "ocw-avatar");
1768
1768
  if ((y = i.userInfo) != null && y.avatar) {
1769
1769
  const v = document.createElement("img");