bfx-api-node-rest
Advanced tools
Comparing version 3.0.9 to 3.0.10
@@ -36,3 +36,4 @@ 'use strict' | ||
Notification, | ||
Login | ||
Login, | ||
ChangeLog | ||
} = require('bfx-api-node-models') | ||
@@ -955,2 +956,16 @@ | ||
/** | ||
* @param {number} [start] - query start | ||
* @param {number} [end] - query end | ||
* @param {number} [limit] - query limit | ||
* @param {Function} [cb] - callback | ||
* @returns {Promise} p | ||
* @see https://docs.bitfinex.com/v2/reference#rest-auth-audit-hist | ||
*/ | ||
changeLogs (start = 0, end = Date.now(), limit = null, cb) { | ||
return this._makeAuthRequest('/auth/r/audit/hist', { | ||
start, end, limit | ||
}, cb, ChangeLog) | ||
} | ||
/** | ||
* @param {string} key - key | ||
@@ -957,0 +972,0 @@ * @param {Function} [cb] - callback |
{ | ||
"name": "bfx-api-node-rest", | ||
"version": "3.0.9", | ||
"version": "3.0.10", | ||
"description": "Official Bitfinex REST v1 & v2 API interfaces", | ||
@@ -50,3 +50,3 @@ "engines": { | ||
"babel-preset-env": "^1.7.0", | ||
"bfx-api-mock-srv": "^1.0.4", | ||
"bfx-api-mock-srv": "^1.0.5", | ||
"chai": "^4.2.0", | ||
@@ -71,3 +71,3 @@ "docdash": "^1.2.0", | ||
"dependencies": { | ||
"bfx-api-node-models": "^1.2.0", | ||
"bfx-api-node-models": "^1.2.5", | ||
"bfx-api-node-util": "^1.0.4", | ||
@@ -74,0 +74,0 @@ "bluebird": "^3.5.5", |
@@ -120,2 +120,3 @@ /* eslint-env mocha */ | ||
['logins', 'logins_hist', ['start', 'end', 'limit']], | ||
['changeLogs', 'change_log', ['start', 'end', 'limit']], | ||
['walletsHistory', 'wallets_hist.end.currency', ['end', 'currency']], | ||
@@ -122,0 +123,0 @@ ['activeOrders', 'active_orders'], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1698011
3381
Updatedbfx-api-node-models@^1.2.5