@kubb/plugin-fetch 5.6.0-canary.20261014T071450 → 5.6.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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
- package/templates/fetch.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1487,7 +1487,7 @@ var compatibility = {
|
|
|
1487
1487
|
};
|
|
1488
1488
|
//#endregion
|
|
1489
1489
|
//#region package.json
|
|
1490
|
-
var version = "5.6.0
|
|
1490
|
+
var version = "5.6.0";
|
|
1491
1491
|
//#endregion
|
|
1492
1492
|
//#region src/templates.ts
|
|
1493
1493
|
/** Absolute path to the fetch client template, copied into `.kubb/client.ts`. */
|
package/dist/index.js
CHANGED
|
@@ -1461,7 +1461,7 @@ var compatibility = {
|
|
|
1461
1461
|
};
|
|
1462
1462
|
//#endregion
|
|
1463
1463
|
//#region package.json
|
|
1464
|
-
var version = "5.6.0
|
|
1464
|
+
var version = "5.6.0";
|
|
1465
1465
|
//#endregion
|
|
1466
1466
|
//#region src/templates.ts
|
|
1467
1467
|
/** Absolute path to the fetch client template, copied into `.kubb/client.ts`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-fetch",
|
|
3
|
-
"version": "5.6.0
|
|
3
|
+
"version": "5.6.0",
|
|
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",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"registry": "https://registry.npmjs.org/"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@kubb/plugin-ts": "^5.
|
|
72
|
-
"@kubb/plugin-zod": "^5.
|
|
71
|
+
"@kubb/plugin-ts": "^5.0.11",
|
|
72
|
+
"@kubb/plugin-zod": "^5.4.9"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@internals/client": "0.
|
|
76
|
-
"@internals/shared": "0.
|
|
75
|
+
"@internals/client": "0.0.0",
|
|
76
|
+
"@internals/shared": "0.0.0",
|
|
77
77
|
"kubb": "^5.9.2",
|
|
78
78
|
"typescript": "^6.0.3"
|
|
79
79
|
},
|
package/templates/fetch.ts
CHANGED
|
@@ -215,7 +215,7 @@ export type FetchOptions = RequestInit & { next?: Record<string, unknown> }
|
|
|
215
215
|
export type RequestConfig<TBody = unknown, TRequest = Request, TResponse = Response> = {
|
|
216
216
|
baseURL?: string
|
|
217
217
|
url?: string
|
|
218
|
-
method?: 'GET' | 'PUT' | 'PATCH' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD'
|
|
218
|
+
method?: 'GET' | 'PUT' | 'PATCH' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'QUERY'
|
|
219
219
|
path?: unknown
|
|
220
220
|
query?: unknown
|
|
221
221
|
params?: unknown
|