@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.
- package/build/dist/lib/components.js +2 -1
- package/build/dist/lib/components.js.map +1 -1
- package/build/dist/lib/hooks.js +2 -1
- package/build/dist/lib/hooks.js.map +1 -1
- package/build/dist/lib/hooks.min.js +1 -1
- package/build/dist/lib/hooks.min.js.map +1 -1
- package/build/dist/lib/index.debug.js +3 -2
- package/build/dist/lib/index.debug.js.map +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.map +1 -1
- package/build/dist/lib/index.js +3 -2
- package/build/dist/lib/index.js.map +1 -1
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.map +1 -1
- package/build/dist/lib/standalone.js +3 -2
- package/build/dist/lib/standalone.js.map +1 -1
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/standalone.min.js.map +1 -1
- package/build/dist/lib/style-guide.js +4 -3
- package/build/dist/lib/style-guide.js.map +1 -1
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/style-guide.min.js.map +1 -1
- package/build/dist/lib/utils.js +3 -2
- package/build/dist/lib/utils.js.map +1 -1
- package/build/dist/lib/utils.min.js +1 -1
- package/build/dist/lib/utils.min.js.map +1 -1
- package/package.json +1 -1
- package/src/javascripts/style-guide/components/static-core.tsx +7 -3
- package/src/javascripts/ui/hooks/use-seamly-chat.ts +2 -1
package/build/dist/lib/utils.js
CHANGED
|
@@ -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
|
-
|
|
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: "
|
|
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(),
|