@kubb/plugin-fetch 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/README.md +2 -2
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/docs/guides/authentication.md +77 -0
- package/docs/guides/base-url.md +63 -0
- package/docs/guides/calling-operations.md +147 -0
- package/docs/guides/error-handling.md +124 -0
- package/docs/guides/interceptors.md +78 -0
- package/docs/guides/serialization.md +120 -0
- package/docs/guides/server-sent-events.md +99 -0
- package/docs/guides/transport.md +71 -0
- package/docs/options.md +200 -0
- package/{OVERVIEW.md → docs/overview.md} +22 -0
- package/kubb-extension.json +9 -2
- package/package.json +7 -7
- package/src/plugin.ts +3 -2
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/
|
|
13
|
+
<a href="https://kubb.dev/extensions/kubb-labs/plugin-fetch" target="_blank">Documentation</a>
|
|
14
14
|
<span> · </span>
|
|
15
15
|
<a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
|
|
16
16
|
<span> · </span>
|
|
@@ -38,7 +38,7 @@ npm install @kubb/plugin-fetch
|
|
|
38
38
|
|
|
39
39
|
## Documentation
|
|
40
40
|
|
|
41
|
-
See the [full documentation](https://kubb.dev/
|
|
41
|
+
See the [full documentation](https://kubb.dev/extensions/kubb-labs/plugin-fetch) for configuration options and examples.
|
|
42
42
|
|
|
43
43
|
## Supporting Kubb
|
|
44
44
|
|
package/dist/index.cjs
CHANGED
|
@@ -1482,12 +1482,12 @@ const clientGenerator = createClientGenerator("fetch");
|
|
|
1482
1482
|
//#endregion
|
|
1483
1483
|
//#region kubb-extension.json
|
|
1484
1484
|
var compatibility = {
|
|
1485
|
-
"kubb": ">=5.8.
|
|
1485
|
+
"kubb": ">=5.8.3",
|
|
1486
1486
|
"node": ">=22"
|
|
1487
1487
|
};
|
|
1488
1488
|
//#endregion
|
|
1489
1489
|
//#region package.json
|
|
1490
|
-
var version = "5.5.
|
|
1490
|
+
var version = "5.5.10";
|
|
1491
1491
|
//#endregion
|
|
1492
1492
|
//#region src/templates.ts
|
|
1493
1493
|
/** Absolute path to the fetch client template, copied into `.kubb/client.ts`. */
|
|
@@ -1528,7 +1528,8 @@ const pluginFetchName = "plugin-fetch";
|
|
|
1528
1528
|
* })
|
|
1529
1529
|
* ```
|
|
1530
1530
|
*/
|
|
1531
|
-
const pluginFetch = (0, kubb_kit.
|
|
1531
|
+
const pluginFetch = (0, kubb_kit.defineExtension)({
|
|
1532
|
+
kind: "plugin",
|
|
1532
1533
|
meta: {
|
|
1533
1534
|
name: pluginFetchName,
|
|
1534
1535
|
version,
|