Skip to content

Commit

Permalink
revert type name change
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Dec 3, 2024
1 parent da47242 commit 7dd44f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/snaps-rpc-methods/src/restricted/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const NotificationParametersStruct = union([
NativeNotificationStruct,
]);

export type NotificationParameters = InferMatching<
export type NotificationArgs = InferMatching<
typeof NotificationParametersStruct,
NotifyParams
>;
Expand All @@ -75,7 +75,7 @@ export type NotifyMethodHooks = {
*/
showNativeNotification: (
snapId: string,
args: NotificationParameters,
args: NotificationArgs,
) => Promise<null>;

/**
Expand All @@ -84,7 +84,7 @@ export type NotifyMethodHooks = {
*/
showInAppNotification: (
snapId: string,
args: NotificationParameters,
args: NotificationArgs,
) => Promise<null>;

isOnPhishingList: (url: string) => boolean;
Expand Down

0 comments on commit 7dd44f5

Please sign in to comment.