@smarter.sh/ui-chat 0.2.5 → 0.2.6
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/smarter-chat-library.es.js +8 -7
- package/dist/smarter-chat-library.es.js.map +1 -1
- package/dist/smarter-chat-library.umd.js +2 -2
- package/dist/smarter-chat-library.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/SmarterChat/Component.jsx +36 -32
- package/src/components/SmarterChat/api.js +5 -7
|
@@ -10553,12 +10553,13 @@ const mi = rn.div`
|
|
|
10553
10553
|
], Is = !1, Ub = "SmarterChat/1.0", Xo = "application/json";
|
|
10554
10554
|
function rr(e, t = null) {
|
|
10555
10555
|
let r = null;
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
|
|
10561
|
-
|
|
10556
|
+
const n = e.domain;
|
|
10557
|
+
if (window.location.hostname === n && document.cookie && document.cookie !== "") {
|
|
10558
|
+
const a = document.cookie.split(";");
|
|
10559
|
+
for (let o = 0; o < a.length; o++) {
|
|
10560
|
+
const i = a[o].trim();
|
|
10561
|
+
if (i.substring(0, e.name.length + 1) === e.name + "=") {
|
|
10562
|
+
r = decodeURIComponent(i.substring(e.name.length + 1));
|
|
10562
10563
|
break;
|
|
10563
10564
|
}
|
|
10564
10565
|
}
|
|
@@ -10928,7 +10929,7 @@ function lv({
|
|
|
10928
10929
|
l && /* @__PURE__ */ he(qb, { children: /* @__PURE__ */ he(Bc, { config: $ }) })
|
|
10929
10930
|
] }) }) }) });
|
|
10930
10931
|
}
|
|
10931
|
-
const uv = "0.2.
|
|
10932
|
+
const uv = "0.2.6";
|
|
10932
10933
|
export {
|
|
10933
10934
|
Fs as ConfigPropTypes,
|
|
10934
10935
|
Bc as Console,
|