aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-08-29 03:03:21 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-08-29 03:03:21 +0800
commit9c4c4fb19ac14d19a1f13e1a2a9b3b8ca1fa83bc (patch)
treec4957d69c843259f8b8a761fdecd5adff9634b23
parent2c846ff1458e23de334434108e8a6c93dbb6f5cf (diff)
downloaddexon-0x-contracts-9c4c4fb19ac14d19a1f13e1a2a9b3b8ca1fa83bc.tar.gz
dexon-0x-contracts-9c4c4fb19ac14d19a1f13e1a2a9b3b8ca1fa83bc.tar.zst
dexon-0x-contracts-9c4c4fb19ac14d19a1f13e1a2a9b3b8ca1fa83bc.zip
Export missing types and add OrderValidatorWrapper to hidden constructors
-rw-r--r--packages/0x.js/src/index.ts3
-rw-r--r--packages/contract-wrappers/src/index.ts3
-rw-r--r--packages/monorepo-scripts/src/doc_gen_configs.ts1
3 files changed, 7 insertions, 0 deletions
diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts
index 6256181b6..17511f468 100644
--- a/packages/0x.js/src/index.ts
+++ b/packages/0x.js/src/index.ts
@@ -43,6 +43,9 @@ export {
DecodedLogEvent,
ExchangeEventArgs,
TransactionEncoder,
+ BalanceAndAllowance,
+ OrderAndTraderInfo,
+ TraderInfo,
} from '@0xproject/contract-wrappers';
export { OrderWatcher, OnOrderStateChangeCallback, OrderWatcherConfig } from '@0xproject/order-watcher';
diff --git a/packages/contract-wrappers/src/index.ts b/packages/contract-wrappers/src/index.ts
index 348854fef..b66d8460e 100644
--- a/packages/contract-wrappers/src/index.ts
+++ b/packages/contract-wrappers/src/index.ts
@@ -22,6 +22,9 @@ export {
OrderInfo,
EventCallback,
DecodedLogEvent,
+ BalanceAndAllowance,
+ OrderAndTraderInfo,
+ TraderInfo,
} from './types';
export { Order, SignedOrder, AssetProxyId } from '@0xproject/types';
diff --git a/packages/monorepo-scripts/src/doc_gen_configs.ts b/packages/monorepo-scripts/src/doc_gen_configs.ts
index 6d7560943..102b5d7ca 100644
--- a/packages/monorepo-scripts/src/doc_gen_configs.ts
+++ b/packages/monorepo-scripts/src/doc_gen_configs.ts
@@ -39,6 +39,7 @@ export const docGenConfigs: DocGenConfigs = {
'EtherTokenWrapper',
'ExchangeWrapper',
'ForwarderWrapper',
+ 'OrderValidatorWrapper',
'TransactionEncoder',
],
// Some types are not explicitly part of the public interface like params, return values, etc... But we still