@lifi/types
Advanced tools
Comparing version 17.0.0-beta.0 to 17.0.0-beta.1
{ | ||
"name": "@lifi/types", | ||
"description": "Types for the LI.FI stack", | ||
"version": "17.0.0-beta.0", | ||
"version": "17.0.0-beta.1", | ||
"files": [ | ||
@@ -6,0 +6,0 @@ "src", |
@@ -45,2 +45,3 @@ "use strict"; | ||
ChainKey["OPB"] = "opb"; | ||
ChainKey["WCC"] = "wcc"; | ||
ChainKey["SOL"] = "sol"; | ||
@@ -95,2 +96,3 @@ ChainKey["TER"] = "ter"; | ||
ChainId[ChainId["OPB"] = 204] = "OPB"; | ||
ChainId[ChainId["WCC"] = 480] = "WCC"; | ||
ChainId[ChainId["SOL"] = 1151111081099710] = "SOL"; | ||
@@ -97,0 +99,0 @@ ChainId[ChainId["TER"] = 1161011141099710] = "TER"; |
@@ -31,2 +31,3 @@ "use strict"; | ||
CoinKey["OKB"] = "OKB"; | ||
CoinKey["WLD"] = "WLD"; | ||
CoinKey["SOL"] = "SOL"; | ||
@@ -33,0 +34,0 @@ CoinKey["WSOL"] = "wSOL"; |
@@ -43,2 +43,3 @@ export var ChainKey; | ||
ChainKey["OPB"] = "opb"; | ||
ChainKey["WCC"] = "wcc"; | ||
// None-EVM | ||
@@ -95,2 +96,3 @@ ChainKey["SOL"] = "sol"; | ||
ChainId[ChainId["OPB"] = 204] = "OPB"; | ||
ChainId[ChainId["WCC"] = 480] = "WCC"; | ||
// None-EVM (IDs are made up by the LI.FI team) | ||
@@ -97,0 +99,0 @@ ChainId[ChainId["SOL"] = 1151111081099710] = "SOL"; |
@@ -28,2 +28,3 @@ export var CoinKey; | ||
CoinKey["OKB"] = "OKB"; | ||
CoinKey["WLD"] = "WLD"; | ||
// Solana | ||
@@ -30,0 +31,0 @@ CoinKey["SOL"] = "SOL"; |
import type { BridgeDefinition } from './bridges.js'; | ||
import type { Chain, ChainId, ChainKey, ChainType } from './chains/index.js'; | ||
import type { ExchangeDefinition } from './exchanges.js'; | ||
import type { Action, Estimate, LiFiStep, StepToolDetails } from './step.js'; | ||
import type { Action, FeeCost, LiFiStep, StepToolDetails } from './step.js'; | ||
import type { Token } from './tokens/index.js'; | ||
@@ -226,5 +226,4 @@ /** | ||
isNativeToken: boolean; | ||
priceUSD: number; | ||
timestamp: Date; | ||
timestampMS: number; | ||
priceUSD: string; | ||
timestamp: number; | ||
granularity: TokenHistoricGranularity; | ||
@@ -401,10 +400,7 @@ } | ||
}; | ||
export type StatusStepTransaction = { | ||
estimate: Estimate; | ||
}; | ||
export interface FullStatusData extends StatusData { | ||
transactionId: string; | ||
stepTransaction?: StatusStepTransaction; | ||
sending: ExtendedTransactionInfo; | ||
receiving: PendingReceivingInfo | ExtendedTransactionInfo; | ||
feeCosts: FeeCost[]; | ||
lifiExplorerLink: string; | ||
@@ -411,0 +407,0 @@ fromAddress: string; |
@@ -41,2 +41,3 @@ export declare enum ChainKey { | ||
OPB = "opb", | ||
WCC = "wcc", | ||
SOL = "sol", | ||
@@ -90,2 +91,3 @@ TER = "ter", | ||
OPB = 204, | ||
WCC = 480, | ||
SOL = 1151111081099710, | ||
@@ -92,0 +94,0 @@ TER = 1161011141099710, |
@@ -27,2 +27,3 @@ export declare enum CoinKey { | ||
OKB = "OKB", | ||
WLD = "WLD",// World Coin Token | ||
SOL = "SOL", | ||
@@ -29,0 +30,0 @@ WSOL = "wSOL", |
import type { BridgeDefinition } from './bridges.js' | ||
import type { Chain, ChainId, ChainKey, ChainType } from './chains/index.js' | ||
import type { ExchangeDefinition } from './exchanges.js' | ||
import type { Action, Estimate, LiFiStep, StepToolDetails } from './step.js' | ||
import type { Action, FeeCost, LiFiStep, StepToolDetails } from './step.js' | ||
import type { Token } from './tokens/index.js' | ||
@@ -270,5 +270,4 @@ | ||
isNativeToken: boolean | ||
priceUSD: number | ||
timestamp: Date | ||
timestampMS: number | ||
priceUSD: string | ||
timestamp: number | ||
granularity: TokenHistoricGranularity | ||
@@ -545,11 +544,7 @@ } | ||
export type StatusStepTransaction = { | ||
estimate: Estimate | ||
} | ||
export interface FullStatusData extends StatusData { | ||
transactionId: string | ||
stepTransaction?: StatusStepTransaction | ||
sending: ExtendedTransactionInfo | ||
receiving: PendingReceivingInfo | ExtendedTransactionInfo | ||
feeCosts: FeeCost[] | ||
lifiExplorerLink: string | ||
@@ -556,0 +551,0 @@ fromAddress: string |
@@ -42,2 +42,3 @@ export enum ChainKey { | ||
OPB = 'opb', | ||
WCC = 'wcc', | ||
@@ -96,2 +97,3 @@ // None-EVM | ||
OPB = 204, | ||
WCC = 480, | ||
@@ -98,0 +100,0 @@ // None-EVM (IDs are made up by the LI.FI team) |
@@ -27,2 +27,3 @@ export enum CoinKey { | ||
OKB = 'OKB', | ||
WLD = 'WLD', // World Coin Token | ||
@@ -29,0 +30,0 @@ // Solana |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
132857
2725