You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no consistent way to save sessions other than using local storage, which cannot be easily managed. The IStorage interface is only available when using the SDK, not the UI package.
Describe the solution you'd like
Ideally, there should be an IStorage interface implemented in the @tonconnect/ui package, providing an alternative way to save sessions, rather than relying solely on browser local storage.
Describe alternatives you've considered
As an alternative, it's possible to manually read and save these local storage keys on the backend when the wallet is connected:
Afterward, we can manually set these keys with the values retrieved from the backend, overriding the values set by the UI package, which is not reliable.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Currently, there is no consistent way to save sessions other than using local storage, which cannot be easily managed. The IStorage interface is only available when using the SDK, not the UI package.
Describe the solution you'd like
Ideally, there should be an IStorage interface implemented in the @tonconnect/ui package, providing an alternative way to save sessions, rather than relying solely on browser local storage.
Describe alternatives you've considered
As an alternative, it's possible to manually read and save these local storage keys on the backend when the wallet is connected:
Afterward, we can manually set these keys with the values retrieved from the backend, overriding the values set by the UI package, which is not reliable.
Additional context
No response
The text was updated successfully, but these errors were encountered: