@hashrytech/quick-components-kit 0.15.1 → 0.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hashrytech/quick-components-kit
2
2
 
3
+ ## 0.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: more log updates
8
+
3
9
  ## 0.15.1
4
10
 
5
11
  ### Patch Changes
@@ -119,6 +119,8 @@ export class FetchClient {
119
119
  if (body instanceof FormData) {
120
120
  requestHeaders.delete('Content-Type'); // Important: Let browser set Content-Type for FormData
121
121
  processedBody = body;
122
+ if (this.debug)
123
+ console.debug(`Fetch Client: Removed Content-Type header since FormData is being used for body in request to ${url}`);
122
124
  }
123
125
  else if (body !== undefined && body !== null) {
124
126
  const contentType = requestHeaders.get('Content-Type');
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hashrytech/quick-components-kit.git"
7
7
  },
8
- "version": "0.15.1",
8
+ "version": "0.15.2",
9
9
  "license": "MIT",
10
10
  "author": "Hashry Tech",
11
11
  "files": [