@kubb/plugin-fetch 5.3.0 → 5.4.0-canary.20260909T190245
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.d.ts +4 -4
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -193,14 +193,14 @@ declare global {
|
|
|
193
193
|
* operation using the shared `Operation` component: a grouped `<Name>Request` type and a function
|
|
194
194
|
* that forwards a single `options` object to the bundled `client` and returns the `RequestResult`.
|
|
195
195
|
*/
|
|
196
|
-
declare const clientGenerator: import("kubb/kit").Generator<PluginFetch>;
|
|
196
|
+
export declare const clientGenerator: import("kubb/kit").Generator<PluginFetch>;
|
|
197
197
|
//#endregion
|
|
198
198
|
//#region src/plugin.d.ts
|
|
199
199
|
/**
|
|
200
200
|
* Canonical plugin name for `@kubb/plugin-fetch`. Used for driver lookups and cross-plugin
|
|
201
201
|
* dependency references.
|
|
202
202
|
*/
|
|
203
|
-
declare const pluginFetchName = "plugin-fetch";
|
|
203
|
+
export declare const pluginFetchName = "plugin-fetch";
|
|
204
204
|
/**
|
|
205
205
|
* Generates a type-safe HTTP client pinned to the Fetch API. Each operation becomes one async
|
|
206
206
|
* function that takes a single grouped `options` object and returns the shared `RequestResult`
|
|
@@ -223,7 +223,7 @@ declare const pluginFetchName = "plugin-fetch";
|
|
|
223
223
|
* })
|
|
224
224
|
* ```
|
|
225
225
|
*/
|
|
226
|
-
declare const pluginFetch: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginFetch>;
|
|
226
|
+
export declare const pluginFetch: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginFetch>;
|
|
227
227
|
//#endregion
|
|
228
|
-
export { type Options, type PluginFetch, type ResolvedOptions, type ResolverClient,
|
|
228
|
+
export { type Options, type PluginFetch, type ResolvedOptions, type ResolverClient, pluginFetch as default };
|
|
229
229
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-fetch",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0-canary.20260909T190245",
|
|
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",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"registry": "https://registry.npmjs.org/"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@kubb/plugin-ts": "^5.0.
|
|
65
|
-
"@kubb/plugin-zod": "^5.
|
|
64
|
+
"@kubb/plugin-ts": "^5.1.0-canary.20260909T190244",
|
|
65
|
+
"@kubb/plugin-zod": "^5.2.0-canary.20260909T190244"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@internals/client": "0.0.
|
|
69
|
-
"@internals/shared": "0.0.
|
|
68
|
+
"@internals/client": "0.1.0-canary.20260909T190244",
|
|
69
|
+
"@internals/shared": "0.1.0-canary.20260909T190244",
|
|
70
70
|
"kubb": "^5.1.0",
|
|
71
71
|
"typescript": "^6.0.3"
|
|
72
72
|
},
|