@eloquentai/chat-sdk 0.30.2-dev → 0.30.3
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-wgGOr3Za.js → index-Bf7skbL8.js} +2 -2
- package/dist/{index-wgGOr3Za.js.map → index-Bf7skbL8.js.map} +1 -1
- package/dist/{index-Bqvk7BQ7.js → index-CzTUqNbz.js} +11 -13
- package/dist/{index-Bqvk7BQ7.js.map → index-CzTUqNbz.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] = "9bc7914d-afb8-41c7-956b-24009b1ba5a0", e._sentryDebugIdIdentifier = "sentry-dbid-9bc7914d-afb8-41c7-956b-24009b1ba5a0");
|
|
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: "401930560424d90442a81d04a6f88d6c3234c031" };
|
|
15
15
|
}
|
|
16
16
|
if (typeof window < "u") {
|
|
17
|
-
const e = "
|
|
18
|
-
import("./index-
|
|
17
|
+
const e = "production";
|
|
18
|
+
import("./index-Bf7skbL8.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: "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";
|
|
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 =
|
|
22944
|
+
const Xu = /* @__PURE__ */ new Set(), CC = "Thinking";
|
|
22945
22945
|
function Ku({
|
|
22946
22946
|
messageData: e,
|
|
22947
22947
|
nextMessage: t,
|
|
@@ -22954,14 +22954,12 @@ 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 = CC.
|
|
22958
|
-
|
|
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(
|
|
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(
|
|
22961
22959
|
"span",
|
|
22962
22960
|
{
|
|
22963
22961
|
className: "text-xs text-gray-400 font-medium animate-in fade-in duration-500 ease-out",
|
|
22964
|
-
children: u
|
|
22962
|
+
children: v ? u.replace(/\.+$/, "") : u
|
|
22965
22963
|
},
|
|
22966
22964
|
u
|
|
22967
22965
|
),
|
|
@@ -25125,7 +25123,7 @@ function cA() {
|
|
|
25125
25123
|
return e || t;
|
|
25126
25124
|
}
|
|
25127
25125
|
function uA() {
|
|
25128
|
-
return Nl() && typeof process.env == "object" && "VITE_ENVIRONMENT=
|
|
25126
|
+
return Nl() && typeof process.env == "object" && "VITE_ENVIRONMENT=prod tsc -b && vite build --mode prod".startsWith("ng ") || !1;
|
|
25129
25127
|
}
|
|
25130
25128
|
function fA() {
|
|
25131
25129
|
return typeof navigator < "u" && typeof navigator.product < "u" && navigator.product === "ReactNative";
|
|
@@ -30736,4 +30734,4 @@ export {
|
|
|
30736
30734
|
LN as r,
|
|
30737
30735
|
mN as u
|
|
30738
30736
|
};
|
|
30739
|
-
//# sourceMappingURL=index-
|
|
30737
|
+
//# sourceMappingURL=index-CzTUqNbz.js.map
|