analytica-frontend-lib 1.2.75 → 1.2.76
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/hooks/useChat.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -26718,6 +26718,7 @@ function useChat({
|
|
|
26718
26718
|
setIsConnected(true);
|
|
26719
26719
|
setError(null);
|
|
26720
26720
|
reconnectAttemptsRef.current = 0;
|
|
26721
|
+
ws.send(JSON.stringify({ type: "getInitialData" }));
|
|
26721
26722
|
onConnect?.();
|
|
26722
26723
|
};
|
|
26723
26724
|
ws.onmessage = handleMessage;
|