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

penneo-js-sdk

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

penneo-js-sdk - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

10

bin/main.js

@@ -37,6 +37,10 @@ 'use strict';

value: function getAuthHeaders() {
var headers = {
'X-Auth-Token': this._token
};
var headers = {};
if (this._token) {
headers['X-Auth-Token'] = this._token;
}
headers['X-Requested-With'] = "XHttpRequest";
var mergedHeaders = (0, _objectAssign2['default'])({}, headers, this.headers);

@@ -43,0 +47,0 @@ return mergedHeaders;

{
"name": "penneo-js-sdk",
"title": "Penneo - Javascript SDK",
"version": "0.1.4",
"version": "0.1.5",
"description": "Penneo Javascript SDK",

@@ -6,0 +6,0 @@ "author": "Jesús Otero <jo@penneo.com> - http://penneo.com",

@@ -15,6 +15,10 @@ import axios from 'axios';

getAuthHeaders() {
let headers = {
'X-Auth-Token': this._token
};
let headers = {};
if (this._token) {
headers['X-Auth-Token'] = this._token;
}
headers['X-Requested-With'] = "XHttpRequest";
let mergedHeaders = assign({}, headers, this.headers);

@@ -21,0 +25,0 @@ return mergedHeaders;

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