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

chore: update KeyringResponse comment #103

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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