@nftx/query
Advanced tools
Comparing version 3.7.3 to 3.7.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [3.7.4](https://github.com/NFTX-project/nftxjs/compare/v3.7.3...v3.7.4) (2024-07-22) | ||
### Bug Fixes | ||
* dont force multpart/form-data ([652cca0](https://github.com/NFTX-project/nftxjs/commit/652cca0bac5bb2fd993ae488b25a4206017017cf)) | ||
## [3.7.3](https://github.com/NFTX-project/nftxjs/compare/v3.7.2...v3.7.3) (2024-07-22) | ||
@@ -8,0 +19,0 @@ |
@@ -114,3 +114,4 @@ 'use strict'; | ||
if (sourceData instanceof FormData) { | ||
headers['Content-Type'] = 'multipart/form-data'; | ||
// Don't need to set the content type for a raw FormData instance | ||
// headers['Content-Type'] = 'multipart/form-data'; | ||
} else if (sourceData && typeof sourceData === 'object') { | ||
@@ -117,0 +118,0 @@ headers['Content-Type'] = 'application/json'; |
@@ -110,3 +110,4 @@ /** Processes a graphql string | ||
if (sourceData instanceof FormData) { | ||
headers['Content-Type'] = 'multipart/form-data'; | ||
// Don't need to set the content type for a raw FormData instance | ||
// headers['Content-Type'] = 'multipart/form-data'; | ||
} else if (sourceData && typeof sourceData === 'object') { | ||
@@ -113,0 +114,0 @@ headers['Content-Type'] = 'application/json'; |
{ | ||
"name": "@nftx/query", | ||
"version": "3.7.3", | ||
"version": "3.7.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/NFTX-project/nftxjs", |
@@ -130,3 +130,4 @@ type Fetch = typeof fetch; | ||
if (sourceData instanceof FormData) { | ||
headers['Content-Type'] = 'multipart/form-data'; | ||
// Don't need to set the content type for a raw FormData instance | ||
// headers['Content-Type'] = 'multipart/form-data'; | ||
} else if (sourceData && typeof sourceData === 'object') { | ||
@@ -133,0 +134,0 @@ headers['Content-Type'] = 'application/json'; |
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
75675
2514