@vitrical/utils
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -99,3 +99,6 @@ "use strict"; | ||
body: body && | ||
(typeof body === 'string' || headers?.['Content-Type'] === 'multipart/form-data') | ||
(typeof body === 'string' || | ||
headers?.['Content-Type'] === 'multipart/form-data' || | ||
headers?.['Content-Type'] === 'text/plain' || | ||
headers?.['Content-Type'] === 'application/octet-stream') | ||
? body | ||
@@ -102,0 +105,0 @@ : JSON.stringify(body), |
{ | ||
"name": "@vitrical/utils", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "Collection of useful functions and typings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
63754
1126