bstp-agent-widget 0.2.80 → 0.2.82

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.
@@ -28657,8 +28657,8 @@ function PF() {
28657
28657
  return;
28658
28658
  }
28659
28659
  let l = nk(e), u = await rk(e);
28660
- if (!l || !u) {
28661
- p("Missing customer runtime.");
28660
+ if (!u) {
28661
+ p("Missing customer token.");
28662
28662
  return;
28663
28663
  }
28664
28664
  d(!0), p(null);
@@ -28668,7 +28668,7 @@ function PF() {
28668
28668
  chat_id: s,
28669
28669
  assistant_id: a,
28670
28670
  is_sync: !0,
28671
- unique_user_id: l,
28671
+ ...l ? { unique_user_id: l } : {},
28672
28672
  tool_headers: { _default: { Authorization: `Bearer ${u}` } }
28673
28673
  } }));
28674
28674
  if (!e) return;
@@ -29030,6 +29030,7 @@ function YF({ ui: e }) {
29030
29030
  pauseOnSubmit: !0,
29031
29031
  onTextChange: m
29032
29032
  }), N = _(() => /* @__PURE__ */ T(Xd, {
29033
+ component: "span",
29033
29034
  fw: 800,
29034
29035
  children: e?.panelTitle ?? "Agent Chat"
29035
29036
  }), [e?.panelTitle]), P = v(Math.max(280, t)), F = v(s), ee = v(null), te = u(() => {