From 8301727374da0c59432b1db5d23d744d7c093c45 Mon Sep 17 00:00:00 2001 From: david0xd Date: Wed, 9 Oct 2024 12:42:38 +0200 Subject: [PATCH] Update keyring request types --- packages/snaps-simulation/src/helpers.ts | 2 +- packages/snaps-simulation/src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/snaps-simulation/src/helpers.ts b/packages/snaps-simulation/src/helpers.ts index b9fb255346..ec71034377 100644 --- a/packages/snaps-simulation/src/helpers.ts +++ b/packages/snaps-simulation/src/helpers.ts @@ -123,7 +123,7 @@ export type SnapHelpers = { * @returns The response. */ onKeyringRequest( - keyringRequest?: Partial, + keyringRequest: KeyringOptions, ): Promise; /** diff --git a/packages/snaps-simulation/src/types.ts b/packages/snaps-simulation/src/types.ts index c472220308..639fe5e626 100644 --- a/packages/snaps-simulation/src/types.ts +++ b/packages/snaps-simulation/src/types.ts @@ -417,7 +417,7 @@ export type Snap = { * @returns The response. */ onKeyringRequest( - keyringRequest: Partial, + keyringRequest: KeyringOptions, ): Promise; /**