src/Client.js
/**
     * Logs out the client, closing the current session
     */
Logs out the client, closing the current session
Logs out the client closing the current session
async logout() {
        await this.pupPage.evaluate(() => {
            return window.Store.AppState.logout();
        });
        if (this.dataDir) {
            return (fs.rmSync ? fs.rmSync : fs.rmdirSync).call(this.dataDir, { recursive: true });
        }
    }
async logout ( ) { await this . pupPage . evaluate ( ( ) => { return window . Store . AppState . logout ( ) ; } ) ; if ( this . dataDir ) { return ( fs . rmSync ? fs . rmSync : fs . rmdirSync ) . call ( this . dataDir , { recursive : true } ) ; } }
Logs out the client, closing the current session
Logs out the client closing the current session