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

bitcoin-coinify-client

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoin-coinify-client - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0

13

lib/payment-medium.js

@@ -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',

2

package.json
{
"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)]);

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