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

adamant-api

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adamant-api - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

5

groups/send.js

@@ -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'
// }

1

helpers/healthCheck.js

@@ -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"
}
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