@lifi/types
Advanced tools
Comparing version 1.10.1 to 1.11.0
@@ -5,2 +5,14 @@ # Changelog | ||
## [1.11.0](https://github.com/lifinance/types/compare/v1.10.1...v1.11.0) (2022-10-25) | ||
### Features | ||
* **api:** include nativeToken in chains response ([#104](https://github.com/lifinance/types/issues/104)) ([caf6262](https://github.com/lifinance/types/commit/caf6262ca634e063d832f0495710cb5b54a8f3ae)) | ||
### Bug Fixes | ||
* **EVMOS:** fix name of native evmos coin ([#103](https://github.com/lifinance/types/issues/103)) ([60490c0](https://github.com/lifinance/types/commit/60490c000e3fea06eca415e1c53619ff46ba1208)) | ||
### [1.10.1](https://github.com/lifinance/types/compare/v1.10.0...v1.10.1) (2022-10-24) | ||
@@ -7,0 +19,0 @@ |
@@ -184,4 +184,7 @@ import { TransactionRequest } from '@ethersproject/providers'; | ||
} | ||
interface ExtendedChain extends Chain { | ||
nativeToken: Token; | ||
} | ||
export interface ChainsResponse { | ||
chains: Chain[]; | ||
chains: ExtendedChain[]; | ||
} | ||
@@ -239,3 +242,3 @@ export interface ToolsRequest { | ||
getTools(request: ToolsRequest): Promise<ToolsResponse>; | ||
getChains(): ChainsResponse; | ||
getChains(): Promise<ChainsResponse>; | ||
getConnections(request: ConnectionsRequest): Promise<ConnectionsResponse>; | ||
@@ -242,0 +245,0 @@ getIntegratorData(integratorAddress: string): Promise<Integrator>; |
@@ -760,4 +760,4 @@ /* | ||
nativeCurrency: { | ||
name: 'EVM', | ||
symbol: 'EVM', | ||
name: 'EVMOS', | ||
symbol: 'EVMOS', | ||
decimals: 18, | ||
@@ -764,0 +764,0 @@ }, |
@@ -184,4 +184,7 @@ import { TransactionRequest } from '@ethersproject/providers'; | ||
} | ||
interface ExtendedChain extends Chain { | ||
nativeToken: Token; | ||
} | ||
export interface ChainsResponse { | ||
chains: Chain[]; | ||
chains: ExtendedChain[]; | ||
} | ||
@@ -239,3 +242,3 @@ export interface ToolsRequest { | ||
getTools(request: ToolsRequest): Promise<ToolsResponse>; | ||
getChains(): ChainsResponse; | ||
getChains(): Promise<ChainsResponse>; | ||
getConnections(request: ConnectionsRequest): Promise<ConnectionsResponse>; | ||
@@ -242,0 +245,0 @@ getIntegratorData(integratorAddress: string): Promise<Integrator>; |
@@ -763,4 +763,4 @@ "use strict"; | ||
nativeCurrency: { | ||
name: 'EVM', | ||
symbol: 'EVM', | ||
name: 'EVMOS', | ||
symbol: 'EVMOS', | ||
decimals: 18, | ||
@@ -767,0 +767,0 @@ }, |
@@ -1096,3 +1096,3 @@ "use strict"; | ||
key: base_1.CoinKey.EVM, | ||
name: 'Evmos', | ||
name: 'EVMOS', | ||
logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png', | ||
@@ -1104,2 +1104,4 @@ verified: true, | ||
decimals: 18, | ||
symbol: 'EVMOS', | ||
name: 'EVMOS', | ||
}, | ||
@@ -1106,0 +1108,0 @@ }, |
@@ -1093,3 +1093,3 @@ import { ChainId, CoinKey } from './base'; | ||
key: CoinKey.EVM, | ||
name: 'Evmos', | ||
name: 'EVMOS', | ||
logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png', | ||
@@ -1101,2 +1101,4 @@ verified: true, | ||
decimals: 18, | ||
symbol: 'EVMOS', | ||
name: 'EVMOS', | ||
}, | ||
@@ -1103,0 +1105,0 @@ }, |
{ | ||
"name": "@lifi/types", | ||
"version": "1.10.1", | ||
"version": "1.11.0", | ||
"description": "Types for the LI.FI stack", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
430620
10249