@hyper-fetch/react 9.8.0 → 9.8.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/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ const CreateUserForm = () => {
|
|
|
127
127
|
const form = new FormData(e.currentTarget);
|
|
128
128
|
// Pass typed payload — TypeScript ensures the shape matches your request definition
|
|
129
129
|
submit({
|
|
130
|
-
|
|
130
|
+
payload: { name: form.get("name") as string, email: form.get("email") as string },
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
133
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyper-fetch/react",
|
|
3
|
-
"version": "9.8.
|
|
3
|
+
"version": "9.8.1",
|
|
4
4
|
"description": "React hooks and utils for the hyper-fetch",
|
|
5
5
|
"author": "Maciej Pyrc <maciekpyrc@gmail.com>, Kacper Skawina <kacper.skawina@gmail.com>",
|
|
6
6
|
"homepage": "https://hyperfetch.bettertyped.com/",
|