diff --git a/src/Client.js b/src/Client.js index 99e27f6..e9911bc 100644 --- a/src/Client.js +++ b/src/Client.js @@ -100,7 +100,7 @@ export class Client extends EventEmitter { } } - logoff() { + logout() { if (!this.#ws || this.#ws.readyState !== WebSocket.OPEN) { throw new Error('not connected') }