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

synapsepay

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

synapsepay - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

lib/LocateATMs.js

12

lib/Nodes.js

@@ -101,7 +101,11 @@ 'use strict';

} else {
const nodes = [];
for (let i = 0; i < json.nodes.length; i++) {
nodes.push(new Node(user, json.nodes[i]));
if (json.nodes) {
const nodes = [];
for (let i = 0; i < json.nodes.length; i++) {
nodes.push(new Node(user, json.nodes[i]));
}
callback(null, nodes);
} else {
callback(null, json);
}
callback(null, nodes);
}

@@ -108,0 +112,0 @@ });

{
"name": "synapsepay",
"version": "0.6.0",
"version": "0.6.1",
"description": "Node.js Library for SynapsePay API v3.x Rest",

@@ -5,0 +5,0 @@ "repository": {

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