@molecule/app-react 3.4.2 → 3.4.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.
package/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-11-06T00:14:54.331Z
6
+ Generated: 2026-11-07T05:06:44.123Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-react
@@ -2075,7 +2075,7 @@ client's `AuthResult<MyUser>`; there is no separate `useRegister` hook.
2075
2075
  An app whose API takes its OWN registration fields passes the client's
2076
2076
  second generic here too — `useAuth<MyUser, { username: string }>()` — so
2077
2077
  `register({ email, password, username })` is typed exactly like the client
2078
- call (and `requestBody` receives the same payload). Without it, `register`
2078
+ call (and `mapRequestBody` receives that payload as its first argument). Without it, `register`
2079
2079
  accepts only the base fields.
2080
2080
 
2081
2081
  ```typescript
@@ -42,7 +42,7 @@ export declare function useAuthClient<T = unknown, TRegister extends RegisterExt
42
42
  * An app whose API takes its OWN registration fields passes the client's
43
43
  * second generic here too — `useAuth<MyUser, { username: string }>()` — so
44
44
  * `register({ email, password, username })` is typed exactly like the client
45
- * call (and `requestBody` receives the same payload). Without it, `register`
45
+ * call (and `mapRequestBody` receives that payload as its first argument). Without it, `register`
46
46
  * accepts only the base fields.
47
47
  *
48
48
  * @param options - Hook options
@@ -51,7 +51,7 @@ export function useAuthClient() {
51
51
  * An app whose API takes its OWN registration fields passes the client's
52
52
  * second generic here too — `useAuth<MyUser, { username: string }>()` — so
53
53
  * `register({ email, password, username })` is typed exactly like the client
54
- * call (and `requestBody` receives the same payload). Without it, `register`
54
+ * call (and `mapRequestBody` receives that payload as its first argument). Without it, `register`
55
55
  * accepts only the base fields.
56
56
  *
57
57
  * @param options - Hook options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-react",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "description": "React framework bindings for molecule.dev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",