mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
[FLASK] Add WebAssembly endowment (#17694)
* Add WebAssembly endowment Update message and fix lint Update fa icon * Remove duplicated webassembly permission from a list
This commit is contained in:
parent
d6e61e9d07
commit
642ce91b70
4
app/_locales/en/messages.json
generated
4
app/_locales/en/messages.json
generated
@ -2822,6 +2822,10 @@
|
||||
"message": "View your public key for $1.",
|
||||
"description": "The description for the `snap_getBip32PublicKey` permission. $1 is a name for the derivation path, e.g., 'Ethereum accounts'."
|
||||
},
|
||||
"permission_webAssembly": {
|
||||
"message": "Support for WebAssembly.",
|
||||
"description": "The description of the `endowment:webassembly` permission."
|
||||
},
|
||||
"permissions": {
|
||||
"message": "Permissions"
|
||||
},
|
||||
|
@ -171,6 +171,12 @@ const PERMISSION_DESCRIPTIONS = deepFreeze({
|
||||
rightIcon: null,
|
||||
weight: 2,
|
||||
}),
|
||||
[EndowmentPermissions['endowment:webassembly']]: (t) => ({
|
||||
label: t('permission_webAssembly'),
|
||||
leftIcon: 'fas fa-microchip',
|
||||
rightIcon: null,
|
||||
weight: 2,
|
||||
}),
|
||||
[EndowmentPermissions['endowment:long-running']]: (t) => ({
|
||||
label: t('permission_longRunning'),
|
||||
leftIcon: 'fas fa-infinity',
|
||||
|
Loading…
Reference in New Issue
Block a user