@flowengage/react-chatbot 1.7.7 → 1.7.8

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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowengage/react-chatbot",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
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",