Skip to content

Commit

Permalink
Revert rename of 'TokensControllerMessenger'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudahtt committed Jan 14, 2025
1 parent 923da9b commit 5dddb45
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/writing-controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ class TokensController extends BaseController</* ... */> {
messenger,
}: // ...
{
messenger: TokensMessenger;
messenger: TokensControllerMessenger;
// ...
}) {
// ...
Expand Down Expand Up @@ -1296,7 +1296,7 @@ type AllowedActions =
| AccountsControllerGetActiveAccountsAction
| AccountsControllerGetInactiveAccountsAction;

export type TokensMessenger = RestrictedMessenger<
export type TokensControllerMessenger = RestrictedMessenger<
'TokensController',
AllowedActions,
never,
Expand All @@ -1309,7 +1309,7 @@ class TokensController extends BaseController</* ... */> {
messenger,
}: // ...
{
messenger: TokensMessenger;
messenger: TokensControllerMessenger;
// ...
}) {
// ...
Expand Down Expand Up @@ -1394,7 +1394,7 @@ import { accountsControllerSelectors } from '@metamask/accounts-controller';

type AllowedActions = AccountsControllerGetStateAction;

export type TokensMessenger = RestrictedMessenger<
export type TokensControllerMessenger = RestrictedMessenger<
'TokensController',
AllowedActions,
never,
Expand All @@ -1407,7 +1407,7 @@ class TokensController extends BaseController</* ... */> {
messenger,
// ...
}: {
messenger: TokensMessenger,
messenger: TokensControllerMessenger,
// ...
}) {
// ...
Expand Down

0 comments on commit 5dddb45

Please sign in to comment.