Skip to content

Commit

Permalink
fix(simulation): onKeyringRequest not matching the implementation t…
Browse files Browse the repository at this point in the history
…ype (#3138)

In
3556c3c
I change the type of `onKeyringRequest` but apparently it is defined in
more places and I forgot to change it here.
  • Loading branch information
FrederikBolding authored Feb 20, 2025
1 parent 9cd1503 commit 1adbc54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/snaps-simulation/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,7 @@ export type Snap = {
* @param keyringRequest - Keyring request options.
* @returns The response.
*/
onKeyringRequest(
keyringRequest: KeyringOptions,
): Promise<SnapResponseWithoutInterface>;
onKeyringRequest(keyringRequest: KeyringOptions): SnapRequest;

/**
* Get the response from the Snap's `onInstall` handler.
Expand Down

0 comments on commit 1adbc54

Please sign in to comment.