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

coinpit-common

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinpit-common - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

instruments/BaseInstrument.js

@@ -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]

2

package.json
{
"name": "coinpit-common",
"version": "0.1.1",
"version": "0.1.2",
"description": "common utils for coinpit",

@@ -5,0 +5,0 @@ "main": "index.js",

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