wharfkit / session

Create account-based sessions, perform transactions, and allow users to login using Antelope-based blockchains.
Other
9 stars 1 forks source link

Logout should accept a SerializedSession or a Session #49

Closed aaroncox closed 1 year ago

aaroncox commented 1 year ago

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.

https://github.com/wharfkit/session/blob/9e8512d2a35bf4eb657f150fa72da7d60c55654c/src/kit.ts#L289