@eloquentai/chat-sdk 0.25.11-dev → 0.25.12-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-BIHZZIqD.js → index-BcQIFJf7.js} +17 -13
- package/dist/{index-BIHZZIqD.js.map → index-BcQIFJf7.js.map} +1 -1
- package/dist/{index-FJXz4Rlc.js → index-CKT1T6Kt.js} +2 -2
- package/dist/{index-FJXz4Rlc.js.map → index-CKT1T6Kt.js.map} +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -15,16 +15,16 @@ import { z as Z } from "zod";
|
|
|
15
15
|
import Sl from "react-dom/client";
|
|
16
16
|
try {
|
|
17
17
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
18
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
18
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cb78de1b-3880-4db0-93f6-dcf2feb1836b", e._sentryDebugIdIdentifier = "sentry-dbid-cb78de1b-3880-4db0-93f6-dcf2feb1836b");
|
|
19
19
|
} catch {
|
|
20
20
|
}
|
|
21
21
|
{
|
|
22
22
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
23
|
-
e.SENTRY_RELEASE = { id: "
|
|
23
|
+
e.SENTRY_RELEASE = { id: "bfe2ef75d4ab957fab5f7e63aac23bfdf9f1e35d" };
|
|
24
24
|
}
|
|
25
25
|
if (typeof window < "u") {
|
|
26
26
|
const e = "development";
|
|
27
|
-
import("./index-
|
|
27
|
+
import("./index-CKT1T6Kt.js").then((t) => {
|
|
28
28
|
t.init({
|
|
29
29
|
dsn: void 0,
|
|
30
30
|
environment: e,
|
|
@@ -16486,8 +16486,8 @@ const bw = ({
|
|
|
16486
16486
|
clearError: () => n(null)
|
|
16487
16487
|
};
|
|
16488
16488
|
return /* @__PURE__ */ x(fs.Provider, { value: c, children: e });
|
|
16489
|
-
};
|
|
16490
|
-
function
|
|
16489
|
+
}, yw = 100;
|
|
16490
|
+
function ww({
|
|
16491
16491
|
appId: e,
|
|
16492
16492
|
userId: t,
|
|
16493
16493
|
userName: n,
|
|
@@ -16568,7 +16568,10 @@ function yw({
|
|
|
16568
16568
|
style: {
|
|
16569
16569
|
display: D || S ? "block" : "none",
|
|
16570
16570
|
width: k ? "100vw" : "400px",
|
|
16571
|
-
|
|
16571
|
+
// 100dvh accounts for mobile browser chrome (e.g. address bar); 100vh fallback for older browsers
|
|
16572
|
+
"--chat-mobile-viewport-height": "100dvh",
|
|
16573
|
+
height: k ? "var(--chat-mobile-viewport-height, 100vh)" : "700px",
|
|
16574
|
+
maxHeight: k ? "var(--chat-mobile-viewport-height, 100vh)" : `calc(100% - ${yw}px)`,
|
|
16572
16575
|
border: "none",
|
|
16573
16576
|
zIndex: 2147483e3,
|
|
16574
16577
|
position: "fixed",
|
|
@@ -16584,6 +16587,7 @@ function yw({
|
|
|
16584
16587
|
bottom: 0,
|
|
16585
16588
|
width: "100%",
|
|
16586
16589
|
height: "100%",
|
|
16590
|
+
maxHeight: "100%",
|
|
16587
16591
|
zIndex: 0
|
|
16588
16592
|
} : {}
|
|
16589
16593
|
},
|
|
@@ -16659,19 +16663,19 @@ function yw({
|
|
|
16659
16663
|
);
|
|
16660
16664
|
return /* @__PURE__ */ x(Xe, { children: d ? O() : I ? /* @__PURE__ */ x(Mm, { container: I, children: O() }) : null });
|
|
16661
16665
|
}
|
|
16662
|
-
function
|
|
16663
|
-
return /* @__PURE__ */ x(bw, { children: /* @__PURE__ */ x(gw, { children: /* @__PURE__ */ x(
|
|
16666
|
+
function xw(e) {
|
|
16667
|
+
return /* @__PURE__ */ x(bw, { children: /* @__PURE__ */ x(gw, { children: /* @__PURE__ */ x(ww, { ...e }) }) });
|
|
16664
16668
|
}
|
|
16665
|
-
function
|
|
16669
|
+
function Ow(e, t) {
|
|
16666
16670
|
return ((r, i, o) => {
|
|
16667
16671
|
const a = Sl.createRoot(i);
|
|
16668
16672
|
return a.render(/* @__PURE__ */ x(r, { ...o })), a.unmount;
|
|
16669
|
-
})(
|
|
16673
|
+
})(xw, e, t);
|
|
16670
16674
|
}
|
|
16671
16675
|
export {
|
|
16672
|
-
|
|
16676
|
+
xw as C,
|
|
16673
16677
|
Pm as a,
|
|
16674
16678
|
oa as g,
|
|
16675
|
-
|
|
16679
|
+
Ow as r
|
|
16676
16680
|
};
|
|
16677
|
-
//# sourceMappingURL=index-
|
|
16681
|
+
//# sourceMappingURL=index-BcQIFJf7.js.map
|