@kubb/plugin-swr 5.9.0-canary.20261109T201601 → 5.9.0

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/docs/options.md CHANGED
@@ -60,7 +60,7 @@ Shape of the value the generated hooks resolve to.
60
60
  ::field-group
61
61
 
62
62
  :::field{name="'full'"}
63
- Returns the client's whole `RequestResult` (`{ status, data, error, contentType, request, response }`), so a hook can read the status and the response headers next to `data`. Needs a client plugin whose own `returnType` is `'full'` or `'plain'`; with a client `returnType: 'data'` generation stops with an error.
63
+ Returns the client's whole `RequestResult` (`{ status, data, error, contentType, headers, request, response }`), so a hook can read the status and the response headers next to `data`. Needs a client plugin whose own `returnType` is `'full'` or `'plain'`; with a client `returnType: 'data'` generation stops with an error.
64
64
  :::
65
65
 
66
66
  :::field{name="'data'"}
@@ -20,7 +20,7 @@
20
20
  "dependencies": ["plugin-ts"],
21
21
  "optionalDependencies": ["plugin-zod"],
22
22
  "compatibility": {
23
- "kubb": ">=5.16.0",
23
+ "kubb": ">=5.18.4",
24
24
  "node": ">=22.22"
25
25
  },
26
26
  "role": "consumer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-swr",
3
- "version": "5.9.0-canary.20261109T201601",
3
+ "version": "5.9.0",
4
4
  "description": "Generate type-safe SWR hooks with Kubb. Covers useSWR and useSWRMutation with full TypeScript support.",
5
5
  "keywords": [
6
6
  "code-generation",
@@ -79,15 +79,16 @@
79
79
  "registry": "https://registry.npmjs.org/"
80
80
  },
81
81
  "dependencies": {
82
- "@kubb/kit": "^5.16.1",
83
- "@kubb/plugin-ts": "^5.5.0-canary.20261109T201600",
84
- "@kubb/renderer-jsx": "^5.16.1"
82
+ "@kubb/kit": "^5.18.6",
83
+ "@kubb/plugin-ts": "^5.5.0",
84
+ "@kubb/renderer-jsx": "^5.18.6"
85
85
  },
86
86
  "devDependencies": {
87
- "@internals/client": "0.1.0-canary.20261109T201601",
88
- "@internals/shared": "0.1.0-canary.20261109T201600",
89
- "@internals/tanstack-query": "0.1.0-canary.20261109T201601",
90
- "@internals/utils": "0.1.0-canary.20261109T201600",
87
+ "@internals/client": "0.0.0",
88
+ "@internals/shared": "0.0.0",
89
+ "@internals/tanstack-query": "0.0.0",
90
+ "@internals/utils": "0.0.0",
91
+ "@kubb/plugin-client": "6.0.0",
91
92
  "swr": "^2.5.1"
92
93
  },
93
94
  "peerDependencies": {