// The browser surface, reachable as `@amatiasq/socket`. Three layers, each built // on the one below it: // // ResilientSocket reconnection with backoff, and a queue for anything sent // while the socket was down // JsonSocket typed JSON on top of that // SessionSocket typed messages plus an identity that survives reconnection // // Nothing here imports a WebSocket implementation: it uses the platform's global // `WebSocket`, which browsers have and Node has had since v22. export * from './internals/ClientId.js'; export * from './internals/JsonSocket.js'; export * from './internals/ResilientSocket.js'; export * from './internals/SessionSocket.js'; export * from './Message.js';