penneo-js-sdk
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -27,2 +27,3 @@ 'use strict'; | ||
this._token = settings.token; | ||
this._auth = settings.auth; // [JWT : JSON Web Token / Session ID] | ||
} | ||
@@ -44,2 +45,6 @@ | ||
if (this._authorization) { | ||
headers.Authorization = this._auth; | ||
} | ||
headers['X-Requested-With'] = "XHttpRequest"; | ||
@@ -46,0 +51,0 @@ |
{ | ||
"name": "penneo-js-sdk", | ||
"title": "Penneo - Javascript SDK", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Penneo Javascript SDK", | ||
@@ -6,0 +6,0 @@ "author": "Jesús Otero <jo@penneo.com> - http://penneo.com", |
@@ -8,2 +8,3 @@ import axios from 'axios'; | ||
this._token = settings.token; | ||
this._auth = settings.auth; // [JWT : JSON Web Token / Session ID] | ||
} | ||
@@ -22,2 +23,6 @@ | ||
if (this._authorization) { | ||
headers.Authorization = this._auth; | ||
} | ||
headers['X-Requested-With'] = "XHttpRequest"; | ||
@@ -24,0 +29,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34153
431