fix: rename logoff to logout

keeps naming more consistent
This commit is contained in:
2023-07-15 16:07:02 +02:00
parent 52339d0a20
commit 601314da36
+1 -1
View File
@@ -100,7 +100,7 @@ export class Client extends EventEmitter {
}
}
logoff() {
logout() {
if (!this.#ws || this.#ws.readyState !== WebSocket.OPEN) {
throw new Error('not connected')
}