axios-cordova-adapter
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -24,3 +24,4 @@ "use strict"; | ||
let serializer = ''; | ||
let headers = config.headers && typeof config.headers === 'object' ? config.headers : {}; | ||
let headers = Object.assign(config.auth ? cordova.plugin.http.getBasicAuthHeader(config.auth.username, config.auth.password) : {}, config.headers); | ||
console.log(config.data); | ||
if (config.data instanceof URLSearchParams) { | ||
@@ -27,0 +28,0 @@ serializer = 'utf8'; |
{ | ||
"name": "axios-cordova-adapter", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "An axios adapter using cordova-plugin-advanced-http", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
8453
128