@pluno/product-agent-web 0.1.224 → 0.1.225

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.
@@ -10953,7 +10953,7 @@ function ey(t) {
10953
10953
  e ^= t.charCodeAt(n), e = Math.imul(e, 16777619);
10954
10954
  return `fnv1a-${(e >>> 0).toString(16).padStart(8, "0")}`;
10955
10955
  }
10956
- const ty = "0.1.224", ny = 80, sy = 64e3, Ul = 60, vo = 160;
10956
+ const ty = "0.1.225", ny = 80, sy = 64e3, Ul = 60, vo = 160;
10957
10957
  function iy(t, e, n, s) {
10958
10958
  const i = [], o = [];
10959
10959
  let a = 0, r = 0, l = 0, d = crypto.randomUUID(), u = s.getState(), p = u.user?.id, f = null, h = "", m = "", y = "";
@@ -11687,7 +11687,7 @@ async function Ny(t = {}) {
11687
11687
  }
11688
11688
  };
11689
11689
  const Gr = () => {
11690
- Qe !== null && (window.clearTimeout(Qe), Qe = null), !(e.layout === "page" || e.loginRequired || e.signupRequired) && E.refreshSessionHistory().catch(() => {
11690
+ Qe !== null && (window.clearTimeout(Qe), Qe = null), !(e.layout === "page" || e.loginRequired || e.signupRequired || E.getState().status !== "connected") && E.refreshSessionHistory().catch(() => {
11691
11691
  });
11692
11692
  }, Mi = () => {
11693
11693
  Qe === null && (Qe = window.setTimeout(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluno/product-agent-web",
3
- "version": "0.1.224",
3
+ "version": "0.1.225",
4
4
  "description": "Browser SDK and default widget for embedding Pluno Product Agent into customer web apps.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",