wharfkit / session

Create account-based sessions, perform transactions, and allow users to login using Antelope-based blockchains.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logout should accept a SerializedSession or a Session

aaroncox opened this issue · comments

Currently if you want to logout a specific session, it needs to be restored. You should be able to just pass in a SerializedSession to this call so there's no need to restore.

async logout(session?: Session) {