aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-30 08:57:21 +0800
committerFabio Berger <me@fabioberger.com>2017-11-30 08:57:21 +0800
commitc57190dead41846809effb8823bd4e486ca72512 (patch)
tree777926e873cca4d180f8ee7f6867dd0632f29d13 /packages/website/ts/containers
parent3d73167f535f00047a03620aa584307d083b4840 (diff)
downloaddexon-sol-tools-c57190dead41846809effb8823bd4e486ca72512.tar.gz
dexon-sol-tools-c57190dead41846809effb8823bd4e486ca72512.tar.zst
dexon-sol-tools-c57190dead41846809effb8823bd4e486ca72512.zip
Add orderWatcher to 0x.js docs
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/zero_ex_js_documentation.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/website/ts/containers/zero_ex_js_documentation.tsx b/packages/website/ts/containers/zero_ex_js_documentation.tsx
index fc48297b5..58c0ee186 100644
--- a/packages/website/ts/containers/zero_ex_js_documentation.tsx
+++ b/packages/website/ts/containers/zero_ex_js_documentation.tsx
@@ -35,6 +35,7 @@ const zeroExJsDocSections = {
tokenRegistry: 'tokenRegistry',
etherToken: 'etherToken',
proxy: 'proxy',
+ orderWatcher: 'orderWatcher',
types: 'types',
};
@@ -66,6 +67,9 @@ const docsInfoConfig: DocsInfoConfig = {
zeroExJsDocSections.etherToken,
zeroExJsDocSections.proxy,
],
+ orderWatcher: [
+ zeroExJsDocSections.orderWatcher,
+ ],
types: [
zeroExJsDocSections.types,
],
@@ -122,6 +126,12 @@ const docsInfoConfig: DocsInfoConfig = {
'LogEvent',
'LogEntry',
'DecodedLogEvent',
+ 'EventWatcherCallback',
+ 'OnOrderStateChangeCallback',
+ 'OrderStateValid',
+ 'OrderStateInvalid',
+ 'OrderState',
+ 'FilterObject',
],
sectionNameToModulePath: {
[zeroExJsDocSections.zeroEx]: ['"src/0x"'],
@@ -133,11 +143,13 @@ const docsInfoConfig: DocsInfoConfig = {
'"src/contract_wrappers/proxy_wrapper"',
'"src/contract_wrappers/token_transfer_proxy_wrapper"',
],
+ [zeroExJsDocSections.orderWatcher]: ['"src/order_watcher/order_state_watcher"'],
[zeroExJsDocSections.types]: ['"src/types"'],
},
menuSubsectionToVersionWhenIntroduced: {
[zeroExJsDocSections.etherToken]: '0.7.1',
[zeroExJsDocSections.proxy]: '0.8.0',
+ [zeroExJsDocSections.orderWatcher]: '0.27.1',
},
sections: zeroExJsDocSections,
visibleConstructors: [zeroExJsDocSections.zeroEx],