@kubb/plugin-fetch 5.5.4 → 5.5.5

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-fetch",
3
- "version": "5.5.4",
3
+ "version": "5.5.5",
4
4
  "description": "Generate a slim, type-safe HTTP client with Kubb based on the native Fetch api.",
5
5
  "keywords": [
6
6
  "api-client",
@@ -65,7 +65,7 @@
65
65
  "registry": "https://registry.npmjs.org/"
66
66
  },
67
67
  "dependencies": {
68
- "@kubb/plugin-ts": "^5.0.4",
68
+ "@kubb/plugin-ts": "^5.0.5",
69
69
  "@kubb/plugin-zod": "^5.4.3"
70
70
  },
71
71
  "devDependencies": {
@@ -635,7 +635,7 @@ async function resolveRequest<TBody, TRequest, TResponse>({
635
635
  headers,
636
636
  body,
637
637
  signal: requestConfig.signal,
638
- credentials: requestConfig.credentials,
638
+ credentials: requestConfig.credentials ?? config.credentials,
639
639
  options,
640
640
  responseType: requestConfig.responseType,
641
641
  },