@eloquentai/chat-sdk 0.28.28-dev → 0.29.0-dev

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.
@@ -6,16 +6,16 @@ import Vg, { createPortal as gs } from "react-dom";
6
6
  import Wg from "react-dom/client";
7
7
  try {
8
8
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
9
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "71848479-e1d2-4798-80f4-dcfbf8e1f94a", e._sentryDebugIdIdentifier = "sentry-dbid-71848479-e1d2-4798-80f4-dcfbf8e1f94a");
9
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cb19b4bc-a4f8-4193-9463-89e8be3475fc", e._sentryDebugIdIdentifier = "sentry-dbid-cb19b4bc-a4f8-4193-9463-89e8be3475fc");
10
10
  } catch {
11
11
  }
12
12
  {
13
13
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
14
- e.SENTRY_RELEASE = { id: "db55cebaa53fd88fbe76fc483cf09e907c27d03b" };
14
+ e.SENTRY_RELEASE = { id: "a2b81d42a6052a7f01669d755b3c6d6137a81e87" };
15
15
  }
16
16
  if (typeof window < "u") {
17
17
  const e = "development";
18
- import("./index-Cen9us5k.js").then((t) => {
18
+ import("./index-DaMnFGD6.js").then((t) => {
19
19
  t.init({
20
20
  dsn: void 0,
21
21
  environment: e,
@@ -29985,7 +29985,8 @@ function lN({
29985
29985
  const B = dt(
29986
29986
  (W, J) => {
29987
29987
  W.response.content && u((oe) => {
29988
- if (oe.some((ne) => ne.isRatingRequest)) return oe;
29988
+ if (oe.some((ne) => ne.isRatingRequest) || s?.welcome_message && W.response.content === s.welcome_message)
29989
+ return oe;
29989
29990
  const k = [
29990
29991
  ...oe.filter((ne) => !ne.isThinking),
29991
29992
  {
@@ -29998,7 +29999,7 @@ function lN({
29998
29999
  return y(J, t, k, o), k;
29999
30000
  });
30000
30001
  },
30001
- [o, y, u, t]
30002
+ [s, o, y, u, t]
30002
30003
  ), ie = dt(() => {
30003
30004
  Z(), u((W) => W.filter((J) => !J.isThinking));
30004
30005
  }, [u, Z]), te = dt(() => {
@@ -30690,4 +30691,4 @@ export {
30690
30691
  EN as r,
30691
30692
  sN as u
30692
30693
  };
30693
- //# sourceMappingURL=index-BcbSu5WZ.js.map
30694
+ //# sourceMappingURL=index-DySyj7Hm.js.map