Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
chore: update KeyringResponse comment (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
danroc authored Sep 9, 2023
1 parent dfaf4ee commit 32d9b02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ export const KeyringResponseStruct = union([
* request will be handled asynchronously. Otherwise, the response must contain
* the result of the request and `pending: false`.
*
* In the asynchronous case, the keyring can return a redirect URL to be shown
* to the user. The user can choose to follow the link or cancel the request.
* The main use case for this is to redirect the user to a third-party service
* to approve the request.
* In the asynchronous case, the keyring can return a redirect URL and message
* to be shown to the user. The user can choose to follow the link or cancel
* the request. The main use case for this is to redirect the user to the snap
* dapp to review the request.
*/
export type KeyringResponse = Infer<typeof KeyringResponseStruct>;

Expand Down

0 comments on commit 32d9b02

Please sign in to comment.