@eloquentai/chat-sdk 0.30.1 → 0.30.3-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] = "9bc7914d-afb8-41c7-956b-24009b1ba5a0", e._sentryDebugIdIdentifier = "sentry-dbid-9bc7914d-afb8-41c7-956b-24009b1ba5a0");
9
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "31e68147-dd45-4bb0-8632-17edd3b1ff6e", e._sentryDebugIdIdentifier = "sentry-dbid-31e68147-dd45-4bb0-8632-17edd3b1ff6e");
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: "401930560424d90442a81d04a6f88d6c3234c031" };
14
+ e.SENTRY_RELEASE = { id: "4489534c95b19181b1a23062ffba524dc7870dda" };
15
15
  }
16
16
  if (typeof window < "u") {
17
- const e = "production";
18
- import("./index-Bf7skbL8.js").then((t) => {
17
+ const e = "development";
18
+ import("./index-mhxA_b3o.js").then((t) => {
19
19
  t.init({
20
20
  dsn: void 0,
21
21
  environment: e,
@@ -11610,7 +11610,7 @@ function Tw() {
11610
11610
  })(Va)), Va;
11611
11611
  }
11612
11612
  var fi = Tw();
11613
- const Pw = { BASE_URL: "/", DEV: !1, MODE: "prod", PROD: !0, SSR: !1, VITE_API_URL: "https://chat.eloquentai.co", VITE_CDN_URL: "https://cdn.eloquentai.co", VITE_ENVIRONMENT: "prod", VITE_REGION_API_URL: "https://region.eloquentai.co" }, Ow = "/assets/logo-waiting-simple.riv";
11613
+ const Pw = { BASE_URL: "/", DEV: !1, MODE: "dev", PROD: !0, SSR: !1, VITE_API_URL: "https://chat.eloquentai.dev", VITE_CDN_URL: "https://cdn.eloquentai.dev", VITE_ENVIRONMENT: "dev", VITE_REGION_API_URL: "https://region.eloquentai.dev" }, Ow = "/assets/logo-waiting-simple.riv";
11614
11614
  function ll(e) {
11615
11615
  return typeof window > "u" || typeof import.meta > "u" ? "" : Pw[e] || "";
11616
11616
  }
@@ -22941,7 +22941,7 @@ function SC({ messageData: e }) {
22941
22941
  )
22942
22942
  ] });
22943
22943
  }
22944
- const Xu = /* @__PURE__ */ new Set(), CC = "Thinking";
22944
+ const Xu = /* @__PURE__ */ new Set(), CC = /* @__PURE__ */ new Set(["Routing"]);
22945
22945
  function Ku({
22946
22946
  messageData: e,
22947
22947
  nextMessage: t,
@@ -22954,12 +22954,14 @@ function Ku({
22954
22954
  ), h = We({
22955
22955
  [s.botBubbleColor]: e.sender === "assistant",
22956
22956
  [s.userBubbleColor]: e.sender === "user"
22957
- }), p = e.content === "...", v = e.content === `${CC}...`, m = () => n && e.isThinking ? /* @__PURE__ */ De("div", { className: "flex items-center gap-2 px-1 py-1 animate-in fade-in slide-in-from-bottom-2 duration-300 ease-out", children: [
22958
- !p && u && /* @__PURE__ */ D(
22957
+ }), p = e.content === "...", v = CC.has(
22958
+ e.content.replace(/\.+$/, "")
22959
+ ), m = () => n && e.isThinking ? /* @__PURE__ */ De("div", { className: "flex items-center gap-2 px-1 py-1 animate-in fade-in slide-in-from-bottom-2 duration-300 ease-out", children: [
22960
+ !p && !v && u && /* @__PURE__ */ D(
22959
22961
  "span",
22960
22962
  {
22961
22963
  className: "text-xs text-gray-400 font-medium animate-in fade-in duration-500 ease-out",
22962
- children: v ? u.replace(/\.+$/, "") : u
22964
+ children: u
22963
22965
  },
22964
22966
  u
22965
22967
  ),
@@ -25123,7 +25125,7 @@ function cA() {
25123
25125
  return e || t;
25124
25126
  }
25125
25127
  function uA() {
25126
- return Nl() && typeof process.env == "object" && "VITE_ENVIRONMENT=prod tsc -b && vite build --mode prod".startsWith("ng ") || !1;
25128
+ return Nl() && typeof process.env == "object" && "VITE_ENVIRONMENT=dev tsc -b && vite build --mode dev".startsWith("ng ") || !1;
25127
25129
  }
25128
25130
  function fA() {
25129
25131
  return typeof navigator < "u" && typeof navigator.product < "u" && navigator.product === "ReactNative";
@@ -30734,4 +30736,4 @@ export {
30734
30736
  LN as r,
30735
30737
  mN as u
30736
30738
  };
30737
- //# sourceMappingURL=index-CzTUqNbz.js.map
30739
+ //# sourceMappingURL=index-DwLZ6cwx.js.map