@lu-development/pi-xstate-fetch
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -57,7 +57,7 @@ "use strict"; | ||
case 0: | ||
request = __assign(__assign(__assign({ method: context.requestMethod }, ((!!context.token || context.sendCsrfTokenWithHeaders) && { | ||
request = __assign(__assign({ method: context.requestMethod }, ((!!context.token || context.sendCsrfTokenWithHeaders) && { | ||
headers: __assign(__assign({}, !!context.token && { 'Authorization': "Bearer " + context.token, | ||
'Accept': "application/json", | ||
'Content-Type': 'application/json' }), context.sendCsrfTokenWithHeaders && { 'CSRF-TOKEN': (0, csrf_1.getCsrfDecodedToken)() }), | ||
})), (!!context.requestBody && { body: context.requestBody })), (context.sendCsrfTokenWithHeaders && { credentials: 'include' })); | ||
})), (!!context.requestBody && { body: context.requestBody })); | ||
_a.label = 1; | ||
@@ -64,0 +64,0 @@ case 1: |
{ | ||
"name": "@lu-development/pi-xstate-fetch", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "Fetch State Machine", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
13607