synapsepay
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -6,2 +6,3 @@ var Clients = require('./lib/Clients.js'), | ||
Node = require('./lib/Node.js'), | ||
Statements = require('./lib/Statements.js'), | ||
Subnets = require('./lib/Subnets.js'), | ||
@@ -21,2 +22,3 @@ Subnet = require('./lib/Subnet.js'), | ||
Node: Node, | ||
Statements: Statements, | ||
Subnets : Subnets, | ||
@@ -23,0 +25,0 @@ Subnet : Subnet, |
@@ -8,11 +8,11 @@ 'use strict'; | ||
list(client, config, callback) { | ||
let url = client.baseUrl + '/trans'; | ||
let url = client.baseUrl + '/trans'; | ||
config.client = client; | ||
config.client = client; | ||
APIClient.get(url, config, (err, json) => { | ||
callback(err, json); | ||
}); | ||
APIClient.get(url, config, (err, json) => { | ||
callback(err, json); | ||
}); | ||
}, | ||
get(node, options, callback) { | ||
@@ -25,3 +25,5 @@ const config = { | ||
}; | ||
let url = node.json._links.self.href + '/trans'; | ||
if (options) { | ||
@@ -28,0 +30,0 @@ if (options._id) { |
{ | ||
"name": "synapsepay", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Node.js Library for SynapsePay API v3.x Rest", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
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
38193
910
19
1