@freeday-ai/webchat 2025.11.1-3.8.9.5875 → 2025.11.1-4.10.50.8224
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/webchat.iife.js +2 -2
- package/dist/webchat.mjs +3 -5
- package/package.json +1 -1
package/dist/webchat.mjs
CHANGED
|
@@ -32072,7 +32072,7 @@ const EF0 = e.createContext(void 0), Ef = () => {
|
|
|
32072
32072
|
};
|
|
32073
32073
|
});
|
|
32074
32074
|
}, Y = async () => {
|
|
32075
|
-
await L.current.restart();
|
|
32075
|
+
await Z0("user restarted the chat"), await L.current.restart();
|
|
32076
32076
|
}, q = async () => {
|
|
32077
32077
|
L.current.end();
|
|
32078
32078
|
}, G = (a0, E0, T0) => {
|
|
@@ -117610,12 +117610,10 @@ const EE2 = () => {
|
|
|
117610
117610
|
e.useEffect(() => {
|
|
117611
117611
|
!a.hasResumedConversation && kE2(a.messages) && (a.hasResumedConversation = !0, setTimeout(() => {
|
|
117612
117612
|
t(K5.Drawer, /* @__PURE__ */ D.jsx(NE2, {}));
|
|
117613
|
-
},
|
|
117613
|
+
}, 500));
|
|
117614
117614
|
}, [a.messages, a.hasResumedConversation, t]);
|
|
117615
117615
|
}, kE2 = (a) => a.some(
|
|
117616
|
-
(t) => t.blocks.some(
|
|
117617
|
-
(n) => n.type === "ended" || n.type === "closed"
|
|
117618
|
-
)
|
|
117616
|
+
(t) => t.blocks.some((n) => n.type === "ended")
|
|
117619
117617
|
), DE2 = () => {
|
|
117620
117618
|
var l, o;
|
|
117621
117619
|
const { t: a } = Se(["common", "footer"]), { sendNewMessage: t, state: n } = Re();
|