From 601314da36a13f823f827592a396063503ec0520 Mon Sep 17 00:00:00 2001 From: utf-4096 Date: Sat, 15 Jul 2023 16:07:02 +0200 Subject: [PATCH] fix: rename logoff to logout keeps naming more consistent --- src/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }