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

synapsepay

Package Overview
Dependencies
Maintainers
4
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.2.1 to 0.2.2

10

lib/Node.js

@@ -31,2 +31,12 @@ 'use strict';

Node.prototype.resendMicro = function(callback) {
const url = this.json._links.self.href + "?resend_micro=YES";
const self = this;
const config = this.getAPIConfig();
APIClient.patch(url, config, {}, function(err, json) {
self.json = json;
callback(err, json);
});
};
Node.prototype.delete = function(callback) {

@@ -33,0 +43,0 @@ const url = this.json._links.self.href;

2

package.json
{
"name": "synapsepay",
"version": "0.2.1",
"version": "0.2.2",
"description": "Node.js Library for SynapsePay API v3.x Rest",

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

@@ -334,3 +334,14 @@

// Resend Microdeposits (for those added via Account/Routing)
node = nodes[0];
node.resendMicro(
function(err, nodeResponse) {
// error or node object
node = nodeResponse;
}
);
// Delete a Node

@@ -337,0 +348,0 @@

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