@lifi/types 1.10.1 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/api.d.ts +5 -2
- package/dist/chains/supported.chains.js +2 -2
- package/dist/cjs/api.d.ts +5 -2
- package/dist/cjs/chains/supported.chains.js +2 -2
- package/dist/cjs/coins.js +3 -1
- package/dist/coins.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.11.0](https://github.com/lifinance/types/compare/v1.10.1...v1.11.0) (2022-10-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **api:** include nativeToken in chains response ([#104](https://github.com/lifinance/types/issues/104)) ([caf6262](https://github.com/lifinance/types/commit/caf6262ca634e063d832f0495710cb5b54a8f3ae))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **EVMOS:** fix name of native evmos coin ([#103](https://github.com/lifinance/types/issues/103)) ([60490c0](https://github.com/lifinance/types/commit/60490c000e3fea06eca415e1c53619ff46ba1208))
|
|
16
|
+
|
|
5
17
|
### [1.10.1](https://github.com/lifinance/types/compare/v1.10.0...v1.10.1) (2022-10-24)
|
|
6
18
|
|
|
7
19
|
|
package/dist/api.d.ts
CHANGED
|
@@ -181,8 +181,11 @@ export interface StatusResponse extends StatusInformation {
|
|
|
181
181
|
tool?: string;
|
|
182
182
|
bridgeExplorerLink?: string;
|
|
183
183
|
}
|
|
184
|
+
interface ExtendedChain extends Chain {
|
|
185
|
+
nativeToken: Token;
|
|
186
|
+
}
|
|
184
187
|
export interface ChainsResponse {
|
|
185
|
-
chains:
|
|
188
|
+
chains: ExtendedChain[];
|
|
186
189
|
}
|
|
187
190
|
export interface ToolsRequest {
|
|
188
191
|
chains?: ChainId[];
|
|
@@ -235,7 +238,7 @@ export declare class LifiAPI {
|
|
|
235
238
|
getContractCallQuotes(request: ContractCallQuotesRequest): Promise<Step>;
|
|
236
239
|
getStatus(request: GetStatusRequest): Promise<StatusResponse>;
|
|
237
240
|
getTools(request: ToolsRequest): Promise<ToolsResponse>;
|
|
238
|
-
getChains(): ChainsResponse
|
|
241
|
+
getChains(): Promise<ChainsResponse>;
|
|
239
242
|
getConnections(request: ConnectionsRequest): Promise<ConnectionsResponse>;
|
|
240
243
|
getIntegratorData(integratorAddress: string): Promise<Integrator>;
|
|
241
244
|
getIntegratorWithdrawalTransaction(request: IntegratorWithdrawalRequest): Promise<IntegratorWithdrawalTransactionResponse>;
|
|
@@ -757,8 +757,8 @@ export const supportedEVMChains = [
|
|
|
757
757
|
blockExplorerUrls: ['https://evm.evmos.org/'],
|
|
758
758
|
chainName: 'Evmos',
|
|
759
759
|
nativeCurrency: {
|
|
760
|
-
name: '
|
|
761
|
-
symbol: '
|
|
760
|
+
name: 'EVMOS',
|
|
761
|
+
symbol: 'EVMOS',
|
|
762
762
|
decimals: 18,
|
|
763
763
|
},
|
|
764
764
|
rpcUrls: ['https://eth.bd.evmos.org:8545'],
|
package/dist/cjs/api.d.ts
CHANGED
|
@@ -181,8 +181,11 @@ export interface StatusResponse extends StatusInformation {
|
|
|
181
181
|
tool?: string;
|
|
182
182
|
bridgeExplorerLink?: string;
|
|
183
183
|
}
|
|
184
|
+
interface ExtendedChain extends Chain {
|
|
185
|
+
nativeToken: Token;
|
|
186
|
+
}
|
|
184
187
|
export interface ChainsResponse {
|
|
185
|
-
chains:
|
|
188
|
+
chains: ExtendedChain[];
|
|
186
189
|
}
|
|
187
190
|
export interface ToolsRequest {
|
|
188
191
|
chains?: ChainId[];
|
|
@@ -235,7 +238,7 @@ export declare class LifiAPI {
|
|
|
235
238
|
getContractCallQuotes(request: ContractCallQuotesRequest): Promise<Step>;
|
|
236
239
|
getStatus(request: GetStatusRequest): Promise<StatusResponse>;
|
|
237
240
|
getTools(request: ToolsRequest): Promise<ToolsResponse>;
|
|
238
|
-
getChains(): ChainsResponse
|
|
241
|
+
getChains(): Promise<ChainsResponse>;
|
|
239
242
|
getConnections(request: ConnectionsRequest): Promise<ConnectionsResponse>;
|
|
240
243
|
getIntegratorData(integratorAddress: string): Promise<Integrator>;
|
|
241
244
|
getIntegratorWithdrawalTransaction(request: IntegratorWithdrawalRequest): Promise<IntegratorWithdrawalTransactionResponse>;
|
|
@@ -760,8 +760,8 @@ exports.supportedEVMChains = [
|
|
|
760
760
|
blockExplorerUrls: ['https://evm.evmos.org/'],
|
|
761
761
|
chainName: 'Evmos',
|
|
762
762
|
nativeCurrency: {
|
|
763
|
-
name: '
|
|
764
|
-
symbol: '
|
|
763
|
+
name: 'EVMOS',
|
|
764
|
+
symbol: 'EVMOS',
|
|
765
765
|
decimals: 18,
|
|
766
766
|
},
|
|
767
767
|
rpcUrls: ['https://eth.bd.evmos.org:8545'],
|
package/dist/cjs/coins.js
CHANGED
|
@@ -1093,13 +1093,15 @@ const basicCoins = [
|
|
|
1093
1093
|
// > EVM
|
|
1094
1094
|
{
|
|
1095
1095
|
key: base_1.CoinKey.EVM,
|
|
1096
|
-
name: '
|
|
1096
|
+
name: 'EVMOS',
|
|
1097
1097
|
logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
|
|
1098
1098
|
verified: true,
|
|
1099
1099
|
chains: {
|
|
1100
1100
|
[base_1.ChainId.EVM]: {
|
|
1101
1101
|
address: '0x0000000000000000000000000000000000000000',
|
|
1102
1102
|
decimals: 18,
|
|
1103
|
+
symbol: 'EVMOS',
|
|
1104
|
+
name: 'EVMOS',
|
|
1103
1105
|
},
|
|
1104
1106
|
},
|
|
1105
1107
|
},
|
package/dist/coins.js
CHANGED
|
@@ -1090,13 +1090,15 @@ const basicCoins = [
|
|
|
1090
1090
|
// > EVM
|
|
1091
1091
|
{
|
|
1092
1092
|
key: CoinKey.EVM,
|
|
1093
|
-
name: '
|
|
1093
|
+
name: 'EVMOS',
|
|
1094
1094
|
logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
|
|
1095
1095
|
verified: true,
|
|
1096
1096
|
chains: {
|
|
1097
1097
|
[ChainId.EVM]: {
|
|
1098
1098
|
address: '0x0000000000000000000000000000000000000000',
|
|
1099
1099
|
decimals: 18,
|
|
1100
|
+
symbol: 'EVMOS',
|
|
1101
|
+
name: 'EVMOS',
|
|
1100
1102
|
},
|
|
1101
1103
|
},
|
|
1102
1104
|
},
|