@dile/crud
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -13,4 +13,2 @@ import Axios from 'axios' | ||
}, | ||
withCredentials: configuration.withCredentials || false, | ||
withXSRFToken: configuration.withXSRFToken || false, | ||
} | ||
@@ -20,2 +18,8 @@ if(configuration.baseURL) { | ||
} | ||
if(configuration.withCredentials) { | ||
axiosConfig.withCredentials = true; | ||
} | ||
if(configuration.withXSRFToken) { | ||
axiosConfig.withXSRFToken = true; | ||
} | ||
if(configuration.headerAuthorization) { | ||
@@ -22,0 +26,0 @@ axiosConfig.headers.Authorization = configuration.headerAuthorization; |
{ | ||
"name": "@dile/crud", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "Components to create a generic crud system based on Web Components and Lit", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "2bf53b43915b8fb63871defa828896d6d785bc14" | ||
"gitHead": "bc1a31cc73b014d10cdf1389b4fe71447e3b18f0" | ||
} |
97920
3060