From 8bebffb14775234d5cc8dd730ba6d55ebfa941c7 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 14 Aug 2018 16:25:37 -0700 Subject: Flesh out 0x.js index.ts and added some exports to other index.ts in the process --- packages/0x.js/src/index.ts | 46 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) (limited to 'packages/0x.js/src') diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts index bb93b86ea..a26d827d7 100644 --- a/packages/0x.js/src/index.ts +++ b/packages/0x.js/src/index.ts @@ -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'; -- cgit