File tree Expand file tree Collapse file tree 13 files changed +43
-16
lines changed
Expand file tree Collapse file tree 13 files changed +43
-16
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @relayprotocol/relay-sdk ' : patch
3+ ' @relayprotocol/relay-kit-ui ' : patch
4+ ---
5+
6+ Add lighter vm and enable destination txs
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ type RelayAPIChain = NonNullable<
55 paths [ '/chains' ] [ 'get' ] [ 'responses' ] [ '200' ] [ 'content' ] [ 'application/json' ] [ 'chains' ]
66> [ '0' ]
77
8- export type ChainVM = 'evm' | 'svm' | 'bvm' | 'tvm' | 'suivm' | 'hypevm'
8+ export type ChainVM = 'evm' | 'svm' | 'bvm' | 'tvm' | 'suivm' | 'hypevm' | 'lvm'
99
1010export type RelayChain = {
1111 id : number
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export type PaymentMethodProps = {
5858 isValidAddress ?: boolean
5959 multiWalletSupportEnabled ?: boolean
6060 fromChainWalletVMSupported ?: boolean
61- supportedWalletVMs ?: Omit < ChainVM , 'hypevm' > [ ]
61+ supportedWalletVMs ?: Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
6262 popularChainIds ?: number [ ]
6363 linkedWallets ?: any [ ]
6464 setToken : ( token : Token ) => void
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export type TokenSelectorProps = {
7171 isValidAddress ?: boolean
7272 multiWalletSupportEnabled ?: boolean
7373 fromChainWalletVMSupported ?: boolean
74- supportedWalletVMs ?: Omit < ChainVM , 'hypevm' > [ ]
74+ supportedWalletVMs ?: Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
7575 popularChainIds ?: number [ ]
7676 setToken : ( token : Token ) => void
7777 onAnalyticEvent ?: ( eventName : string , data ?: any ) => void
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export type ChildrenProps = {
6565
6666type OnrampWidgetRendererProps = {
6767 defaultWalletAddress ?: string
68- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
68+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
6969 linkedWallets ?: LinkedWallet [ ]
7070 multiWalletSupportEnabled ?: boolean
7171 moonPayApiKey : string
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { ProviderOptionsContext } from '../../../../providers/RelayKitProvider.j
2525
2626type BaseOnrampWidgetProps = {
2727 defaultWalletAddress ?: string
28- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
28+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
2929 moonPayApiKey : string
3030 moonPayThemeId ?: string
3131 moonPayThemeMode ?: 'dark' | 'light'
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ type BaseSwapWidgetProps = {
6363 lockChainId ?: number
6464 singleChainMode ?: boolean
6565 wallet ?: AdaptedWallet
66- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
66+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
6767 disableInputAutoFocus ?: boolean
6868 popularChainIds ?: number [ ]
6969 disablePasteWalletAddressOption ?: boolean
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ type SwapWidgetRendererProps = {
6666 wallet ?: AdaptedWallet
6767 linkedWallets ?: LinkedWallet [ ]
6868 multiWalletSupportEnabled ?: boolean
69- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
69+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
7070 onConnectWallet ?: ( ) => void
7171 onAnalyticEvent ?: ( eventName : string , data ?: any ) => void
7272 onSwapError ?: ( error : string , data ?: Execute ) => void
@@ -130,7 +130,7 @@ export type ChildrenProps = {
130130 isBvmSwap : boolean
131131 isValidFromAddress : boolean
132132 isValidToAddress : boolean
133- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
133+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
134134 fromChainWalletVMSupported : boolean
135135 toChainWalletVMSupported : boolean
136136 isRecipientLinked ?: boolean
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ type TokenWidgetRendererProps = {
6464 wallet ?: AdaptedWallet
6565 linkedWallets ?: LinkedWallet [ ]
6666 multiWalletSupportEnabled ?: boolean
67- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
67+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
6868 onConnectWallet ?: ( ) => void
6969 onAnalyticEvent ?: ( eventName : string , data ?: any ) => void
7070 onSwapError ?: ( error : string , data ?: Execute ) => void
@@ -140,7 +140,7 @@ export type ChildrenProps = {
140140 isBvmSwap : boolean
141141 isValidFromAddress : boolean
142142 isValidToAddress : boolean
143- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
143+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
144144 fromChainWalletVMSupported : boolean
145145 toChainWalletVMSupported : boolean
146146 isRecipientLinked ?: boolean
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ type BaseTokenWidgetProps = {
5454 lockChainId ?: number
5555 singleChainMode ?: boolean
5656 wallet ?: AdaptedWallet
57- supportedWalletVMs : Omit < ChainVM , 'hypevm' > [ ]
57+ supportedWalletVMs : Omit < ChainVM , 'hypevm' | 'lvm' > [ ]
5858 disableInputAutoFocus ?: boolean
5959 popularChainIds ?: number [ ]
6060 disablePasteWalletAddressOption ?: boolean
You can’t perform that action at this time.
0 commit comments