Comparing version 1.0.0 to 1.0.1
@@ -11,3 +11,3 @@ { | ||
"name": "Launch Program", | ||
"program": "${workspaceRoot}/test/test.js" | ||
"program": "${workspaceRoot}/test.js" | ||
}, | ||
@@ -14,0 +14,0 @@ { |
# Changelog | ||
## 1.0.1 | ||
Fix automatic timestamp issue | ||
## 1.0.0 | ||
First release |
@@ -109,3 +109,3 @@ const request = require('request'); | ||
depth(query, callback) { | ||
depth(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -120,3 +120,3 @@ query = { | ||
aggTrades(query, callback) { | ||
aggTrades(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -131,7 +131,7 @@ query = { | ||
klines(query, callback) { | ||
klines(query = {}, callback) { | ||
return this._makeRequest(query, callback, 'klines'); | ||
} | ||
ticker24hr(query, callback) { | ||
ticker24hr(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -147,11 +147,11 @@ query = { | ||
// Private APIs | ||
newOrder(query, callback) { | ||
newOrder(query = {}, callback) { | ||
return this._makeRequest(query, callback, 'order', 'SIGNED', 'POST'); | ||
} | ||
testOrder(query, callback) { | ||
testOrder(query = {}, callback) { | ||
return this._makeRequest(query, callback, 'order/test', 'SIGNED', 'POST'); | ||
} | ||
queryOrder(query, callback) { | ||
queryOrder(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -169,3 +169,3 @@ query = { | ||
cancelOrder(query, callback) { | ||
cancelOrder(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -183,3 +183,3 @@ query = { | ||
openOrders(query, callback) { | ||
openOrders(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -197,3 +197,3 @@ query = { | ||
allOrders(query, callback) { | ||
allOrders(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -211,3 +211,3 @@ query = { | ||
account(query, callback) { | ||
account(query = {}, callback) { | ||
if (_.isFunction(query)) { | ||
@@ -225,3 +225,3 @@ callback = query; | ||
myTrades(query, callback) { | ||
myTrades(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -243,3 +243,3 @@ query = { | ||
keepAliveUserDataStream(query, callback) { | ||
keepAliveUserDataStream(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -254,3 +254,3 @@ query = { | ||
closeUserDataStream(query, callback) { | ||
closeUserDataStream(query = {}, callback) { | ||
if (_.isString(query)) { | ||
@@ -257,0 +257,0 @@ query = { |
{ | ||
"name": "binance", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "node.js wrapper for the Binance REST and WebSocket APIs", | ||
@@ -5,0 +5,0 @@ "main": "./lib/binance.js", |
44772
12
475