@eloquentai/chat-sdk 0.30.4-dev → 0.30.5
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-_l5sXACt.js → index-CXmy8chu.js} +2 -2
- package/dist/{index-_l5sXACt.js.map → index-CXmy8chu.js.map} +1 -1
- package/dist/{index-SZocsYBG.js → index-Cbdd-n4F.js} +21 -9
- package/dist/index-Cbdd-n4F.js.map +1 -0
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/index-SZocsYBG.js.map +0 -1
|
@@ -6,26 +6,38 @@ 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] = "5870583c-515c-42b7-a1e4-dfb3d1d9fe69", e._sentryDebugIdIdentifier = "sentry-dbid-5870583c-515c-42b7-a1e4-dfb3d1d9fe69");
|
|
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: "3f92a359a19d62d4e9b8ca45e510adcf3c87b369" };
|
|
15
15
|
}
|
|
16
16
|
if (typeof window < "u") {
|
|
17
|
-
const e = "
|
|
18
|
-
import("./index-
|
|
17
|
+
const e = "production";
|
|
18
|
+
import("./index-CXmy8chu.js").then((t) => {
|
|
19
19
|
t.init({
|
|
20
20
|
dsn: void 0,
|
|
21
21
|
environment: e,
|
|
22
|
-
sendDefaultPii: !
|
|
22
|
+
sendDefaultPii: !1,
|
|
23
23
|
integrations: [t.replayIntegration()],
|
|
24
24
|
tracesSampleRate: 1,
|
|
25
25
|
replaysSessionSampleRate: 0.1,
|
|
26
26
|
replaysOnErrorSampleRate: 1,
|
|
27
27
|
debug: !1,
|
|
28
|
-
enabled: !0
|
|
28
|
+
enabled: !0,
|
|
29
|
+
beforeSend(n) {
|
|
30
|
+
const r = /* @__PURE__ */ new Set([
|
|
31
|
+
"authorization",
|
|
32
|
+
"cookie",
|
|
33
|
+
"x-api-key",
|
|
34
|
+
"x-auth-token"
|
|
35
|
+
]), i = n.request?.headers;
|
|
36
|
+
if (i)
|
|
37
|
+
for (const o of Object.keys(i))
|
|
38
|
+
r.has(o.toLowerCase()) && (i[o] = "[Filtered]");
|
|
39
|
+
return n.request && (n.request.data = "[Filtered]"), n;
|
|
40
|
+
}
|
|
29
41
|
});
|
|
30
42
|
});
|
|
31
43
|
}
|
|
@@ -11610,7 +11622,7 @@ function Tw() {
|
|
|
11610
11622
|
})(Va)), Va;
|
|
11611
11623
|
}
|
|
11612
11624
|
var fi = Tw();
|
|
11613
|
-
const Pw = { BASE_URL: "/", DEV: !1, MODE: "
|
|
11625
|
+
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
11626
|
function ll(e) {
|
|
11615
11627
|
return typeof window > "u" || typeof import.meta > "u" ? "" : Pw[e] || "";
|
|
11616
11628
|
}
|
|
@@ -25125,7 +25137,7 @@ function uA() {
|
|
|
25125
25137
|
return e || t;
|
|
25126
25138
|
}
|
|
25127
25139
|
function fA() {
|
|
25128
|
-
return Nl() && typeof process.env == "object" && "VITE_ENVIRONMENT=
|
|
25140
|
+
return Nl() && typeof process.env == "object" && "VITE_ENVIRONMENT=prod tsc -b && vite build --mode prod".startsWith("ng ") || !1;
|
|
25129
25141
|
}
|
|
25130
25142
|
function dA() {
|
|
25131
25143
|
return typeof navigator < "u" && typeof navigator.product < "u" && navigator.product === "ReactNative";
|
|
@@ -30736,4 +30748,4 @@ export {
|
|
|
30736
30748
|
DN as r,
|
|
30737
30749
|
gN as u
|
|
30738
30750
|
};
|
|
30739
|
-
//# sourceMappingURL=index-
|
|
30751
|
+
//# sourceMappingURL=index-Cbdd-n4F.js.map
|