diff options
Diffstat (limited to 'packages/0x.js')
-rw-r--r-- | packages/0x.js/CHANGELOG.md | 4 | ||||
-rw-r--r-- | packages/0x.js/src/index.ts | 2 | ||||
-rw-r--r-- | packages/0x.js/src/types.ts | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/packages/0x.js/CHANGELOG.md b/packages/0x.js/CHANGELOG.md index 0af474c74..57cd381ee 100644 --- a/packages/0x.js/CHANGELOG.md +++ b/packages/0x.js/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v0.33.0 - _TBD, 2018_ + + * Improve validation to force passing contract addresses on private networks (#385) + ## v0.32.2 - _February 9, 2018_ * Fix publishing issue where .npmignore was not properly excluding undesired content (#389) diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts index 161945443..bb689f6dc 100644 --- a/packages/0x.js/src/index.ts +++ b/packages/0x.js/src/index.ts @@ -16,6 +16,8 @@ export { ContractEventArgs, Web3Provider, ZeroExConfig, + ZeroExPublicNetworkConfig, + ZeroExPrivateNetworkConfig, MethodOpts, OrderTransactionOpts, TransactionOpts, diff --git a/packages/0x.js/src/types.ts b/packages/0x.js/src/types.ts index f0660391b..886beeaaa 100644 --- a/packages/0x.js/src/types.ts +++ b/packages/0x.js/src/types.ts @@ -9,10 +9,6 @@ import { ExchangeContractEventArgs, ExchangeEvents } from './contract_wrappers/g import { TokenContractEventArgs, TokenEvents } from './contract_wrappers/generated/token'; export enum ZeroExError { - ZRXAddressRequired = 'ZRX_ADDREESS_REQUIRED', - ExchangeAddressRequired = 'EXCHANGE_ADDREESS_REQUIRED', - TokenRegistryAddressRequired = 'TOKEN_REGISTRY_ADDREESS_REQUIRED', - TokenTransferProxyAddressRequired = 'TOKEN_TRANSFER_PROXY_ADDREESS_REQUIRED', ExchangeContractDoesNotExist = 'EXCHANGE_CONTRACT_DOES_NOT_EXIST', ZRXContractDoesNotExist = 'ZRX_CONTRACT_DOES_NOT_EXIST', EtherTokenContractDoesNotExist = 'ETHER_TOKEN_CONTRACT_DOES_NOT_EXIST', |