binance-api-node
Advanced tools
Comparing version
@@ -142,3 +142,3 @@ 'use strict'; | ||
return { | ||
type: 'executionReport', | ||
eventType: 'executionReport', | ||
eventTime: m.E, | ||
@@ -145,0 +145,0 @@ symbol: m.s, |
{ | ||
"name": "binance-api-node", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A node API wrapper for Binance", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -29,4 +29,3 @@ # binance-api-node [](https://travis-ci.org/HyperCubeProject/binance-api-node) [](https://coveralls.io/github/HyperCubeProject/binance-api-node) [](https://github.com/binance-exchange/binance-api-node) | ||
client.time() | ||
.then(time => console.log(time)) | ||
client.time().then(time => console.log(time)) | ||
``` | ||
@@ -33,0 +32,0 @@ |
@@ -111,3 +111,3 @@ import WebSocket from 'ws' | ||
executionReport: m => ({ | ||
type: 'executionReport', | ||
eventType: 'executionReport', | ||
eventTime: m.E, | ||
@@ -114,0 +114,0 @@ symbol: m.s, |
@@ -235,3 +235,3 @@ import test from 'ava' | ||
t.deepEqual(res, { | ||
type: 'executionReport', | ||
eventType: 'executionReport', | ||
eventTime: 1499405658658, | ||
@@ -293,3 +293,3 @@ symbol: 'ETHBTC', | ||
t.deepEqual(res, { | ||
type: 'executionReport', | ||
eventType: 'executionReport', | ||
eventTime: 1499406026404, | ||
@@ -296,0 +296,0 @@ symbol: 'ETHBTC', |
205320
0.01%795
-0.13%