aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-10 22:51:45 +0800
committerFabio Berger <me@fabioberger.com>2018-05-10 22:51:45 +0800
commitc6882d0bd8615209dfc2e486bcfa5b64fcb50242 (patch)
treeac731f93f6691d4424264a3aaecbe0982aada49b /packages/0x.js
parentce47e8393937f5e29da969a8c9ace2c924a66d81 (diff)
downloaddexon-sol-tools-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar
dexon-sol-tools-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar.gz
dexon-sol-tools-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar.bz2
dexon-sol-tools-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar.lz
dexon-sol-tools-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar.xz
dexon-sol-tools-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar.zst
dexon-sol-tools-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.zip
Rename zeroExContract... to contractWrappers...
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/src/0x.ts4
-rw-r--r--packages/0x.js/src/index.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/0x.js/src/0x.ts b/packages/0x.js/src/0x.ts
index c68a17015..9bcb0dddc 100644
--- a/packages/0x.js/src/0x.ts
+++ b/packages/0x.js/src/0x.ts
@@ -6,7 +6,7 @@ import {
TokenRegistryWrapper,
TokenTransferProxyWrapper,
TokenWrapper,
- ZeroExContractConfig,
+ ContractWrappersConfig,
} from '@0xproject/contract-wrappers';
import {
generatePseudoRandomSalt,
@@ -131,7 +131,7 @@ export class ZeroEx {
* @param config The configuration object. Look up the type for the description.
* @return An instance of the 0x.js ZeroEx class.
*/
- constructor(provider: Provider, config: ZeroExContractConfig) {
+ constructor(provider: Provider, config: ContractWrappersConfig) {
assert.isWeb3Provider('provider', provider);
this._contractWrappers = new ContractWrappers(provider, config);
diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts
index e9528d4d1..c79dbdb77 100644
--- a/packages/0x.js/src/index.ts
+++ b/packages/0x.js/src/index.ts
@@ -47,5 +47,5 @@ export {
LogFillContractEventArgs,
ExchangeContractEventArgs,
ExchangeEvents,
- ZeroExContractConfig,
+ ContractWrappersConfig,
} from '@0xproject/contract-wrappers';