Comparing version 2.0.10 to 2.0.11
# Binance API | ||
## 2.0.11 | ||
- Fix APIs that use the DELETE method. | ||
## 2.0.9-10 | ||
@@ -4,0 +7,0 @@ - Fix typo in websocket types. |
@@ -139,3 +139,3 @@ "use strict"; | ||
const options = Object.assign(Object.assign({}, this.globalRequestOptions), { url: [baseUrl, endpoint].join('/'), method: method, json: true }); | ||
if (method === 'GET') { | ||
if (method === 'GET' || method === 'DELETE') { | ||
options.params = params; | ||
@@ -142,0 +142,0 @@ } |
{ | ||
"name": "binance", | ||
"version": "2.0.10", | ||
"version": "2.0.11", | ||
"description": "Node.js connector for Binance's REST APIs and WebSockets, with TypeScript & integration tests.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
294425