Socket
Socket
Sign inDemoInstall

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.2.0 to 0.2.1

2

instruments/inverse.js
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
}
}
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