@spoosh/plugin-transform 0.4.0 → 0.4.1

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.mts CHANGED
@@ -72,7 +72,7 @@ declare module "@spoosh/core" {
72
72
  *
73
73
  * // Per-request transforms with full type inference
74
74
  * const { data, meta } = useRead(
75
- * (api) => api.posts.$get(),
75
+ * (api) => api("posts").GET(),
76
76
  * {
77
77
  * transform: (posts) => ({
78
78
  * count: posts.length,
package/dist/index.d.ts CHANGED
@@ -72,7 +72,7 @@ declare module "@spoosh/core" {
72
72
  *
73
73
  * // Per-request transforms with full type inference
74
74
  * const { data, meta } = useRead(
75
- * (api) => api.posts.$get(),
75
+ * (api) => api("posts").GET(),
76
76
  * {
77
77
  * transform: (posts) => ({
78
78
  * count: posts.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spoosh/plugin-transform",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Data transformation plugin for Spoosh with sync/async support",
5
5
  "license": "MIT",
6
6
  "repository": {