rainbow-swap-sdk
Advanced tools
Comparing version 1.4.13 to 1.4.14
@@ -12,2 +12,3 @@ export { mapSwapRouteToRoute } from './dexes/shared/calculated-swap-route.utils'; | ||
export type { AssetsRecord } from './types/assets-record.type'; | ||
export type { BestRouteDisplayData, RouteDisplayData, RouteStepDisplayData } from './types/best-route-display-data.type'; | ||
export type { BestRouteParams } from './types/best-route-params.type'; | ||
@@ -14,0 +15,0 @@ export type { BestRouteResponse } from './types/best-route-response.type'; |
@@ -14,25 +14,27 @@ import { DexTypeEnum } from '../enums/dex-type.enum'; | ||
roughGasUsdFee: number; | ||
routes: { | ||
inputPercent: number; | ||
routeSteps: { | ||
dex: { | ||
type: DexTypeEnum; | ||
address: string; | ||
name: string; | ||
image: string; | ||
}; | ||
inputAsset: { | ||
address: string; | ||
symbol: string; | ||
name: string; | ||
image: string; | ||
}; | ||
outputAsset: { | ||
address: string; | ||
symbol: string; | ||
name: string; | ||
image: string; | ||
}; | ||
}[]; | ||
}[]; | ||
routes: RouteDisplayData[]; | ||
}; | ||
export type RouteDisplayData = { | ||
inputPercent: number; | ||
routeSteps: RouteStepDisplayData[]; | ||
}; | ||
export type RouteStepDisplayData = { | ||
dex: { | ||
type: DexTypeEnum; | ||
address: string; | ||
name: string; | ||
image: string; | ||
}; | ||
inputAsset: { | ||
address: string; | ||
symbol: string; | ||
name: string; | ||
image: string; | ||
}; | ||
outputAsset: { | ||
address: string; | ||
symbol: string; | ||
name: string; | ||
image: string; | ||
}; | ||
}; |
{ | ||
"name": "rainbow-swap-sdk", | ||
"version": "1.4.13", | ||
"version": "1.4.14", | ||
"description": "SDK for building applications on top of Rainbow.ag - Swap Aggregator on TON 💎.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/0xblackbot/rainbow-swap-sdk.git", |
40604
550