@flowengage/react-chatbot 7.0.16 → 7.0.17

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.
@@ -3486,7 +3486,7 @@ function Br({ siteId: e, config: t, children: n, language: r = "en" }) {
3486
3486
  if (!a || !k.current || !y || l !== "ready" || Ve) return;
3487
3487
  Zt();
3488
3488
  let o = /^\s*(yes|yeah|sure|ok|okay|go ahead|take me(?: there)?(?!\s+\w)|navigate(?!\s+(?:me\s+)?to\s+\w)|yep|absolutely|please do|do it|let'?s go|go there|show me(?!\s+(?:the|a|an)\s+\w)|go to it|bring me there|navigate me there)\b/i;
3489
- if (pt.current && o.test(a)) {
3489
+ if (pt.current && o.test(a) && !/^\s*(?:yes|yeah|sure|ok|okay|yep|absolutely)\s+(?!(?:please|do\s+it|let'?s|that|this|there|it|thanks|go|cool|great|perfect|sounds|alright|proceed)\b)\w/i.test(a)) {
3490
3490
  let { url: e, section: t } = pt.current;
3491
3491
  pt.current = null, mt.current = !0, console.log("[FWH Nav] Client-side nav firing →", e), Or(e, { voiceActive: Ot.current }).then((e) => {
3492
3492
  !t || !Ot.current || setTimeout(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowengage/react-chatbot",
3
- "version": "7.0.16",
3
+ "version": "7.0.17",
4
4
  "description": "Embeddable AI chat widget for React — powered by FlowEngage. Drop it in with a single siteId.",
5
5
  "keywords": [
6
6
  "chatbot",