@flowengage/react-chatbot 8.0.106 → 8.0.107
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.
|
@@ -13565,7 +13565,7 @@ function y_({ orbColors: e, onEnterChat: t, onEndChat: n, agentId: r, siteId: i,
|
|
|
13565
13565
|
return;
|
|
13566
13566
|
}
|
|
13567
13567
|
if (t === "user-speaking") {
|
|
13568
|
-
if (Pe.current &&= (clearTimeout(Pe.current), null), R.current === "speaking") return;
|
|
13568
|
+
if (ae.current && !ie.current && Re(), Pe.current &&= (clearTimeout(Pe.current), null), R.current === "speaking") return;
|
|
13569
13569
|
try {
|
|
13570
13570
|
On();
|
|
13571
13571
|
} catch {}
|
|
@@ -13586,7 +13586,7 @@ function y_({ orbColors: e, onEnterChat: t, onEndChat: n, agentId: r, siteId: i,
|
|
|
13586
13586
|
if (Oe && !Ce && !ie.current && !fe.current) {
|
|
13587
13587
|
Ce = !0, A = !0, ne = !0;
|
|
13588
13588
|
try {
|
|
13589
|
-
P.current?.sendContextualUpdate?.("CRITICAL — EMAIL REQUIRED BEFORE ANYTHING ELSE. The visitor has not provided their email.
|
|
13589
|
+
P.current?.sendContextualUpdate?.("CRITICAL — EMAIL REQUIRED BEFORE ANYTHING ELSE. The visitor has not provided their email. The app itself speaks the email request out loud — you must NOT say it, and you must NOT answer. Stay completely silent from now until you receive an EMAIL_SAVED message: produce no speech and call no tools, no matter what the visitor says. Remember their question. On EMAIL_SAVED, thank them briefly and answer that remembered question in full.");
|
|
13590
13590
|
} catch {}
|
|
13591
13591
|
}
|
|
13592
13592
|
if (ee && !A) {
|
|
@@ -15451,7 +15451,7 @@ function C_() {
|
|
|
15451
15451
|
voiceFirstMessage: F.voiceFirstMessage || null,
|
|
15452
15452
|
captureVisitorEmail: ie,
|
|
15453
15453
|
emailRequired: !h,
|
|
15454
|
-
emailCaptureEnabled: I.disableEmailCapture !== !0,
|
|
15454
|
+
emailCaptureEnabled: we.emailCapture !== !1 && I.disableEmailCapture !== !0,
|
|
15455
15455
|
listeningLabel: I.voiceListeningLabel || "Listening...",
|
|
15456
15456
|
thinkingLabel: I.voiceThinkingLabel || "Thinking...",
|
|
15457
15457
|
enterChatModeLabel: I.voiceEnterChatLabel || "Enter Chat Mode",
|