@flowengage/react-chatbot 1.7.3 → 1.7.5

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.
@@ -2274,7 +2274,7 @@ async function Xn(e, { siteId: t, apiBaseUrl: n }) {
2274
2274
  });
2275
2275
  try {
2276
2276
  let t = await (await fetch(`${r}/api/widget/navigate-allowed?${i.toString()}`)).json().catch(() => ({}));
2277
- return t.success ? t.allowed ? !0 : t.hasIndex === !1 ? Yn(e) : !1 : !1;
2277
+ return t.success ? t.allowed ? !0 : Yn(e) : !1;
2278
2278
  } catch (e) {
2279
2279
  return console.warn("[FlowEngage] navigate-allowed check failed:", e?.message), !1;
2280
2280
  }
@@ -28572,7 +28572,7 @@ function RO(e) {
28572
28572
  if (RD(`Navigating to ${i}...`, { spinner: !0 }), UD(), kD(), ND(), $("flowengage_navigate → shadowNavigate", i), await nr(i, {
28573
28573
  sectionText: typeof a == "string" ? a : void 0,
28574
28574
  voiceActive: !0
28575
- }), await iO(), LO(), a && typeof a == "string") {
28575
+ }), await iO(800), LO(), a && typeof a == "string") {
28576
28576
  let e = null;
28577
28577
  for (let t = 0; t < 5 && !e; t++) e = Gn(null, a), e || await rO(300);
28578
28578
  e && MD(e), $("flowengage_navigate · highlight", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowengage/react-chatbot",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
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",