Skip to content

Commit

Permalink
package export getInternalScopesObject and getSessionScopes
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Nov 21, 2024
1 parent 4b94db7 commit c58e394
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/multichain/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ describe('@metamask/multichain', () => {
"getPermittedEthChainIds",
"addPermittedEthChainId",
"setPermittedEthChainIds",
"getInternalScopesObject",
"getSessionScopes",
"walletGetSession",
"walletInvokeMethod",
"walletRevokeSession",
Expand Down
4 changes: 4 additions & 0 deletions packages/multichain/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export {
addPermittedEthChainId,
setPermittedEthChainIds,
} from './adapters/caip-permission-adapter-permittedChains';
export {
getInternalScopesObject,
getSessionScopes,
} from './adapters/caip-permission-adapter-session-scopes';

export { walletGetSession } from './handlers/wallet-getSession';
export { walletInvokeMethod } from './handlers/wallet-invokeMethod';
Expand Down

0 comments on commit c58e394

Please sign in to comment.