bitcoin-coinify-client
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -57,2 +57,5 @@ 'use strict'; | ||
_this._canTrade = obj.canTrade; | ||
_this._cannotTradeReasons = obj.cannotTradeReasons; | ||
if (quote) { | ||
@@ -122,2 +125,12 @@ var amt = quote.baseCurrency === 'BTC' ? quote.quoteAmount : quote.baseAmount; | ||
} | ||
}, { | ||
key: 'canTrade', | ||
get: function get() { | ||
return this._canTrade; | ||
} | ||
}, { | ||
key: 'cannotTradeReasons', | ||
get: function get() { | ||
return this._cannotTradeReasons; | ||
} | ||
}], [{ | ||
@@ -124,0 +137,0 @@ key: 'getAll', |
{ | ||
"name": "bitcoin-coinify-client", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "Buy and sell Bitcoin using Coinify API.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -43,2 +43,5 @@ var ExchangePaymentMedium = require('bitcoin-exchange-client').PaymentMedium; | ||
this._canTrade = obj.canTrade; | ||
this._cannotTradeReasons = obj.cannotTradeReasons; | ||
if (quote) { | ||
@@ -57,2 +60,5 @@ let amt = quote.baseCurrency === 'BTC' ? quote.quoteAmount : quote.baseAmount; | ||
get canTrade () { return this._canTrade; } | ||
get cannotTradeReasons () { return this._cannotTradeReasons; } | ||
getAccounts () { | ||
@@ -59,0 +65,0 @@ return Promise.resolve([new PaymentAccount(this._api, this.fiatMedium, this._quote)]); |
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
187447
5239