-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Bumps all Snaps packages to their latest versions and deletes some unnecessary fetch polyfilling code. This fixes an issue where local Snaps would fail to install in the Flask flavor of mobile.
- Loading branch information
1 parent
ffe45d0
commit bd06be7
Showing
8 changed files
with
71 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
///: BEGIN:ONLY_INCLUDE_IF(preinstalled-snaps,external-snaps) | ||
export * from './location'; | ||
export * from './fetch'; | ||
///: END:ONLY_INCLUDE_IF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
///: BEGIN:ONLY_INCLUDE_IF(preinstalled-snaps,external-snaps) | ||
// TODO: Figure out which permissions should be disabled at this point | ||
export const ExcludedSnapPermissions = Object.freeze([]); | ||
export const ExcludedSnapEndowments = Object.freeze([]); | ||
export const ExcludedSnapPermissions = Object.freeze({ | ||
eth_accounts: | ||
'eth_accounts is disabled. For more information please see https://github.com/MetaMask/snaps/issues/990.', | ||
}); | ||
export const ExcludedSnapEndowments = Object.freeze({}); | ||
|
||
export const EndowmentPermissions = Object.freeze({ | ||
'endowment:network-access': 'endowment:network-access', | ||
'endowment:transaction-insight': 'endowment:transaction-insight', | ||
'endowment:cronjob': 'endowment:cronjob', | ||
'endowment:ethereum-provider': 'endowment:ethereum-provider', | ||
'endowment:rpc': 'endowment:rpc', | ||
'endowment:webassembly': 'endowment:webassembly', | ||
'endowment:lifecycle-hooks': 'endowment:lifecycle-hooks', | ||
'endowment:page-home': 'endowment:page-home', | ||
'endowment:signature-insight': 'endowment:signature-insight', | ||
'endowment:name-lookup': 'endowment:name-lookup', | ||
'endowment:keyring': 'endowment:keyring', | ||
} as const); | ||
///: END:ONLY_INCLUDE_IF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.