@eloquentai/chat-sdk 0.28.29-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.
- package/dist/{index-DmtNxqna.js → index-DaMnFGD6.js} +2 -2
- package/dist/{index-DmtNxqna.js.map → index-DaMnFGD6.js.map} +1 -1
- package/dist/{index-3AnUoCpF.js → index-DySyj7Hm.js} +7 -6
- package/dist/{index-3AnUoCpF.js.map → index-DySyj7Hm.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] = "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: "
|
|
14
|
+
e.SENTRY_RELEASE = { id: "a2b81d42a6052a7f01669d755b3c6d6137a81e87" };
|
|
15
15
|
}
|
|
16
16
|
if (typeof window < "u") {
|
|
17
17
|
const e = "development";
|
|
18
|
-
import("./index-
|
|
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)
|
|
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-
|
|
30694
|
+
//# sourceMappingURL=index-DySyj7Hm.js.map
|