Skip to content

Commit a241c4c

Browse files
Daniel1984JacobPlaster
authored andcommitted
rest2.js new pulseHistory function
1 parent 3d99312 commit a241c4c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

lib/rest2.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,17 @@ class RESTv2 {
14631463
deletePulse (params, cb) {
14641464
return this._makeAuthRequest('/auth/w/pulse/del', params, cb)
14651465
}
1466+
1467+
/**
1468+
* @param {object} params - parameters
1469+
* @param {number} params.isPublic - allows you to receive the public pulse history with the UID_LIKED field
1470+
* @param {Function} [cb] - callback
1471+
* @returns {Promise} p
1472+
* @see https://docs.bitfinex.com/reference#rest-auth-pulse-hist
1473+
*/
1474+
pulseHistory (params, cb) {
1475+
return this._makeAuthRequest('/auth/r/pulse/hist', params, cb)
1476+
}
14661477
}
14671478

14681479
RESTv2.url = API_URL

0 commit comments

Comments
 (0)