@myinterview/chatbot 0.1.66-experimental-f5fbb98 → 0.1.67-beta-57a2a77

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.
package/dist/index.js CHANGED
@@ -45318,7 +45318,7 @@ let gm = Xee;
45318
45318
  const RBe = (e) => {
45319
45319
  let t = e;
45320
45320
  try {
45321
- t ?? (t = "production");
45321
+ t ?? (t = "staging");
45322
45322
  } catch {
45323
45323
  }
45324
45324
  gm = (() => {
@@ -60020,15 +60020,15 @@ const jGe = (e) => Math.abs(Date.now() - e) < cVe, LGe = (e, t) => cr.fromMillis
60020
60020
  i.current = e;
60021
60021
  const o = (a, s) => {
60022
60022
  var c;
60023
- console.log("options", t), r.current = a, (c = n.current) == null || c.disconnect(), n.current = new IntersectionObserver(([u]) => {
60023
+ r.current = a, (c = n.current) == null || c.disconnect(), n.current = new IntersectionObserver(([u]) => {
60024
60024
  var l;
60025
- console.log("entry", u), u.isIntersecting && ((l = i.current) == null || l.call(i, u));
60026
- }, { ...t, ...s && { root: s } }), console.log("elRef.current", r.current), console.log("root", s), n.current.observe(r.current);
60025
+ u.isIntersecting && ((l = i.current) == null || l.call(i, u));
60026
+ }, { ...t, ...s && { root: s } }), n.current.observe(r.current);
60027
60027
  };
60028
- return At(() => (console.log("useObserver::useEffect"), () => {
60028
+ return At(() => () => {
60029
60029
  var a;
60030
60030
  (a = n.current) == null || a.disconnect(), r.current = null;
60031
- }), []), o;
60031
+ }, []), o;
60032
60032
  }, BGe = PW(({ conversations: e, conversationsLastMessages: t, unreadMessagesByConversation: r, onSelectConversation: n, paginatorCallback: i }) => {
60033
60033
  const o = qr((u) => u.main.selectedConversationId), a = dt(), s = WI({ callback: i }), c = Ut((u) => {
60034
60034
  a.current = u, a.current && s(a.current);
@@ -120294,15 +120294,11 @@ const kT = {
120294
120294
  o.current && t();
120295
120295
  }, []), c = Ut((f) => {
120296
120296
  const { intersectionRatio: p, boundingClientRect: h } = f;
120297
- console.log("intersectionRatio", p), console.log("boundingClientRect", h.top), i.current = Math.min(i.current ?? p, p), console.log("minIntersection.current", i.current);
120298
- const m = (Math.min(1 - i.current, 1) || 1) ** -1;
120299
- console.log("amplifier", m);
120300
- const y = (1 - p) * m;
120301
- console.log("openRatio", y), n(y), h.top > g0t && s();
120302
- }, []), u = WI({ callback: c, options: { threshold: v0t } });
120303
- console.log("observe", u);
120304
- const l = Ut((f) => {
120305
- f && a.current && (console.log("observe::top::wrapper", a.current, f), u(a.current, f));
120297
+ i.current = Math.min(i.current ?? p, p);
120298
+ const m = (Math.min(1 - i.current, 1) || 1) ** -1, y = (1 - p) * m;
120299
+ n(y), h.top > g0t && s();
120300
+ }, []), u = WI({ callback: c, options: { threshold: v0t } }), l = Ut((f) => {
120301
+ f && a.current && u(a.current, f);
120306
120302
  }, []), d = () => {
120307
120303
  o.current = !0;
120308
120304
  };
@@ -120435,8 +120431,8 @@ const kT = {
120435
120431
  }, O0t = () => {
120436
120432
  pde() && fde(), r2e({
120437
120433
  dsn: gm.SENTRY_DSN,
120438
- environment: "production",
120439
- release: "0.1.66",
120434
+ environment: "staging",
120435
+ release: "0.1.67",
120440
120436
  integrations: [
120441
120437
  Cye(),
120442
120438
  gye()