aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/ws_orderbook_channel.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2017-12-08 02:35:18 +0800
committerBrandon Millman <brandon.millman@gmail.com>2017-12-08 06:40:16 +0800
commit3c64b33f5c12e565b1567095034ff4cee86005b4 (patch)
treeaf3225d0f3236d2682a923d347d679f82b11a4f8 /packages/connect/src/ws_orderbook_channel.ts
parentf1ecdcf6029debbd2183511080b302a4fccc6703 (diff)
downloaddexon-0x-contracts-3c64b33f5c12e565b1567095034ff4cee86005b4.tar.gz
dexon-0x-contracts-3c64b33f5c12e565b1567095034ff4cee86005b4.tar.zst
dexon-0x-contracts-3c64b33f5c12e565b1567095034ff4cee86005b4.zip
Update connect types in preperation for publishing
Diffstat (limited to 'packages/connect/src/ws_orderbook_channel.ts')
-rw-r--r--packages/connect/src/ws_orderbook_channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/src/ws_orderbook_channel.ts b/packages/connect/src/ws_orderbook_channel.ts
index 346be20c0..6687025c0 100644
--- a/packages/connect/src/ws_orderbook_channel.ts
+++ b/packages/connect/src/ws_orderbook_channel.ts
@@ -62,7 +62,7 @@ export class WebSocketOrderbookChannel implements OrderbookChannel {
handler.onError(this, subscriptionOpts, wsError);
});
connection.on(WebsocketConnectionEventType.Close, () => {
- handler.onClose(this);
+ handler.onClose(this, subscriptionOpts);
});
connection.on(WebsocketConnectionEventType.Message, message => {
this._handleWebSocketMessage(subscribeMessage.requestId, subscriptionOpts, message, handler);