@kubb/plugin-client 5.5.9 → 5.5.10

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 CHANGED
@@ -453,7 +453,7 @@ var compatibility = {
453
453
  };
454
454
  //#endregion
455
455
  //#region package.json
456
- var version = "5.5.9";
456
+ var version = "5.5.10";
457
457
  //#endregion
458
458
  //#region ../../internals/client/src/builders/contentType.ts
459
459
  /**
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
2
- import { Exclude, Group, Include, Output, OutputOptions, Override, PluginFactoryOptions, Resolver, ResolverPatch, ast } from "kubb/kit";
2
+ import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
3
3
  import "@kubb/plugin-zod";
4
4
  import "kubb/jsx";
5
5
  //#region ../../internals/client/src/types.d.ts
@@ -223,7 +223,7 @@ type ResolvedOptions = ResolvedOptions$1 & {
223
223
  /**
224
224
  * Plugin type of `@kubb/plugin-client`, registered in the Kubb plugin registry.
225
225
  */
226
- type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, ResolverClient>;
226
+ type PluginClient = PluginType<'plugin-client', Options, ResolvedOptions, ResolverClient>;
227
227
  declare global {
228
228
  namespace Kubb {
229
229
  interface PluginRegistry {
package/dist/index.js CHANGED
@@ -427,7 +427,7 @@ var compatibility = {
427
427
  };
428
428
  //#endregion
429
429
  //#region package.json
430
- var version = "5.5.9";
430
+ var version = "5.5.10";
431
431
  //#endregion
432
432
  //#region ../../internals/client/src/builders/contentType.ts
433
433
  /**
@@ -18,6 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "dependencies": ["plugin-ts"],
21
+ "optionalDependencies": ["plugin-zod"],
21
22
  "compatibility": {
22
23
  "kubb": ">=5.8.3",
23
24
  "node": ">=22"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-client",
3
- "version": "5.5.9",
3
+ "version": "5.5.10",
4
4
  "description": "Generate typed API operations against your own client module.",
5
5
  "keywords": [
6
6
  "api-client",
@@ -47,17 +47,17 @@
47
47
  "registry": "https://registry.npmjs.org/"
48
48
  },
49
49
  "dependencies": {
50
- "@kubb/plugin-ts": "^5.0.10",
51
- "@kubb/plugin-zod": "^5.4.8"
50
+ "@kubb/plugin-ts": "^5.0.11",
51
+ "@kubb/plugin-zod": "^5.4.9"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@internals/client": "0.0.0",
55
55
  "@internals/shared": "0.0.0",
56
- "kubb": "^5.8.3",
56
+ "kubb": "^5.9.2",
57
57
  "typescript": "^6.0.3"
58
58
  },
59
59
  "peerDependencies": {
60
- "kubb": "^5.8.3"
60
+ "kubb": "^5.9.2"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=22"
package/src/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Override, PluginFactoryOptions } from 'kubb/kit'
1
+ import type { Override, PluginType } from 'kubb/kit'
2
2
  import type { Options as ClientOptions, ResolvedOptions as ClientResolvedOptions, ResolverClient } from '@internals/client'
3
3
 
4
4
  export type { ResolverClient } from '@internals/client'
@@ -43,7 +43,7 @@ export type ResolvedOptions = ClientResolvedOptions & { importPath: string }
43
43
  /**
44
44
  * Plugin type of `@kubb/plugin-client`, registered in the Kubb plugin registry.
45
45
  */
46
- export type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, ResolverClient>
46
+ export type PluginClient = PluginType<'plugin-client', Options, ResolvedOptions, ResolverClient>
47
47
 
48
48
  declare global {
49
49
  namespace Kubb {