@pluno/product-agent-web 0.1.240 → 0.1.241

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.
@@ -1248,7 +1248,7 @@ function Zn(s) {
1248
1248
  }
1249
1249
  }).catch((a) => {
1250
1250
  const c = Ve(a);
1251
- if (["connection_interrupted", "request_timed_out", "request_cancelled", "408", "425", "429", "500", "502", "503", "504"].includes(c.code))
1251
+ if (["display_projection_disabled", "409", "connection_interrupted", "request_timed_out", "request_cancelled", "408", "425", "429", "500", "502", "503", "504"].includes(c.code))
1252
1252
  throw Object.assign(c, { code: "history_load_failed", message: "We couldn’t refresh this conversation. Try again.", retryable: !0 });
1253
1253
  if (Oi(c.code)) throw Object.assign(c, { retryable: !0 });
1254
1254
  return i(a, { operation: "conversation.snapshot", requestId: o.requestId, sessionId: o.sessionId });
@@ -1632,7 +1632,7 @@ function ar(s) {
1632
1632
  return e() && i.directory.memberships[t]?.members.length ? i.conversation.sessions[t] ?? null : null;
1633
1633
  }, s.invalidateAuth), async (t) => (!e() || t.authorityId !== s.authority.authorityId || t.generation !== s.authority.generation || !s.runtime().engine.getState().slices.directory.memberships[t.sessionId]?.members.length || (s.manager.receiveConversationSources(t.sources), s.notify()), null);
1634
1634
  }
1635
- const cr = "0.1.240", dr = {
1635
+ const cr = "0.1.241", dr = {
1636
1636
  version: cr
1637
1637
  };
1638
1638
  function et(s) {
@@ -1371,7 +1371,7 @@ function Ip(t) {
1371
1371
  }
1372
1372
  }).catch((r) => {
1373
1373
  const c = ss(r);
1374
- if (["connection_interrupted", "request_timed_out", "request_cancelled", "408", "425", "429", "500", "502", "503", "504"].includes(c.code))
1374
+ if (["display_projection_disabled", "409", "connection_interrupted", "request_timed_out", "request_cancelled", "408", "425", "429", "500", "502", "503", "504"].includes(c.code))
1375
1375
  throw Object.assign(c, { code: "history_load_failed", message: "We couldn’t refresh this conversation. Try again.", retryable: !0 });
1376
1376
  if (Wl(c.code)) throw Object.assign(c, { retryable: !0 });
1377
1377
  return i(r, { operation: "conversation.snapshot", requestId: a.requestId, sessionId: a.sessionId });
@@ -1820,7 +1820,7 @@ function Op(t) {
1820
1820
  return e() && i.directory.memberships[n]?.members.length ? i.conversation.sessions[n] ?? null : null;
1821
1821
  }, t.invalidateAuth), async (n) => (!e() || n.authorityId !== t.authority.authorityId || n.generation !== t.authority.generation || !t.runtime().engine.getState().slices.directory.memberships[n.sessionId]?.members.length || (t.manager.receiveConversationSources(n.sources), t.notify()), null);
1822
1822
  }
1823
- const Ql = "0.1.240", Np = {
1823
+ const Ql = "0.1.241", Np = {
1824
1824
  version: Ql
1825
1825
  }, Tt = /* @__PURE__ */ Object.create(null);
1826
1826
  Tt.open = "0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluno/product-agent-web",
3
- "version": "0.1.240",
3
+ "version": "0.1.241",
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",