From 8b79868c36b8cd5b155509bec668f7c629095c7a Mon Sep 17 00:00:00 2001 From: fragosti Date: Tue, 21 Aug 2018 10:58:35 -0700 Subject: Update variable names, make release candidate --- packages/connect/src/orders_channel_factory.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/connect/src') diff --git a/packages/connect/src/orders_channel_factory.ts b/packages/connect/src/orders_channel_factory.ts index 5e8e625e0..5986d2a77 100644 --- a/packages/connect/src/orders_channel_factory.ts +++ b/packages/connect/src/orders_channel_factory.ts @@ -8,7 +8,7 @@ export const ordersChannelFactory = { /** * Instantiates a new WebSocketOrdersChannel instance * @param url The relayer API base WS url you would like to interact with - * @param handler An OrderbookChannelHandler instance that responds to various + * @param handler An OrdersChannelHandler instance that responds to various * channel updates * @return An OrdersChannel Promise */ @@ -18,8 +18,8 @@ export const ordersChannelFactory = { return new Promise((resolve, reject) => { const client = new WebSocket.w3cwebsocket(url); client.onopen = () => { - const orderbookChannel = new WebSocketOrdersChannel(client, handler); - resolve(orderbookChannel); + const ordersChannel = new WebSocketOrdersChannel(client, handler); + resolve(ordersChannel); }; client.onerror = err => { reject(err); -- cgit