Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(user-operation): Rename RestrictedControllerMessenger to RestrictedMessenger #5238

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type {
AddApprovalRequest,
AddResult,
} from '@metamask/approval-controller';
import type { RestrictedControllerMessenger } from '@metamask/base-controller';
import type { RestrictedMessenger } from '@metamask/base-controller';
import { BaseController } from '@metamask/base-controller';
import { ApprovalType } from '@metamask/controller-utils';
import EthQuery from '@metamask/eth-query';
Expand Down Expand Up @@ -117,7 +117,7 @@ export type UserOperationControllerActions =

export type UserOperationControllerEvents = UserOperationStateChange;

export type UserOperationControllerMessenger = RestrictedControllerMessenger<
export type UserOperationControllerMessenger = RestrictedMessenger<
typeof controllerName,
UserOperationControllerActions,
UserOperationControllerEvents,
Expand Down Expand Up @@ -211,7 +211,7 @@ export class UserOperationController extends BaseController<
* @param options - Controller options.
* @param options.entrypoint - Address of the entrypoint contract.
* @param options.getGasFeeEstimates - Callback to get gas fee estimates.
* @param options.messenger - Restricted controller messenger for the user operation controller.
* @param options.messenger - Restricted messenger for the user operation controller.
* @param options.state - Initial state to set on the controller.
*/
constructor({
Expand Down
Loading