Flesh out 0x.js index.ts and added some exports to other index.ts in the process

This commit is contained in:
Fabio Berger
2018-08-14 16:25:37 -07:00
parent 644fe1de8f
commit 8bebffb147
4 changed files with 51 additions and 6 deletions

View File

@@ -46,18 +46,24 @@ export {
ExchangeCancelEventArgs,
ExchangeEventArgs,
ExchangeEvents,
ContractEvents,
} from '@0xproject/contract-wrappers';
export { ContractWrapper } from '@0xproject/contract-wrappers/lib/src/contract_wrappers/contract_wrapper';
export { OrderWatcher, OnOrderStateChangeCallback, OrderWatcherConfig } from '@0xproject/order-watcher';
export {
Web3ProviderEngine,
RPCSubprovider,
Callback,
JSONRPCRequestPayloadWithMethod,
ErrorCallback,
Subprovider,
} from '@0xproject/subproviders';
export { OrderWatcher, OnOrderStateChangeCallback, OrderWatcherConfig } from '@0xproject/order-watcher';
export { Web3Wrapper, NodeType } from '@0xproject/web3-wrapper';
export { AbiDecoder } from '@0xproject/utils';
export { BigNumber } from '@0xproject/utils';
@@ -74,10 +80,22 @@ export {
Token,
ERC20AssetData,
ERC721AssetData,
SignatureType,
OrderRelevantState,
} from '@0xproject/types';
export {
ContractArtifact,
GeneratedCompilerOptions,
ContractNetworks,
ContractVersionData,
ContractNetworkData,
Source,
} from '@0xproject/sol-compiler';
export {
BlockParamLiteral,
ContractAbi,
FilterObject,
BlockParam,
LogWithDecodedArgs,
@@ -95,4 +113,28 @@ export {
LogEntryEvent,
DecodedLogEntry,
DecodedLogEntryEvent,
RawLog,
AbiDefinition,
TxData,
CallData,
BlockWithoutTransactionData,
BlockWithTransactionData,
Transaction,
TraceParams,
TransactionTrace,
AbstractBlock,
CallTxDataBase,
StructLog,
TxDataPayable,
FunctionAbi,
EventAbi,
EventParameter,
OpCode,
MethodAbi,
ConstructorAbi,
FallbackAbi,
DataItem,
ConstructorStateMutability,
StateMutability,
AbiType,
} from 'ethereum-types';