bfx-api-node-rest
Advanced tools
Comparing version 4.1.4 to 4.2.0
@@ -1727,2 +1727,18 @@ 'use strict' | ||
} | ||
/** | ||
* @param {object} params - query parameters | ||
* @param {string} params.id - unique invoice identifier | ||
* @param {string} params.payCcy - paid invoice currency, should be one of values under payCurrencies field | ||
* on invoice | ||
* @param {number} [params.depositId] - movement/deposit Id linked to invoice as payment | ||
* @param {number} [params.ledgerId] - ledger entry Id linked to invoice as payment, use either depositId | ||
* or ledgerId | ||
* @param {Function} [cb] - callback | ||
* @returns {Promise} p | ||
* @see https://docs.bitfinex.com/reference#complete-invoice | ||
*/ | ||
payInvoiceComplete (params, cb) { | ||
return this._makeAuthRequest('/auth/w/ext/pay/invoice/complete', params, cb) | ||
} | ||
} | ||
@@ -1729,0 +1745,0 @@ |
{ | ||
"name": "bfx-api-node-rest", | ||
"version": "4.1.4", | ||
"version": "4.2.0", | ||
"description": "Official Bitfinex REST v1 & v2 API interfaces", | ||
@@ -46,3 +46,3 @@ "engines": { | ||
"devDependencies": { | ||
"bfx-api-mock-srv": "^1.1.3", | ||
"bfx-api-mock-srv": "^1.1.5", | ||
"chai": "^4.2.0", | ||
@@ -67,3 +67,3 @@ "docdash": "^1.2.0", | ||
"dependencies": { | ||
"bfx-api-node-models": "^1.3.1", | ||
"bfx-api-node-models": "file:../bfx-api-node-models", | ||
"bfx-api-node-util": "^1.0.4", | ||
@@ -70,0 +70,0 @@ "bluebird": "^3.5.5", |
@@ -157,3 +157,4 @@ /* eslint-env mocha */ | ||
['payInvoiceCreate', 'invoice_submit', [{}]], | ||
['payInvoiceList', 'invoice_list', [{}]] | ||
['payInvoiceList', 'invoice_list', [{}]], | ||
['payInvoiceComplete', 'invoice_complete', [{}]] | ||
] | ||
@@ -160,0 +161,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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1844478
4082
17
- Removedbfx-api-node-models@1.8.2(transitive)
- Removedcrc-32@1.2.0(transitive)
- Removeddebug@4.1.1(transitive)
- Removedexit-on-epipe@1.0.1(transitive)
- Removedprintj@1.1.2(transitive)