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

bitpay-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitpay-nodejs - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

.idea/bitpay-node.iml

12

lib/client.js

@@ -19,7 +19,5 @@ const request = require('request')

options.url = api+"/invoice";
options.form = {
...opts
};
options.form = opts
request(options, function(err, resp, body) {
result = JSON.parse(body);
let result = JSON.parse(body);
if (result.error) {

@@ -40,3 +38,3 @@ fn(result.error, null);

if(err) console.log(err);
result = JSON.parse(body);
let result = JSON.parse(body);
if (result.error) {

@@ -57,3 +55,3 @@ fn(result.error, null);

if(err) console.log(err);
result = JSON.parse(body);
let result = JSON.parse(body);
if (result.error) {

@@ -75,3 +73,3 @@ fn(result.error, null);

if(err) console.log(err);
result = JSON.parse(body);
let result = JSON.parse(body);
if (result.error) {

@@ -78,0 +76,0 @@ fn(result.error, null);

{
"name": "bitpay-nodejs",
"version": "0.0.7",
"version": "0.0.8",
"description": "A Node.js library for the Bitpay Bitcoin API",

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

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