@2uinc/frontend-component-xpert-chatbot 1.36.0-alpha.1 → 1.36.0-alpha.3

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.
@@ -1439,7 +1439,7 @@ const Ns = /* @__PURE__ */ Lt(P0), M0 = {
1439
1439
  if (o(!1), t)
1440
1440
  try {
1441
1441
  const p = await fetch(
1442
- `https://xpert-api-services.prod.ai.2u.com/v1/client?client_id=${t}`,
1442
+ `https://xpert-api-services.stg.ai.2u.com/v1/client?client_id=${t}`,
1443
1443
  {
1444
1444
  method: "GET",
1445
1445
  headers: {
@@ -5889,13 +5889,9 @@ function ki({
5889
5889
  g(V.target.value);
5890
5890
  };
5891
5891
  ve(() => {
5892
- var V;
5893
5892
  if (a) {
5894
- const L = (y) => g(y.target.value);
5895
- return (V = r.current) == null || V.addEventListener("input", L), () => {
5896
- var y;
5897
- return (y = r.current) == null ? void 0 : y.removeEventListener("input", L);
5898
- };
5893
+ const V = (y) => g(y.target.value), L = r.current;
5894
+ return L == null || L.addEventListener("input", V), () => L == null ? void 0 : L.removeEventListener("input", V);
5899
5895
  }
5900
5896
  }, [a, r]), ve(() => {
5901
5897
  (p || f) && (g(""), r.current.style.height = "auto");
@@ -21478,13 +21474,13 @@ const UT = () => /* @__PURE__ */ S.jsx(
21478
21474
  const { streaming: r } = ue(We), a = tt(null), [i, o] = de(!1), [s, l] = de(!0);
21479
21475
  return ve(() => {
21480
21476
  const c = new IntersectionObserver(
21481
- ([d]) => {
21482
- d.isIntersecting ? o(!0) : o(!1);
21477
+ ([f]) => {
21478
+ f.isIntersecting ? o(!0) : o(!1);
21483
21479
  },
21484
21480
  { threshold: 0.01 }
21485
- );
21486
- return a.current && c.observe(a.current), () => {
21487
- a.current && c.unobserve(a.current);
21481
+ ), d = a.current;
21482
+ return d && c.observe(d), () => {
21483
+ d && c.unobserve(d);
21488
21484
  };
21489
21485
  }, []), ve(() => {
21490
21486
  !i || !s || l(!1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.36.0-alpha.1",
3
+ "version": "1.36.0-alpha.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/2uinc/frontend-component-xpert-chatbot.git"