Skip to content

Commit 3825421

Browse files
authored
refactor: minor rename of sessionScopes to scopes for revokeSession params (#77)
1 parent 4f6e36d commit 3825421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/multichainApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export type MultichainApiClient<T extends RpcApi = DefaultRpcApi> = {
3333
* Revokes the current session and disconnects from the wallet
3434
*
3535
* @param params - Session revoke parameters
36-
* @param params.sessionScopes - Scopes that may be passed to partially revoke permission granted by the wallet
36+
* @param params.scopes - Scopes that may be passed to partially revoke permission granted by the wallet
3737
* @returns A promise that resolves when the session is revoked
3838
*/
3939
revokeSession: MultichainApi<T>['wallet_revokeSession'];
@@ -85,7 +85,7 @@ export type CreateSessionParams<T extends RpcApi> = {
8585

8686
// wallet_revokeSession params
8787
export type RevokeSessionParams<T extends RpcApi> = {
88-
sessionScopes?: Scope<T>[];
88+
scopes?: Scope<T>[];
8989
};
9090

9191
// wallet_invokeMethod params

0 commit comments

Comments
 (0)