diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-22 01:58:35 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-22 01:58:35 +0800 |
commit | 8b79868c36b8cd5b155509bec668f7c629095c7a (patch) | |
tree | d0b830b1150912be5665328e2e0ef77cd709fafc | |
parent | cd2bbd850d30e581273aae5d0524bce785639042 (diff) | |
download | dexon-sol-tools-8b79868c36b8cd5b155509bec668f7c629095c7a.tar dexon-sol-tools-8b79868c36b8cd5b155509bec668f7c629095c7a.tar.gz dexon-sol-tools-8b79868c36b8cd5b155509bec668f7c629095c7a.tar.bz2 dexon-sol-tools-8b79868c36b8cd5b155509bec668f7c629095c7a.tar.lz dexon-sol-tools-8b79868c36b8cd5b155509bec668f7c629095c7a.tar.xz dexon-sol-tools-8b79868c36b8cd5b155509bec668f7c629095c7a.tar.zst dexon-sol-tools-8b79868c36b8cd5b155509bec668f7c629095c7a.zip |
Update variable names, make release candidate
-rw-r--r-- | packages/connect/CHANGELOG.json | 2 | ||||
-rw-r--r-- | packages/connect/src/orders_channel_factory.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/connect/CHANGELOG.json b/packages/connect/CHANGELOG.json index 618694b5f..d7e026b4f 100644 --- a/packages/connect/CHANGELOG.json +++ b/packages/connect/CHANGELOG.json @@ -1,6 +1,6 @@ [ { - "version": "2.0.0", + "version": "2.0.0-rc.1", "changes": [ { "note": "Updated for SRA v2", 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<OrdersChannel>((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); |