Closed jiexi closed 5 days ago
This diff is a bit messy since it also brings in the core PR that refactors the CAIP-25 permission which the caip-multichain-api branch doesn't have yet.
The main thing this PR does is adds getSessionScopes() which massages the new CAIP-25 permission into a NormalizedScopesObject
getSessionScopes()
NormalizedScopesObject
@metamask/package-a
@metamask/package-b
@metamaskbot publish-preview
Preview builds have been published. See these instructions for more information about preview builds.
Explanation
This diff is a bit messy since it also brings in the core PR that refactors the CAIP-25 permission which the caip-multichain-api branch doesn't have yet.The main thing this PR does is adds
getSessionScopes()
which massages the new CAIP-25 permission into aNormalizedScopesObject
References
Changelog
@metamask/package-a
@metamask/package-b
Checklist