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.7.0 to 1.7.1

4

lib/funding_offer.js

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

return apiInterface.submitFundingOffer(this).then((offerArray) => {
return apiInterface.submitFundingOffer({ offer: this }).then((offerArray) => {
Object.assign(this, FundingOffer.unserialize(offerArray))

@@ -119,3 +119,3 @@ return this

return apiInterface.cancelFundingOffer(this.id).then((offerArray) => {
return apiInterface.cancelFundingOffer({ id: this.id }).then((offerArray) => {
Object.assign(this, FundingOffer.unserialize(offerArray))

@@ -122,0 +122,0 @@ return this

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

const orderArr = await apiInterface.submitOrder(this)
const orderArr = await apiInterface.submitOrder({ order: this })
Object.assign(this, Order.unserialize(orderArr))

@@ -501,3 +501,3 @@ return this

return apiInterface.cancelOrder(this.id)
return apiInterface.cancelOrder({ id: this.id })
}

@@ -504,0 +504,0 @@

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

return apiInterface.claimPosition(this.id).then((positionArray) => {
return apiInterface.claimPosition({ id: this.id }).then((positionArray) => {
Object.assign(this, Position.unserialize(positionArray))

@@ -91,0 +91,0 @@ return this

{
"name": "bfx-api-node-models",
"version": "1.7.0",
"version": "1.7.1",
"description": "Object models for usage with the Bitfinex node API",

@@ -44,3 +44,3 @@ "engines": {

"devDependencies": {
"bfx-api-node-rest": "^4.1.2",
"bfx-api-node-rest": "^5.1.0",
"chai": "^4.2.0",

@@ -47,0 +47,0 @@ "docdash": "^1.2.0",

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