From f708a451569a863ace9299e6c91c94865d0a8d75 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Thu, 20 Feb 2025 13:08:56 +0100 Subject: [PATCH] fix: onKeyringRequest not matching the implementation type --- packages/snaps-simulation/src/types.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/snaps-simulation/src/types.ts b/packages/snaps-simulation/src/types.ts index 7dfcf82e7c..21fc881fc8 100644 --- a/packages/snaps-simulation/src/types.ts +++ b/packages/snaps-simulation/src/types.ts @@ -448,9 +448,7 @@ export type Snap = { * @param keyringRequest - Keyring request options. * @returns The response. */ - onKeyringRequest( - keyringRequest: KeyringOptions, - ): Promise; + onKeyringRequest(keyringRequest: KeyringOptions): SnapRequest; /** * Get the response from the Snap's `onInstall` handler.