lamassu-blockchain
Advanced tools
Comparing version 1.0.2 to 1.1.2
{ | ||
"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); | ||
}); | ||
}; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5326
92
0