New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.2 to 0.0.3

5

groups/send.js

@@ -6,8 +6,5 @@ const request = require('sync-request');

const transactionFormer = require('../helpers/transactionFormer');
const healthCheck = require('../helpers/healthCheck');
module.exports = (nodes, passPhrase) => {
module.exports = (hotNode, passPhrase) => {
let hotNode=healthCheck(nodes);
return (passPhrase, address, payload, type='tokens') => {

@@ -14,0 +11,0 @@ const recipient_name = address

7

index.js
const Get = require('./groups/get');
const Send = require('./groups/send');
const healthCheck = require('./helpers/healthCheck');
module.exports = (config) => {
const hotNode=healthCheck(nodes);
return {
get: Get(config.node),
send: Send(config.node, config.passPhrase)
get: Get(hotNode),
send: Send(hotNode, config.passPhrase)
}
}
{
"name": "adamant-api",
"version": "0.0.2",
"version": "0.0.3",
"description": "\"Rest api ADAMANT Messenger\"",

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