coinpit-common
Advanced tools
Comparing version 0.2.0 to 0.2.1
var affirm = require('affirm.js') | ||
var mangler = require('mangler') | ||
var BaseInstrument = require('./BaseInstrument') | ||
var sinful = require('sinful-math') | ||
var sinful = require('sinful-math.js') | ||
@@ -6,0 +6,0 @@ module.exports = function (config) { |
var affirm = require("affirm.js") | ||
var BaseInstrument = require('./BaseInstrument') | ||
var sinful = require('sinful-math') | ||
var sinful = require('sinful-math.js') | ||
@@ -5,0 +5,0 @@ module.exports = function (config) { |
{ | ||
"name": "coinpit-common", | ||
"version": "0.2.0", | ||
"description": "common utils for coinpit", | ||
"main": "index.js", | ||
"scripts": { | ||
"name": "coinpit-common", | ||
"version": "0.2.1", | ||
"description": "common utils for coinpit", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "gulp coverage" | ||
}, | ||
"repository": { | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/coinpit/coinpit-common.git" | ||
"url": "git+https://github.com/coinpit/coinpit-common.git" | ||
}, | ||
"keywords": [ | ||
"keywords": [ | ||
"coinpit", | ||
@@ -19,29 +19,29 @@ "margin", | ||
], | ||
"author": "coinpit", | ||
"license": "MIT", | ||
"bugs": { | ||
"author": "coinpit", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/coinpit/coinpit-common/issues" | ||
}, | ||
"homepage": "https://github.com/coinpit/coinpit-common#readme", | ||
"homepage": "https://github.com/coinpit/coinpit-common#readme", | ||
"devDependencies": { | ||
"del": "^2.2.2", | ||
"expect.js": "^0.3.1", | ||
"gulp": "^3.9.1", | ||
"gulp-exit": "0.0.2", | ||
"gulp-istanbul": "^1.1.1", | ||
"gulp-jshint": "^2.0.4", | ||
"del": "^2.2.2", | ||
"expect.js": "^0.3.1", | ||
"gulp": "^3.9.1", | ||
"gulp-exit": "0.0.2", | ||
"gulp-istanbul": "^1.1.1", | ||
"gulp-jshint": "^2.0.4", | ||
"gulp-jshint-html-reporter": "^0.1.3", | ||
"gulp-mocha": "^3.0.1", | ||
"gulp-nsp": "^2.4.2", | ||
"jshint": "^2.9.4", | ||
"mocha": "^3.2.0", | ||
"sinon": "^2.1.0" | ||
"gulp-mocha": "^3.0.1", | ||
"gulp-nsp": "^2.4.2", | ||
"jshint": "^2.9.4", | ||
"mocha": "^3.2.0", | ||
"sinon": "^2.1.0" | ||
}, | ||
"dependencies": { | ||
"affirm.js": "^1.0.0", | ||
"lodash": "^4.17.4", | ||
"mangler": "^1.0.4", | ||
"sinful-math": "0.0.1", | ||
"tweetnacl": "^1.0.0-rc.1" | ||
"dependencies": { | ||
"affirm.js": "^1.0.0", | ||
"lodash": "^4.17.4", | ||
"mangler": "^1.0.4", | ||
"sinful-math.js": "^0.0.2", | ||
"tweetnacl": "^1.0.0-rc.1" | ||
} | ||
} |
@@ -15,3 +15,4 @@ var affirm = require('affirm.js') | ||
affirm(uri, 'uri undefined') | ||
nonce = nonce || Date.now() | ||
affirm(nonce, 'Nonce expected') | ||
var message = JSON.stringify({ method: method, uri: uri, body: body, nonce: nonce }) | ||
@@ -30,2 +31,2 @@ var signature = util.sign(message) | ||
return util | ||
} | ||
} |
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
55521
1228
+ Addedsinful-math.js@^0.0.2
+ Addedsinful-math.js@0.0.2(transitive)
- Removedsinful-math@0.0.1
- Removedsinful-math@0.0.1(transitive)