@seamly/web-ui 24.0.0-beta.3 → 24.0.0-beta.5

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.
@@ -5680,7 +5680,8 @@ const useSeamlyChat = () => {
5680
5680
  (0,hooks_.useEffect)(() => {
5681
5681
  // This is needed to reset the ref to allow connect and start to happen again.
5682
5682
  // Mostly due to Interrupt situations and a reset being called.
5683
- if (!apiConfigReady || !apiConnected) {
5683
+ // Only do this in case both are `false` (reset does this), because the websocket itself will automatically try to reconnect.
5684
+ if (!apiConfigReady && !apiConnected) {
5684
5685
  connectCalled.current = false;
5685
5686
  }
5686
5687
  }, [apiConfigReady, apiConnected]);
@@ -14975,7 +14976,7 @@ class API {
14975
14976
  return {
14976
14977
  clientName: "@seamly/web-ui",
14977
14978
  clientVariant: this.#layoutMode,
14978
- clientVersion: "24.0.0-beta.3",
14979
+ clientVersion: "23.0.6",
14979
14980
  currentUrl: window.location.toString(),
14980
14981
  screenResolution: `${window.screen.width}x${window.screen.height}`,
14981
14982
  timezone: getTimeZone(),