adamant-api
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -9,3 +9,2 @@ const request = require('sync-request'); | ||
module.exports = (hotNode) => { | ||
return (passPhrase, address, payload, type = 'tokens', isEncode) => { | ||
@@ -84,3 +83,3 @@ const recipient_name = address | ||
// nodeTimestamp: 38796752, | ||
// transactionId: '5738662183517760803' | ||
// } | ||
// transactionId: '5738662183517760803' | ||
// } |
@@ -7,2 +7,3 @@ const request = require('request'); | ||
this.hotNode = nodes[0]; | ||
checkNodes(nodes, this); | ||
@@ -9,0 +10,0 @@ |
@@ -7,4 +7,4 @@ const Get = require('./groups/get'); | ||
module.exports = (node) => { | ||
const hotNode = healthCheck(node); | ||
module.exports = (config) => { | ||
const hotNode = healthCheck(config.node); | ||
return { | ||
@@ -15,2 +15,2 @@ get: Get(hotNode), | ||
} | ||
} | ||
} |
{ | ||
"name": "adamant-api", | ||
"version": "0.1.5", | ||
"description": "\"REST API for ADAMANT Blockchain\"", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [ | ||
"adamant", | ||
"adamant api" | ||
], | ||
"author": "RomanS <devs@adamant.im> (https://adamant.im)", | ||
"license": "GPL-3.0", | ||
"dependencies": { | ||
"bignumber.js": "^8.0.1", | ||
"bitcore-mnemonic": "^1.5.0", | ||
"bytebuffer": "^5.0.1", | ||
"crypto": "^1.0.1", | ||
"ed2curve": "^0.2.1", | ||
"nacl": "^0.1.3", | ||
"request": "^2.88.0", | ||
"sodium-browserify-tweetnacl": "^0.2.3", | ||
"sync-request": "^6.0.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Adamant-im/adamant-api-jsclient.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Adamant-im/adamant-api-jsclient/issues" | ||
}, | ||
"homepage": "https://github.com/Adamant-im/adamant-api-jsclient#readme" | ||
} | ||
"name": "adamant-api", | ||
"version": "0.1.6", | ||
"description": "\"REST API for ADAMANT Blockchain\"", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [ | ||
"adamant", | ||
"adamant api" | ||
], | ||
"author": "RomanS <devs@adamant.im> (https://adamant.im)", | ||
"license": "GPL-3.0", | ||
"dependencies": { | ||
"bignumber.js": "^8.0.1", | ||
"bitcore-mnemonic": "^1.5.0", | ||
"bytebuffer": "^5.0.1", | ||
"crypto": "^1.0.1", | ||
"request": "^2.88.0", | ||
"sodium-browserify-tweetnacl": "^0.2.3", | ||
"sync-request": "^6.0.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Adamant-im/adamant-api-jsclient.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Adamant-im/adamant-api-jsclient/issues" | ||
}, | ||
"homepage": "https://github.com/Adamant-im/adamant-api-jsclient#readme" | ||
} |
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
7
712
57907
- Removeded2curve@^0.2.1
- Removednacl@^0.1.3
- Removeded2curve@0.2.1(transitive)
- Removednacl@0.1.3(transitive)