@eloquentai/chat-sdk 0.29.2-dev → 0.30.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-Bdd4HwVN.js → index-DCZAyODz.js} +10 -4
- package/dist/{index-Bdd4HwVN.js.map → index-DCZAyODz.js.map} +1 -1
- package/dist/{index-g833PbIu.js → index-uhtjGgSM.js} +2 -2
- package/dist/{index-g833PbIu.js.map → index-uhtjGgSM.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] = "e8dc4682-4ad0-4643-912c-06765d423f04", e._sentryDebugIdIdentifier = "sentry-dbid-e8dc4682-4ad0-4643-912c-06765d423f04");
|
|
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: "788e67f86dd5e4b737db89696133320f839c84ec" };
|
|
15
15
|
}
|
|
16
16
|
if (typeof window < "u") {
|
|
17
17
|
const e = "development";
|
|
18
|
-
import("./index-
|
|
18
|
+
import("./index-uhtjGgSM.js").then((t) => {
|
|
19
19
|
t.init({
|
|
20
20
|
dsn: void 0,
|
|
21
21
|
environment: e,
|
|
@@ -23205,6 +23205,12 @@ function TC() {
|
|
|
23205
23205
|
const m = e.messages?.length ?? 0, y = m < i.current;
|
|
23206
23206
|
i.current = m, r.current ? (p("instant"), r.current = !1) : y ? (a(!1), l(!1), p("instant")) : s || p();
|
|
23207
23207
|
}, [e.messages, s]), et(() => {
|
|
23208
|
+
if (!e.isChatClosed) return;
|
|
23209
|
+
const m = setTimeout(() => {
|
|
23210
|
+
p("smooth");
|
|
23211
|
+
}, 500);
|
|
23212
|
+
return () => clearTimeout(m);
|
|
23213
|
+
}, [e.isChatClosed]), et(() => {
|
|
23208
23214
|
const m = n.current?.querySelector(
|
|
23209
23215
|
"div.chat-interface-body"
|
|
23210
23216
|
);
|
|
@@ -30728,4 +30734,4 @@ export {
|
|
|
30728
30734
|
LN as r,
|
|
30729
30735
|
mN as u
|
|
30730
30736
|
};
|
|
30731
|
-
//# sourceMappingURL=index-
|
|
30737
|
+
//# sourceMappingURL=index-DCZAyODz.js.map
|