Skip to content

Commit

Permalink
Merge pull request #206 from reservoirprotocol/pedro/relay-5429-auto-…
Browse files Browse the repository at this point in the history
…provision-chain-icons

Auto provision chain icons
  • Loading branch information
pedromcunha authored Aug 2, 2024
2 parents 64f20a3 + b342c8d commit 37a456a
Show file tree
Hide file tree
Showing 7 changed files with 314 additions and 32 deletions.
6 changes: 6 additions & 0 deletions .changeset/witty-jobs-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@reservoir0x/relay-sdk': patch
'@reservoir0x/relay-kit-ui': patch
---

Add support for iconUrl chain icon override
2 changes: 2 additions & 0 deletions packages/sdk/src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export const routes = [
"/lives",
"/intents/status",
"/intents/quote",
"/intents/status/v2",
"/requests",
"/requests/v2",
"/transactions/index",
"/transactions/status",
"/conduit/install",
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk/src/types/RelayChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ export type RelayChain = {
depositEnabled?: boolean
blockProductionLagging?: boolean
erc20Currencies?: Erc20Currencies
iconUrl?: string | null
logoUrl?: string | null
brandColor?: string | null
viemChain: Chain
}
Loading

0 comments on commit 37a456a

Please sign in to comment.