@kubb/plugin-axios 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<PluginAxios>;
|
|
196
|
+
export declare const clientGenerator: import("kubb/kit").Generator<PluginAxios>;
|
|
197
197
|
//#endregion
|
|
198
198
|
//#region src/plugin.d.ts
|
|
199
199
|
/**
|
|
200
200
|
* Canonical plugin name for `@kubb/plugin-axios`. Used for driver lookups and cross-plugin
|
|
201
201
|
* dependency references.
|
|
202
202
|
*/
|
|
203
|
-
declare const pluginAxiosName = "plugin-axios";
|
|
203
|
+
export declare const pluginAxiosName = "plugin-axios";
|
|
204
204
|
/**
|
|
205
205
|
* Generates a type-safe HTTP client pinned to axios. Each operation becomes one async function
|
|
206
206
|
* that takes a single grouped `options` object and returns the shared `RequestResult` contract. The
|
|
@@ -223,7 +223,7 @@ declare const pluginAxiosName = "plugin-axios";
|
|
|
223
223
|
* })
|
|
224
224
|
* ```
|
|
225
225
|
*/
|
|
226
|
-
declare const pluginAxios: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginAxios>;
|
|
226
|
+
export declare const pluginAxios: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginAxios>;
|
|
227
227
|
//#endregion
|
|
228
|
-
export { type Options, type PluginAxios, type ResolvedOptions, type ResolverClient,
|
|
228
|
+
export { type Options, type PluginAxios, type ResolvedOptions, type ResolverClient, pluginAxios as default };
|
|
229
229
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-axios",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0-canary.20260909T190245",
|
|
4
4
|
"description": "Generate a slim, type-safe HTTP client with Kubb based on axios.",
|
|
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
|
"axios": "^1.20.0",
|
|
71
71
|
"kubb": "^5.1.0",
|
|
72
72
|
"typescript": "^6.0.3"
|