coinpit-common
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -32,2 +32,3 @@ var affirm = require('affirm.js') | ||
base.calculateCommissionOrReward = function(commissionOrReward, quantity, price) { | ||
if(quantity === 0) return 0 | ||
affirm(commissionOrReward === 'commission' || commissionOrReward === 'reward', "commission or reward expected") | ||
@@ -34,0 +35,0 @@ var commissionRate = base.config[commissionOrReward] |
{ | ||
"name": "coinpit-common", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "common utils for coinpit", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
52410
1164