-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
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
Add context
to snap_createInterface
#2402
Closed
FrederikBolding opened this issue
May 14, 2024
· 0 comments
· Fixed by MetaMask/metamask-extension#24827
Closed
Add context
to snap_createInterface
#2402
FrederikBolding opened this issue
May 14, 2024
· 0 comments
· Fixed by MetaMask/metamask-extension#24827
Labels
release-11.18.0
Issue or pull request that will be included in release 11.18.0
Comments
FrederikBolding
added a commit
that referenced
this issue
May 23, 2024
Add optional `context` parameter to `snap_createInterface`, this `context` is stored in state and exposed to `onUserInput`, allowing for storage of small amounts of data (1 MB to start) for use in UIs without using `manageState`. In the future we may consider allowing the Snap to modify this data using `snap_updateInterface`, but this implementation doesn't do that. Progresses #2402 --------- Co-authored-by: MetaMask Bot <[email protected]>
metamaskbot
added
the
release-11.18.0
Issue or pull request that will be included in release 11.18.0
label
May 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: