Skip to content

Commit 1adbc54

Browse files
fix(simulation): onKeyringRequest not matching the implementation type (#3138)
In 3556c3c I change the type of `onKeyringRequest` but apparently it is defined in more places and I forgot to change it here.
1 parent 9cd1503 commit 1adbc54

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/snaps-simulation/src/types.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,7 @@ export type Snap = {
448448
* @param keyringRequest - Keyring request options.
449449
* @returns The response.
450450
*/
451-
onKeyringRequest(
452-
keyringRequest: KeyringOptions,
453-
): Promise<SnapResponseWithoutInterface>;
451+
onKeyringRequest(keyringRequest: KeyringOptions): SnapRequest;
454452

455453
/**
456454
* Get the response from the Snap's `onInstall` handler.

0 commit comments

Comments
 (0)