feat(wsClient): implement WebSocket client with reconnecting functionality

This commit is contained in:
2026-01-27 12:16:09 +07:00
parent fea9cca865
commit c9aeca0ed9
3 changed files with 30 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
import ReconnectingWebSocket from 'reconnecting-websocket';
import { getToken } from '../../storage';
import { getToken } from './storage';
type MessageHandler = (data: any) => void;