New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

synapse_pay_rest

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

synapse_pay_rest - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

6

api/Nodes.js

@@ -41,6 +41,6 @@ var Nodes = function(client){

Nodes.prototype.verify = function(options, payload, callback){
Nodes.prototype.verify = function(nodeId, payload, callback){
var path = this.createNodePath();
if(options.node_id){
path += '/' + options.node_id;
if(nodeId){
path += '/' + nodeId;
this.client.patch(path, payload, callback);

@@ -47,0 +47,0 @@ }else{

{
"name": "synapse_pay_rest",
"version": "0.0.13",
"version": "0.0.14",
"description": "Node.js Library for SynapsePay API v3 Rest",

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

@@ -68,4 +68,5 @@

page: '',
per_page: '',
query: '',
userId: ''
user_id: ''
};

@@ -136,2 +137,9 @@

var options = {
page: '',
per_page: '',
node_id: '',
type: ''
};
# Get All Nodes

@@ -249,9 +257,16 @@

var options = {
page: '',
per_page: '',
trans_id: '',
node_id: '' #MANDATORY
};
# Get a Transaction
var transaction_response = client.Trans.get(NODE_ID, TRANS_ID, callback);
var transaction_response = client.Trans.get(options, TRANS_ID, callback);
# Get All Transactions
var transactions_response = client.Trans.get(NODE_ID, callback);
var transactions_response = client.Trans.get(options, callback);

@@ -258,0 +273,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