We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug It seems impossible to update accounts in the Auth SDK:
Auth.configure(account: Account("eip155:1:0xdeadbeef")!) Auth.instance.authRequestPublisher.receive(on: DispatchQueue.main).sink { request in [...] }.store(in: &subscribers) // [...] User imports another wallet // This call gets ignored: Auth.configure(account: Account("eip155:1:0xcafe")!) // Auth.instance.account still contains "eip155:1:0xdeadbeef"
Once Auth.instance is called there is no way to update Auth.instance.account since further calls to Auth.configure are ignored.
Auth.instance
Auth.instance.account
Auth.configure
SDK Version
The text was updated successfully, but these errors were encountered:
It was not intended to work this way but we have multi-account authentication on our roadmap.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
It seems impossible to update accounts in the Auth SDK:
Once
Auth.instance
is called there is no way to updateAuth.instance.account
since further calls toAuth.configure
are ignored.SDK Version
The text was updated successfully, but these errors were encountered: