Skip to content

Commit

Permalink
Add missing fields to Provider type (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink authored Oct 21, 2024
1 parent 5e34e48 commit dda32df
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-ducks-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/typedefs": minor
---

Add missing fields to Provider type
35 changes: 33 additions & 2 deletions packages/typedefs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,42 @@ export type TransactionStatus = {
*/
events: Array<Event>
}
/**
* The Provider type describes a Wallet Provider associated with a specific Service.
*/
export type Provider = {
/**
* - Provider name.
* The blockchain address of the Wallet provider.
*/
name: string
address?: string
/**
* The name of the Wallet provider.
*/
name?: string
/**
* The icon of the Wallet provider (may be a URL or a data URI).
*/
icon?: string
/**
* A brief description of the Wallet provider.
*/
description?: string
/**
* The preferred color to represent the Wallet provider (e.g., for UI styling).
*/
color?: string
/**
* The support email address of the Wallet provider.
*/
supportEmail?: string
/**
* The website URL of the Wallet provider.
*/
website?: string
/**
* Indicates whether the Wallet provider is installed (if applicable).
*/
is_installed?: boolean
}
export type NodeVersionInfo = {
/**
Expand Down

0 comments on commit dda32df

Please sign in to comment.