diff --git a/relay.js b/relay.js index f387f70..1946340 100644 --- a/relay.js +++ b/relay.js @@ -114,6 +114,9 @@ export function relayConnect(url, onEvent, onNotice) { }, close() { ws.close() + }, + get status() { + return ws.readyState } } }