widget-chatbot 2.0.2-alpha.1 → 2.0.2-alpha.3

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.
@@ -662,7 +662,11 @@ function ro() {
662
662
  return mn || (mn = 1, process.env.NODE_ENV === "production" ? lt.exports = to() : lt.exports = no()), lt.exports;
663
663
  }
664
664
  var t = ro();
665
- const oo = "2.0.1", Vn = "chat_session", so = "user_uttered", io = "bot_uttered", ao = "ehelp_bot_uttered";
665
+ const oo = "2.0.2-alpha.3", Vn = "chat_session", so = "user_uttered", io = "bot_uttered", ao = "ehelp_bot_uttered";
666
+ JSON.stringify({
667
+ enabled_agents: ["Alice", "Maria", "Jani"],
668
+ default_active_agent: "Alice"
669
+ });
666
670
  JSON.stringify({
667
671
  enabled_agents: ["Alice", "Maria", "Jani"],
668
672
  default_active_agent: "Alice"
@@ -1606,24 +1610,20 @@ const Le = (e = ".w-wrapper-body") => {
1606
1610
  const h = f.href, p = (j = f.children) == null ? void 0 : j[0], x = bn(h), v = bn(
1607
1611
  a == null ? void 0 : a.uriBackend
1608
1612
  );
1609
- if (!x && v) {
1610
- const w = (C = Eo(
1611
- a == null ? void 0 : a.uriBackend
1612
- )) == null ? void 0 : C.origin;
1613
- return /* @__PURE__ */ t.jsx(
1614
- "span",
1615
- {
1616
- className: "w-link-path",
1617
- onClick: (T) => {
1618
- T.stopPropagation();
1619
- const E = `${w}${h}`;
1620
- r != null && r.history && r.history.push(E);
1621
- },
1622
- children: p
1623
- }
1624
- );
1625
- }
1626
- return /* @__PURE__ */ t.jsx("a", { ...f, target: "_blank", className: "w-link-path" });
1613
+ return !x && v ? ((C = Eo(
1614
+ a == null ? void 0 : a.uriBackend
1615
+ )) == null || C.origin, /* @__PURE__ */ t.jsx(
1616
+ "span",
1617
+ {
1618
+ className: "w-link-path",
1619
+ onClick: (w) => {
1620
+ w.stopPropagation();
1621
+ const T = `${h}`;
1622
+ r != null && r.history && r.history.push(T);
1623
+ },
1624
+ children: p
1625
+ }
1626
+ )) : /* @__PURE__ */ t.jsx("a", { ...f, target: "_blank", className: "w-link-path" });
1627
1627
  }
1628
1628
  },
1629
1629
  children: c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "widget-chatbot",
3
- "version": "2.0.2-alpha.1",
3
+ "version": "2.0.2-alpha.3",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "files": [