aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/order_watcher/event_watcher.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-01 15:05:55 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-02 01:45:30 +0800
commitff7c3012a56d0744fa2bcaec0158c85b04293980 (patch)
treec2350f7b9cf586552e9c1077a9af4f079d15bf46 /packages/0x.js/src/order_watcher/event_watcher.ts
parent20fec2943bebc50059b1a9a0646f263b07aba88b (diff)
downloaddexon-sol-tools-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar
dexon-sol-tools-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.gz
dexon-sol-tools-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.bz2
dexon-sol-tools-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.lz
dexon-sol-tools-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.xz
dexon-sol-tools-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.zst
dexon-sol-tools-ff7c3012a56d0744fa2bcaec0158c85b04293980.zip
Run prettier, update deployer CHANGELOG
Diffstat (limited to 'packages/0x.js/src/order_watcher/event_watcher.ts')
-rw-r--r--packages/0x.js/src/order_watcher/event_watcher.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/0x.js/src/order_watcher/event_watcher.ts b/packages/0x.js/src/order_watcher/event_watcher.ts
index d01542a8c..47bbd5b2e 100644
--- a/packages/0x.js/src/order_watcher/event_watcher.ts
+++ b/packages/0x.js/src/order_watcher/event_watcher.ts
@@ -23,7 +23,11 @@ export class EventWatcher {
private _intervalIdIfExists?: NodeJS.Timer;
private _lastEvents: LogEntry[] = [];
private _stateLayer: BlockParamLiteral;
- constructor(web3Wrapper: Web3Wrapper, pollingIntervalIfExistsMs: undefined | number, stateLayer: BlockParamLiteral = BlockParamLiteral.Latest) {
+ constructor(
+ web3Wrapper: Web3Wrapper,
+ pollingIntervalIfExistsMs: undefined | number,
+ stateLayer: BlockParamLiteral = BlockParamLiteral.Latest,
+ ) {
this._web3Wrapper = web3Wrapper;
this._stateLayer = stateLayer;
this._pollingIntervalMs = _.isUndefined(pollingIntervalIfExistsMs)