Skip to content

Commit f708a45

Browse files
fix: onKeyringRequest not matching the implementation type
1 parent 9cd1503 commit f708a45

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)