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

lamassu-blockchain

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lamassu-blockchain - npm Package Compare versions

Comparing version 1.0.2 to 1.1.2

2

package.json
{
"name": "lamassu-blockchain",
"version": "1.0.2",
"version": "1.1.2",
"description": "Lamassu Blockchain module",

@@ -5,0 +5,0 @@ "main": "wallet.js",

@@ -96,3 +96,2 @@ 'use strict';

exports.balance = function balance(callback) {
async.parallel([

@@ -114,1 +113,17 @@ function(cb) { checkBalance(0, cb); },

};
exports.newAddress = function newAddress(info, callback) {
var data = {};
if (info.label)
data.label = info.label;
authRequest('/new_address', data, function(err, response) {
if (err) return callback(err);
if (response.error)
return callback(new Error(response.error));
callback(null, response.address);
});
};
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