@kubb/plugin-client 4.7.0 → 4.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-client",
3
- "version": "4.7.0",
3
+ "version": "4.7.2",
4
4
  "description": "API client generator plugin for Kubb, creating type-safe HTTP clients (Axios, Fetch) from OpenAPI specifications for making API requests.",
5
5
  "keywords": [
6
6
  "api-client",
@@ -88,11 +88,11 @@
88
88
  "dependencies": {
89
89
  "@kubb/react-fabric": "0.5.2",
90
90
  "jiti": "^2.6.1",
91
- "@kubb/core": "4.7.0",
92
- "@kubb/oas": "4.7.0",
93
- "@kubb/plugin-oas": "4.7.0",
94
- "@kubb/plugin-ts": "4.7.0",
95
- "@kubb/plugin-zod": "4.7.0"
91
+ "@kubb/core": "4.7.2",
92
+ "@kubb/oas": "4.7.2",
93
+ "@kubb/plugin-oas": "4.7.2",
94
+ "@kubb/plugin-ts": "4.7.2",
95
+ "@kubb/plugin-zod": "4.7.2"
96
96
  },
97
97
  "devDependencies": {
98
98
  "axios": "^1.13.2"
@@ -19,7 +19,7 @@ export function buildFormData<T = unknown>(data: T): FormData {
19
19
  return
20
20
  }
21
21
  if (typeof value === 'object') {
22
- formData.append(key, JSON.stringify(value))
22
+ formData.append(key, new Blob([JSON.stringify(value)], {type: 'application/json'}))
23
23
  return
24
24
  }
25
25
  }