mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-18 16:34:27 -04:00
[PR #127] feat: Enable asynchronous configuration loading and configuration signal #122
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/127
Author: @Dadadah
Created: 2/12/2026
Status: 🔄 Open
Base:
main← Head:main📝 Commits (1)
b7d6f07feat: Enable asynchronous configuration loading and configuration signal📊 Changes
1 file changed (+10 additions, -0 deletions)
View changed files
📝
src/Client.ts(+10 -0)📄 Description
Currently, when the client is initialized, it will not have a configuration unless set externally as the web app does. This results in the client not having full knowledge of how to interact with the server until a login is attempted. By loading configuration on client creation, the client can have full knowledge of how to interact with the server before login. This is particularly useful with account registration on invite only servers.
Implements #126
Required for stoatchat/for-web#698
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.