fix: rename logoff to logout
keeps naming more consistent
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ export class Client extends EventEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
logoff() {
|
||||
logout() {
|
||||
if (!this.#ws || this.#ws.readyState !== WebSocket.OPEN) {
|
||||
throw new Error('not connected')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user