This commit is contained in:
David Sun 2019-07-15 14:26:04 -07:00
parent 092e35bae3
commit 0ff88d5c21

View File

@ -19,7 +19,8 @@ import { SwapQuoter } from '@0x/asset-swapper';
or or
```javascript ```javascript
var SwapQuoter = require('@0x/asset-buyer').SwapQuoter; var SwapQuoter = require('@0x/asset-swapper').SwapQuoter;
var SwapQuoteConsumer = require('@0x/asset-swapper').SwapQuoteConsumer;
``` ```
If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`: If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`: