Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bfx-api-node-rest

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bfx-api-node-rest - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

doc/rest2.md

@@ -480,3 +480,3 @@ <a name="RESTv2"></a>

| --- | --- | --- |
| symbol | <code>string</code> | <code>&quot;tBTCUSD&quot;</code> |
| symbol | <code>string</code> | optional, omit/leave empty for all |
| start | <code>number</code> | <code></code> |

@@ -483,0 +483,0 @@ | end | <code>number</code> | <code></code> |

@@ -788,3 +788,3 @@ 'use strict'

/**
* @param {string} symbol
* @param {string} symbol - optional, omit/leave empty for all
* @param {number} start

@@ -797,4 +797,8 @@ * @param {number} end

*/
fundingTrades (symbol = 'tBTCUSD', start = null, end = null, limit = null, cb) {
return this._makeAuthRequest(`/auth/r/funding/trades/${symbol}/hist`, {
fundingTrades (symbol = 'fBTC', start = 0, end = Date.now(), limit = null, cb) {
const url = !_isEmpty(symbol)
? `/auth/r/funding/trades/${symbol}/hist`
: '/auth/r/funding/trades/hist'
return this._makeAuthRequest(url, {
start, end, limit

@@ -801,0 +805,0 @@ }, cb, FundingTrade)

{
"name": "bfx-api-node-rest",
"version": "1.0.8",
"version": "1.0.9",
"description": "Official Bitfinex REST v1 & v2 API interfaces",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc