Files
explore/lib
zeekay 507a7da852 fix(realtime): swap Phoenix WebSocket transport for backend SSE
The FE connected realtime via Phoenix Channels (wss .../socket/v2), but the
Go backend serves no Phoenix endpoint — its realtime is SSE at
/v1/base/realtime (envelope {event,chain,data}). Result: repeating ws 404 ->
'Live updates temporarily delayed'.

lib/socket/sse.ts reimplements the slice of the Phoenix Socket/Channel API the
27 realtime consumers use, backed by one EventSource, behind the existing
SocketProvider/useSocketChannel/useSocketMessage seam — no consumer changes.
Envelope routes via an optional topic field or a hub-channel translation table
(blocks -> blocks:new_block/new_block today). CT harness becomes a tiny SSE
server with the same signatures. 12 vitest cases cover it.

Frontend-only; chain/indexer untouched. Data freshness remains gated on the
separate C-Chain-rollback/indexer-reorg owner items.
2026-06-28 09:01:10 -07:00
..
2025-12-09 13:39:04 +01:00
2026-02-03 18:05:00 +01:00
2024-12-16 14:43:50 +01:00
2025-10-17 14:58:12 +02:00
2025-02-11 10:36:36 +01:00
2025-09-05 15:53:00 +02:00
2024-03-14 11:10:45 +04:00
2025-09-05 15:53:00 +02:00
MUD
2024-07-23 21:10:30 +02:00
2024-10-18 14:54:57 +02:00
2022-08-18 15:31:28 +03:00
2022-12-28 12:36:41 +03:00
2022-08-29 19:25:14 +03:00
2023-02-24 12:37:08 -05:00
2024-12-16 14:43:50 +01:00
2022-10-11 14:30:29 +03:00
2023-09-06 03:30:44 +07:00
2026-01-05 13:32:05 +01:00
2023-04-12 10:16:26 -03:00