@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.
@@ -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
- if (document.cookie && document.cookie !== "") {
10557
- const n = document.cookie.split(";");
10558
- for (let a = 0; a < n.length; a++) {
10559
- const o = n[a].trim();
10560
- if (o.substring(0, e.name.length + 1) === e.name + "=") {
10561
- r = decodeURIComponent(o.substring(e.name.length + 1));
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.5";
10932
+ const uv = "0.2.6";
10932
10933
  export {
10933
10934
  Fs as ConfigPropTypes,
10934
10935
  Bc as Console,