@kite-copilot/chat-panel 0.2.51 → 0.2.52

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/auto.cjs CHANGED
@@ -1772,9 +1772,7 @@ function ChatPanel({
1772
1772
  markDisconnectedWithKeepalive();
1773
1773
  };
1774
1774
  const handleVisibilityChange = () => {
1775
- if (document.visibilityState === "hidden") {
1776
- markDisconnectedWithKeepalive();
1777
- } else if (document.visibilityState === "visible") {
1775
+ if (document.visibilityState === "visible") {
1778
1776
  markActive();
1779
1777
  }
1780
1778
  };
package/dist/auto.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createKiteChat
3
- } from "./chunk-VBCGW333.js";
3
+ } from "./chunk-KIOKMXFF.js";
4
4
 
5
5
  // src/auto.ts
6
6
  function mountKiteChat(config) {
@@ -1773,9 +1773,7 @@ function ChatPanel({
1773
1773
  markDisconnectedWithKeepalive();
1774
1774
  };
1775
1775
  const handleVisibilityChange = () => {
1776
- if (document.visibilityState === "hidden") {
1777
- markDisconnectedWithKeepalive();
1778
- } else if (document.visibilityState === "visible") {
1776
+ if (document.visibilityState === "visible") {
1779
1777
  markActive();
1780
1778
  }
1781
1779
  };