bfx-api-node-rest
Advanced tools
Comparing version 4.3.1 to 4.4.0
@@ -1259,2 +1259,12 @@ 'use strict' | ||
/** | ||
* @param {string} authToken - target that will be invalidated | ||
* @param {Function} [cb] - callback | ||
* @returns {Promise} p | ||
*/ | ||
invalidateAuthToken (authToken, cb) { | ||
const params = { token: authToken } | ||
return this._makeAuthRequest('/auth/w/token/del', params, cb) | ||
} | ||
/** | ||
* Submit new order | ||
@@ -1261,0 +1271,0 @@ * |
{ | ||
"name": "bfx-api-node-rest", | ||
"version": "4.3.1", | ||
"version": "4.4.0", | ||
"description": "Official Bitfinex REST v1 & v2 API interfaces", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -108,3 +108,4 @@ /* eslint-env mocha */ | ||
testMethod('orderMultiOp', '/auth/w/order/multi', '_makeAuthRequest', [['oc_multi', { id: [1] }]]) | ||
testMethod('invalidateAuthToken', '/auth/w/token/del', '_makeAuthRequest', 'token') | ||
}) | ||
}) |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1852065
4120