diff --git a/packages/asset-buyer/src/swap_quoter.ts b/packages/asset-buyer/src/swap_quoter.ts index 33657779b2..bd84c0897f 100644 --- a/packages/asset-buyer/src/swap_quoter.ts +++ b/packages/asset-buyer/src/swap_quoter.ts @@ -139,7 +139,13 @@ export class SwapQuoter { options: Partial = {}, ): Promise { assert.isBigNumber('makerAssetBuyAmount', takerAssetSellAmount); - return await this._getSwapQuoteAsync(makerAssetData, takerAssetData, takerAssetSellAmount, 'marketSell', options) as MarketSellSwapQuote; + return (await this._getSwapQuoteAsync( + makerAssetData, + takerAssetData, + takerAssetSellAmount, + 'marketSell', + options, + )) as MarketSellSwapQuote; } /** @@ -159,7 +165,13 @@ export class SwapQuoter { options: Partial = {}, ): Promise { assert.isBigNumber('makerAssetBuyAmount', makerAssetBuyAmount); - return await this._getSwapQuoteAsync(makerAssetData, takerAssetData, makerAssetBuyAmount, 'marketBuy', options) as MarketBuySwapQuote; + return (await this._getSwapQuoteAsync( + makerAssetData, + takerAssetData, + makerAssetBuyAmount, + 'marketBuy', + options, + )) as MarketBuySwapQuote; } /** * Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. @@ -368,7 +380,8 @@ export class SwapQuoter { takerAssetData: string, assetFillAmount: BigNumber, marketOperation: MarketOperation, - options: Partial): Promise { + options: Partial, + ): Promise { const { shouldForceOrderRefresh, slippagePercentage } = _.merge( {}, constants.DEFAULT_SWAP_QUOTE_REQUEST_OPTS, diff --git a/packages/asset-buyer/src/utils/swap_quote_calculator.ts b/packages/asset-buyer/src/utils/swap_quote_calculator.ts index 6bbb7aacfd..a33024e3dd 100644 --- a/packages/asset-buyer/src/utils/swap_quote_calculator.ts +++ b/packages/asset-buyer/src/utils/swap_quote_calculator.ts @@ -1,6 +1,6 @@ import { marketUtils, orderCalculationUtils, SignedOrder } from '@0x/order-utils'; -import { BigNumber } from '@0x/utils'; import { MarketOperation } from '@0x/types'; +import { BigNumber } from '@0x/utils'; import * as _ from 'lodash'; import { constants } from '../constants'; diff --git a/packages/asset-buyer/test/utils/swap_quote.ts b/packages/asset-buyer/test/utils/swap_quote.ts index 2b6f5d0643..b617999999 100644 --- a/packages/asset-buyer/test/utils/swap_quote.ts +++ b/packages/asset-buyer/test/utils/swap_quote.ts @@ -1,5 +1,5 @@ import { orderFactory } from '@0x/order-utils/lib/src/order_factory'; -import { SignedOrder, MarketOperation } from '@0x/types'; +import { MarketOperation, SignedOrder } from '@0x/types'; import { BigNumber } from '@0x/utils'; import * as _ from 'lodash';