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

bfx-api-node-models

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.8.2 to 2.0.0

.husky/pre-commit

1

DOCUMENTATION.md

@@ -43,3 +43,2 @@ # Bitfinex Data Models for Node.JS

* {@link PublicTrade}
* {@link PulseMessage}
* {@link StatusMessagesDeriv}

@@ -46,0 +45,0 @@ * {@link Trade}

@@ -34,4 +34,2 @@ 'use strict'

ChangeLog: require('./change_log'),
PublicPulseProfile: require('./public_pulse_profile'),
PulseMessage: require('./pulse_message'),
Invoice: require('./invoice'),

@@ -38,0 +36,0 @@ SymbolDetails: require('./symbol_details'),

@@ -535,4 +535,4 @@ 'use strict'

? raw
? { orderID: arr[0], period: arr[1], rate: arr[2], amount: arr[3] }
: { rate: arr[0], period: arr[1], count: arr[2], amount: arr[3] }
? { orderID: arr[0], period: arr[1], rate: arr[2], amount: arr[3] }
: { rate: arr[0], period: arr[1], count: arr[2], amount: arr[3] }
: raw

@@ -539,0 +539,0 @@ ? { orderID: arr[0], price: arr[1], amount: arr[2] }

{
"name": "bfx-api-node-models",
"version": "1.8.2",
"version": "2.0.0",
"description": "Object models for usage with the Bitfinex node API",
"engines": {
"node": ">=8.3.0"
"node": ">=18.0.0"
},

@@ -16,5 +16,7 @@ "main": "index.js",

"lint": "standard",
"lint:fix": "standard --fix",
"test": "npm run lint && npm run unit",
"unit": "NODE_ENV=test nyc --check-coverage --lines 90 --branches 60 --functions 90 --statements 90 --reporter=lcov --reporter=html mocha -b --recursive",
"docs": "rm -rf docs && node_modules/.bin/jsdoc --configure .jsdoc.json --verbose"
"docs": "rm -rf docs && node_modules/.bin/jsdoc --configure .jsdoc.json --verbose",
"prepare": "husky install"
},

@@ -45,10 +47,9 @@ "repository": {

"devDependencies": {
"bfx-api-node-rest": "^5.1.0",
"chai": "^4.2.0",
"docdash": "^1.2.0",
"husky": "^4.2.3",
"jsdoc-to-markdown": "^5.0.3",
"mocha": "^7.1.0",
"nyc": "^15.0.0",
"standard": "^16.0.3"
"bfx-api-node-rest": "^5.6.0",
"docdash": "^2.0.2",
"husky": "^9.1.6",
"jsdoc-to-markdown": "^9.0.1",
"mocha": "^10.7.3",
"nyc": "^17.0.0",
"standard": "^17.1.2"
},

@@ -60,3 +61,3 @@ "dependencies": {

"crc-32": "1.2.0",
"debug": "4.1.1",
"debug": "4.3.3",
"lodash": "^4.17.15"

@@ -63,0 +64,0 @@ },

@@ -37,3 +37,2 @@ # Bitfinex Data Models for Node.JS

* PublicTrade
* PulseMessage
* StatusMessagesDeriv

@@ -40,0 +39,0 @@ * Trade

Sorry, the diff of this file is not supported yet

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