@molecule/app-bonds-default-react 3.0.2 → 3.0.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-04T14:20:04.598Z
6
+ Generated: 2026-11-08T05:22:17.220Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-bonds-default-react
@@ -213,9 +213,9 @@ Required by apps whose http client must carry the JWT on every request — witho
213
213
  this wiring, authed endpoints return 401 after page reloads or token refresh.
214
214
 
215
215
  The sync is a LIVE read: `@molecule/app-http`'s `setAuthTokenSource` registers the auth
216
- client's token, and every client the app bonds — one bonded after this setup too (the
217
- scaffold wires auth BEFORE http, so a token copied into the client present at setup was
218
- never sent) — reads it on each request. A session adopted with no
216
+ client's token, and every client the app bonds, before or after this setup, reads it on
217
+ each request — so the order of the `setup*()` calls in `bonds/index.ts` does not matter
218
+ and never needs changing for auth. A session adopted with no
219
219
  auth event (`useAuth().setSession()`, an OAuth callback's `setAccessToken()`, the same
220
220
  profile under a new token) is therefore sent by the next request, not the previous
221
221
  account's bearer. A transport without `setAuthTokenResolver` is followed through a request
package/dist/auth.d.ts CHANGED
@@ -98,9 +98,9 @@ export declare function createDefaultAuthClient<TUser extends AuthProfileConstra
98
98
  * this wiring, authed endpoints return 401 after page reloads or token refresh.
99
99
  *
100
100
  * The sync is a LIVE read: `@molecule/app-http`'s `setAuthTokenSource` registers the auth
101
- * client's token, and every client the app bonds — one bonded after this setup too (the
102
- * scaffold wires auth BEFORE http, so a token copied into the client present at setup was
103
- * never sent) — reads it on each request. A session adopted with no
101
+ * client's token, and every client the app bonds, before or after this setup, reads it on
102
+ * each request — so the order of the `setup*()` calls in `bonds/index.ts` does not matter
103
+ * and never needs changing for auth. A session adopted with no
104
104
  * auth event (`useAuth().setSession()`, an OAuth callback's `setAccessToken()`, the same
105
105
  * profile under a new token) is therefore sent by the next request, not the previous
106
106
  * account's bearer. A transport without `setAuthTokenResolver` is followed through a request
package/dist/auth.js CHANGED
@@ -139,9 +139,9 @@ export function createDefaultAuthClient(authConfig) {
139
139
  * this wiring, authed endpoints return 401 after page reloads or token refresh.
140
140
  *
141
141
  * The sync is a LIVE read: `@molecule/app-http`'s `setAuthTokenSource` registers the auth
142
- * client's token, and every client the app bonds — one bonded after this setup too (the
143
- * scaffold wires auth BEFORE http, so a token copied into the client present at setup was
144
- * never sent) — reads it on each request. A session adopted with no
142
+ * client's token, and every client the app bonds, before or after this setup, reads it on
143
+ * each request — so the order of the `setup*()` calls in `bonds/index.ts` does not matter
144
+ * and never needs changing for auth. A session adopted with no
145
145
  * auth event (`useAuth().setSession()`, an OAuth callback's `setAccessToken()`, the same
146
146
  * profile under a new token) is therefore sent by the next request, not the previous
147
147
  * account's bearer. A transport without `setAuthTokenResolver` is followed through a request
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-bonds-default-react",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Default app-side bond wirings for React+Tailwind+react-router+localStorage+Arimo font+molecule icons. 5 setup functions consolidating 665 byte-identical per-app bond wiring files across the fleet.",
5
5
  "homepage": "https://www.molecule.dev/packages/app-bonds-default-react",
6
6
  "type": "module",
@@ -39,19 +39,19 @@
39
39
  "directory": "packages/app/infrastructure/bonds-default-react"
40
40
  },
41
41
  "devDependencies": {
42
- "@molecule/app-auth": "3.2.4",
42
+ "@molecule/app-auth": "3.3.1",
43
43
  "@molecule/app-charts-chartjs": "1.0.3",
44
44
  "@molecule/app-client-search": "1.0.4",
45
45
  "@molecule/app-client-search-minisearch": "1.0.4",
46
46
  "@molecule/app-code-editor": "1.0.3",
47
- "@molecule/app-code-editor-monaco": "1.0.5",
47
+ "@molecule/app-code-editor-monaco": "1.0.6",
48
48
  "@molecule/app-command-palette": "1.0.3",
49
49
  "@molecule/app-command-palette-cmdk": "1.0.3",
50
50
  "@molecule/app-drag-drop": "1.0.4",
51
51
  "@molecule/app-drag-drop-dndkit": "1.0.4",
52
52
  "@molecule/app-fonts": "1.2.2",
53
53
  "@molecule/app-fonts-arimo": "1.0.5",
54
- "@molecule/app-http": "1.5.4",
54
+ "@molecule/app-http": "1.5.8",
55
55
  "@molecule/app-icons": "1.0.3",
56
56
  "@molecule/app-icons-molecule": "1.0.3",
57
57
  "@molecule/app-keyboard-shortcuts": "1.0.3",
@@ -60,14 +60,14 @@
60
60
  "@molecule/app-realtime": "1.0.4",
61
61
  "@molecule/app-realtime-socketio": "1.1.2",
62
62
  "@molecule/app-routing": "1.0.5",
63
- "@molecule/app-routing-react-router": "1.2.1",
64
- "@molecule/app-state": "1.1.1",
63
+ "@molecule/app-routing-react-router": "1.2.3",
64
+ "@molecule/app-state": "1.2.0",
65
65
  "@molecule/app-storage": "1.1.0",
66
- "@molecule/app-storage-localstorage": "1.1.0",
66
+ "@molecule/app-storage-localstorage": "1.1.1",
67
67
  "@molecule/app-theme": "1.0.4",
68
68
  "@molecule/app-theme-css-variables": "1.0.4",
69
69
  "@molecule/app-ui": "1.3.9",
70
- "@molecule/app-ui-tailwind": "1.2.8",
70
+ "@molecule/app-ui-tailwind": "1.2.9",
71
71
  "@molecule/app-video-hls": "1.0.3",
72
72
  "@molecule/app-virtual-scroll": "1.0.4",
73
73
  "@molecule/app-virtual-scroll-tanstack": "1.0.3",