@flowengage/react-chatbot 7.0.17 → 7.0.18

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.
@@ -3484,7 +3484,7 @@ function Br({ siteId: e, config: t, children: n, language: r = "en" }) {
3484
3484
  }, $t = async (e, t = "", n = null, i = {}) => {
3485
3485
  let a = typeof e == "string" ? e.trim() : "";
3486
3486
  if (!a || !k.current || !y || l !== "ready" || Ve) return;
3487
- Zt();
3487
+ Zt(), mt.current = !1;
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
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowengage/react-chatbot",
3
- "version": "7.0.17",
3
+ "version": "7.0.18",
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",