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

billogramapi

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

billogramapi - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

16

lib/billogram.customers.js

@@ -12,4 +12,4 @@ 'use strict';

var authString = api_user + ':' + api_password;
var base64Token = new Buffer(authString).toString('base64')
this.token = 'NzQ3Ni1jRXVhRDhuaTplNTZlMzEwODg4NjNiZTNjNWVhMzJiNDQwYmUyNzAzMA==';
var base64Token = new Buffer("Hello World").toString('base64')
this.token = base64Token;
}

@@ -46,5 +46,15 @@

makeRequest(rest.post, this.uri + '/customer', {data: customerData, headers: {'Content-Type': 'application/json', 'Authorization' : 'Basic' + this.token}}, callback);
makeRequest(
rest.post, this.uri + '/customer',
{
data: customerData,
headers: {
'Content-Type': 'application/json',
'Authorization' : 'Basic' + this.token
}
},
callback
);
};
exports.Customer = Customer;

2

package.json
{
"name": "billogramapi",
"version": "1.1.8",
"version": "1.1.9",
"description": "Wrapper for Billograms API",

@@ -5,0 +5,0 @@ "main": "index.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