Skip to content

Commit 0d113d7

Browse files
committed
fix: allowedProtocols optional in notify getImplementation
1 parent e80a572 commit 0d113d7

File tree

1 file changed

+1
-1
lines changed
  • packages/snaps-rpc-methods/src/restricted

1 file changed

+1
-1
lines changed

packages/snaps-rpc-methods/src/restricted/notify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function getImplementation(
122122
isOnPhishingList,
123123
maybeUpdatePhishingList,
124124
}: NotifyMethodHooks,
125-
allowedProtocols: string[],
125+
allowedProtocols?: string[],
126126
) {
127127
return async function implementation(
128128
args: RestrictedMethodOptions<NotifyParams>,

0 commit comments

Comments
 (0)