@flowengage/react-chatbot 5.0.50 → 5.0.51

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.
@@ -30006,6 +30006,9 @@ function Pk({ orbColors: e, onEnterChat: t, onEndChat: n, agentId: r, voiceId: i
30006
30006
  try {
30007
30007
  CD();
30008
30008
  } catch {}
30009
+ if (a) try {
30010
+ Ve(a);
30011
+ } catch {}
30009
30012
  try {
30010
30013
  await C.current?.endSession?.();
30011
30014
  } catch {}
@@ -30229,6 +30232,9 @@ function Pk({ orbColors: e, onEnterChat: t, onEndChat: n, agentId: r, voiceId: i
30229
30232
  try {
30230
30233
  CD();
30231
30234
  } catch {}
30235
+ if (a) try {
30236
+ Ve(a);
30237
+ } catch {}
30232
30238
  kr(), ue.current &&= (clearTimeout(ue.current), null), de.current &&= (clearTimeout(de.current), null), le.current = !1, fe.current = !1, ce.current = "idle", o && typeof window < "u" && (window.history.pushState = o), c && typeof window < "u" && window.removeEventListener("popstate", c);
30233
30239
  let t = i || C.current, n = ie.current, r = ae.current;
30234
30240
  if (t?.endSession?.().catch(() => {}), n && l && s) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowengage/react-chatbot",
3
- "version": "5.0.50",
3
+ "version": "5.0.51",
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",