@kubb/plugin-fetch 5.5.6 → 5.5.7

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +6 -9
package/dist/index.d.ts CHANGED
@@ -74,7 +74,8 @@ type Options = OutputOptions & {
74
74
  */
75
75
  override?: Array<Override<Omit<ResolvedOptions, 'throwOnErrorDefault'>>>;
76
76
  /**
77
- * Base URL prepended to every request. When omitted, falls back to the adapter's server URL.
77
+ * Base URL prepended to every request. When omitted, the generated client sets no base URL, so
78
+ * set one at runtime with `client.setConfig({ baseURL })`. The adapter's server URL is not used.
78
79
  * Values containing a `${...}` interpolation are emitted as template literals in the generated
79
80
  * client config, which keeps runtime environment reads dynamic.
80
81
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-fetch",
3
- "version": "5.5.6",
3
+ "version": "5.5.7",
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,17 +65,17 @@
65
65
  "registry": "https://registry.npmjs.org/"
66
66
  },
67
67
  "dependencies": {
68
- "@kubb/plugin-ts": "^5.0.5",
69
- "@kubb/plugin-zod": "^5.4.3"
68
+ "@kubb/plugin-ts": "^5.0.6",
69
+ "@kubb/plugin-zod": "^5.4.4"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@internals/client": "0.0.0",
73
73
  "@internals/shared": "0.0.0",
74
- "kubb": "^5.5.2",
74
+ "kubb": "^5.6.3",
75
75
  "typescript": "^6.0.3"
76
76
  },
77
77
  "peerDependencies": {
78
- "kubb": "^5.5.2"
78
+ "kubb": "^5.6.3"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=22"
@@ -83,10 +83,7 @@
83
83
  "scripts": {
84
84
  "build": "tsdown",
85
85
  "clean": "node -e \"require('node:fs').rmSync('./dist', {recursive:true,force:true})\"",
86
- "lint": "oxlint .",
87
- "lint:fix": "oxlint --fix .",
88
86
  "start": "tsdown --watch",
89
- "test": "vitest --passWithNoTests",
90
- "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
87
+ "typecheck": "tsc"
91
88
  }
92
89
  }