bfx-api-node-models
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -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
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
144674