bfx-api-node-rest
Advanced tools
Comparing version 4.2.0 to 4.3.0
@@ -48,3 +48,4 @@ 'use strict' | ||
AccountSummary, | ||
AuthPermission | ||
AuthPermission, | ||
CoreSettings | ||
} = require('bfx-api-node-models') | ||
@@ -1219,2 +1220,11 @@ | ||
/** | ||
* @param {string[]} keys - keys | ||
* @param {Function} [cb] - callback | ||
* @returns {Promise} p | ||
*/ | ||
getCoreSettings (keys, cb) { | ||
return this._makeAuthRequest('/auth/r/settings/core', { keys }, cb, CoreSettings) | ||
} | ||
/** | ||
* @param {string} ccy1 - i.e. BTC | ||
@@ -1221,0 +1231,0 @@ * @param {string} ccy2 - i.e. USD |
{ | ||
"name": "bfx-api-node-rest", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"description": "Official Bitfinex REST v1 & v2 API interfaces", | ||
@@ -46,3 +46,3 @@ "engines": { | ||
"devDependencies": { | ||
"bfx-api-mock-srv": "^1.1.5", | ||
"bfx-api-mock-srv": "^1.1.6", | ||
"chai": "^4.2.0", | ||
@@ -61,9 +61,9 @@ "docdash": "^1.2.0", | ||
"jsdoc-to-markdown": "^5.0.0", | ||
"mocha": "^7.1.0", | ||
"mocha": "^9.1.3", | ||
"nyc": "^15.0.0", | ||
"socks-proxy-agent": "^5.0.0", | ||
"standard": "^14.1.0" | ||
"standard": "^16.0.4" | ||
}, | ||
"dependencies": { | ||
"bfx-api-node-models": "file:../bfx-api-node-models", | ||
"bfx-api-node-models": "^1.6.0", | ||
"bfx-api-node-util": "^1.0.4", | ||
@@ -70,0 +70,0 @@ "bluebird": "^3.5.5", |
@@ -158,3 +158,4 @@ /* eslint-env mocha */ | ||
['payInvoiceList', 'invoice_list', [{}]], | ||
['payInvoiceComplete', 'invoice_complete', [{}]] | ||
['payInvoiceComplete', 'invoice_complete', [{}]], | ||
['getCoreSettings', 'core_settings', [[]]] | ||
] | ||
@@ -161,0 +162,0 @@ |
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
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
1847716
4092
+ Addedbfx-api-node-models@1.8.2(transitive)
+ Addedcrc-32@1.2.0(transitive)
+ Addeddebug@4.1.1(transitive)
+ Addedexit-on-epipe@1.0.1(transitive)
+ Addedprintj@1.1.2(transitive)
Updatedbfx-api-node-models@^1.6.0