From 67c95bc0b7fcfa87602175f16e1e2303aa5fa74f Mon Sep 17 00:00:00 2001 From: xianny Date: Tue, 1 Dec 2020 13:05:21 -0800 Subject: [PATCH] add changelog and comments to pr #62 --- packages/asset-swapper/CHANGELOG.json | 12 ++++++++++++ packages/asset-swapper/src/types.ts | 2 ++ 2 files changed, 14 insertions(+) diff --git a/packages/asset-swapper/CHANGELOG.json b/packages/asset-swapper/CHANGELOG.json index 12307187db..c4d69e7f79 100644 --- a/packages/asset-swapper/CHANGELOG.json +++ b/packages/asset-swapper/CHANGELOG.json @@ -5,6 +5,18 @@ { "note": "Added Crypto.com", "pr": 43 + }, + { + "note": "Add `getQuoteInfoMinBuyAmount` to quote consumer utils", + "pr": 62 + }, + { + "note": "Add `unoptimizedQuoteInfo` and `unoptimizedOrders` to SwapQuoteBase", + "pr": 62 + }, + { + "note": "Add `unoptimizedPath` to OptimizerResult", + "pr": 62 } ] }, diff --git a/packages/asset-swapper/src/types.ts b/packages/asset-swapper/src/types.ts index 38558684f5..b162261444 100644 --- a/packages/asset-swapper/src/types.ts +++ b/packages/asset-swapper/src/types.ts @@ -181,6 +181,8 @@ export interface GetExtensionContractTypeOpts { * orders: An array of objects conforming to OptimizedMarketOrder. These orders can be used to cover the requested assetBuyAmount plus slippage. * bestCaseQuoteInfo: Info about the best case price for the asset. * worstCaseQuoteInfo: Info about the worst case price for the asset. + * unoptimizedQuoteInfo: Info about the unoptimized (best single source) price for the swap + * unoptimizedOrders: Orders used in the unoptimized quote info */ export interface SwapQuoteBase { takerAssetData: string;