Skip to content

feat: Add a logout function for disposal of the client#163

Merged
Dadadah merged 2 commits into
stoatchat:mainfrom
Dadadah:feat/logout
May 23, 2026
Merged

feat: Add a logout function for disposal of the client#163
Dadadah merged 2 commits into
stoatchat:mainfrom
Dadadah:feat/logout

Conversation

@Dadadah
Copy link
Copy Markdown
Member

@Dadadah Dadadah commented May 23, 2026

Adds a logout function on the client that calls /auth/session/logout which deletes sessions. It also disposes the client. This moves the dispose functionality from for-web to the sdk.

Gen AI was not used in the writing of this PR.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
@Dadadah Dadadah requested review from Pecacheu and chrishultin May 23, 2026 17:34
Comment thread src/Client.ts Outdated
Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
@Dadadah Dadadah merged commit 8e9b8fa into stoatchat:main May 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants