@eloquentai/chat-sdk 0.30.1 → 0.30.2-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.
- package/dist/{index-CzTUqNbz.js → index-Bqvk7BQ7.js} +13 -11
- package/dist/{index-CzTUqNbz.js.map → index-Bqvk7BQ7.js.map} +1 -1
- package/dist/{index-Bf7skbL8.js → index-wgGOr3Za.js} +2 -2
- package/dist/{index-Bf7skbL8.js.map → index-wgGOr3Za.js.map} +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -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] = "
|
|
9
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "78e8b188-fa53-4eff-a06a-286cea99c872", e._sentryDebugIdIdentifier = "sentry-dbid-78e8b188-fa53-4eff-a06a-286cea99c872");
|
|
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: "
|
|
14
|
+
e.SENTRY_RELEASE = { id: "20cd3b45a02223169e3a9cac8ced272ff8ac8d10" };
|
|
15
15
|
}
|
|
16
16
|
if (typeof window < "u") {
|
|
17
|
-
const e = "
|
|
18
|
-
import("./index-
|
|
17
|
+
const e = "development";
|
|
18
|
+
import("./index-wgGOr3Za.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: "
|
|
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(["Thinking", "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 =
|
|
22958
|
-
|
|
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:
|
|
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=
|
|
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-
|
|
30739
|
+
//# sourceMappingURL=index-Bqvk7BQ7.js.map
|