@kubb/plugin-msw 5.0.2 → 5.0.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +9 -5
package/dist/index.d.ts CHANGED
@@ -92,7 +92,7 @@ declare global {
92
92
  * Canonical plugin name for `@kubb/plugin-msw`. Used for driver lookups and
93
93
  * cross-plugin dependency references.
94
94
  */
95
- declare const pluginMswName = "plugin-msw";
95
+ export declare const pluginMswName = "plugin-msw";
96
96
  /**
97
97
  * Generates MSW request handlers from an OpenAPI spec. Drop them into your
98
98
  * test setup or service worker to mock the API end-to-end. Request path,
@@ -119,7 +119,7 @@ declare const pluginMswName = "plugin-msw";
119
119
  * })
120
120
  * ```
121
121
  */
122
- declare const pluginMsw: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginMsw>;
122
+ export declare const pluginMsw: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginMsw>;
123
123
  //#endregion
124
124
  //#region src/resolvers/resolverMsw.d.ts
125
125
  /**
@@ -137,7 +137,7 @@ declare const pluginMsw: (options?: Options | undefined) => import("kubb/kit").P
137
137
  * resolverMsw.name('addPet') // 'addPetHandler'
138
138
  * ```
139
139
  */
140
- declare const resolverMsw: ResolverMsw;
140
+ export declare const resolverMsw: ResolverMsw;
141
141
  //#endregion
142
- export { type PluginMsw, type ResolverMsw, pluginMsw as default, pluginMsw, pluginMswName, resolverMsw };
142
+ export { type PluginMsw, type ResolverMsw, pluginMsw as default };
143
143
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-msw",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "description": "Generate Mock Service Worker (MSW) request handlers with Kubb. Intercept HTTP requests in the browser or Node.js for frontend development and testing.",
5
5
  "keywords": [
6
6
  "api-mocking",
@@ -31,6 +31,10 @@
31
31
  {
32
32
  "type": "opencollective",
33
33
  "url": "https://opencollective.com/kubb"
34
+ },
35
+ {
36
+ "type": "custom",
37
+ "url": "https://kubb.dev/sponsors"
34
38
  }
35
39
  ],
36
40
  "files": [
@@ -73,16 +77,16 @@
73
77
  "registry": "https://registry.npmjs.org/"
74
78
  },
75
79
  "dependencies": {
76
- "@kubb/plugin-faker": "^5.0.3",
77
- "@kubb/plugin-ts": "^5.0.1"
80
+ "@kubb/plugin-faker": "^5.0.5",
81
+ "@kubb/plugin-ts": "^5.0.2"
78
82
  },
79
83
  "devDependencies": {
80
84
  "@internals/shared": "0.0.0",
81
85
  "@internals/utils": "0.0.0",
82
- "kubb": "^5.0.6"
86
+ "kubb": "^5.2.0"
83
87
  },
84
88
  "peerDependencies": {
85
- "kubb": "^5.0.6"
89
+ "kubb": "^5.2.0"
86
90
  },
87
91
  "engines": {
88
92
  "node": ">=22"