@kubb/plugin-swr 5.2.2 → 5.2.4

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/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  [![Node][node-src]][node-href]
11
11
 
12
12
  <h4>
13
- <a href="https://kubb.dev/plugins/plugin-swr" target="_blank">Documentation</a>
13
+ <a href="https://kubb.dev/extensions/kubb-labs/plugin-swr" target="_blank">Documentation</a>
14
14
  <span> · </span>
15
15
  <a href="https://github.com/kubb-labs/plugins/issues/" target="_blank">Report Bug</a>
16
16
  <span> · </span>
@@ -38,7 +38,7 @@ npm install @kubb/plugin-swr
38
38
 
39
39
  ## Documentation
40
40
 
41
- See the [full documentation](https://kubb.dev/plugins/plugin-swr) for configuration options and examples.
41
+ See the [full documentation](https://kubb.dev/extensions/kubb-labs/plugin-swr) for configuration options and examples.
42
42
 
43
43
  ## Supporting Kubb
44
44
 
package/dist/index.cjs CHANGED
@@ -335,8 +335,14 @@ function createGroupConfig(group) {
335
335
  };
336
336
  }
337
337
  //#endregion
338
+ //#region kubb-extension.json
339
+ var compatibility = {
340
+ "kubb": ">=5.8.3",
341
+ "node": ">=22"
342
+ };
343
+ //#endregion
338
344
  //#region package.json
339
- var version = "5.2.2";
345
+ var version = "5.2.4";
340
346
  //#endregion
341
347
  //#region ../../internals/client/src/resolveClient.ts
342
348
  /**
@@ -1300,11 +1306,12 @@ const pluginSwrName = "plugin-swr";
1300
1306
  * })
1301
1307
  * ```
1302
1308
  */
1303
- const pluginSwr = (0, kubb_kit.definePlugin)({
1309
+ const pluginSwr = (0, kubb_kit.defineExtension)({
1310
+ kind: "plugin",
1304
1311
  meta: {
1305
1312
  name: pluginSwrName,
1306
1313
  version,
1307
- compatibility: { kubb: ">=5.8.0" }
1314
+ compatibility
1308
1315
  },
1309
1316
  dependencies: { [_kubb_plugin_ts.pluginTsName]: {} },
1310
1317
  setup(options) {