Skip to content
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 permission method for wallet_getLocale #87

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

meppsilon
Copy link

I added a simple permission for wallet_getLanguage. I wasn't sure how detailed and specific we should make this permission but I see a possible improvement: converting LanguageResult to a enum-like data type where we specify exactly what languages would be returned instead of a returning it as a general "string" type.

@shanejonas
Copy link
Contributor

Looks good, you also need to add the method as a $ref in this file: https://github.com/MetaMask/api-specs/blob/main/metamask-openrpc.json#L7

@meppsilon meppsilon marked this pull request as ready for review April 14, 2022 16:01
@meppsilon meppsilon requested a review from a team as a code owner April 14, 2022 16:01
@meppsilon meppsilon changed the title Add permission method for wallet_getLanguage Add permission method for wallet_getLocale Apr 19, 2022
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