@molecule/app-query-react 1.1.4 → 1.1.5

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
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-03T05:29:04.362Z
6
+ Generated: 2026-11-04T14:20:06.123Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-query-react
@@ -310,8 +310,9 @@ rendering a loading state over an empty list. The key names everything the
310
310
  answer depends on, and the app's HTTP client sends the session, so a list the
311
311
  server can filter or personalize per viewer puts the viewer in its key and
312
312
  passes the same value as `principal` (`'anonymous'` when signed out): an
313
-
314
- _(description truncated — read the full text in `node_modules/@molecule/app-query-react/dist/useQuery.d.ts`.)_
313
+ account switch then drops the previous account's document immediately. Only
314
+ an endpoint that answers every viewer the same takes a viewer-free key with
315
+ `principal: 'public'`.
315
316
 
316
317
  ```typescript
317
318
  function useQuery<T>(options: QueryOptions<T> | null): QueryState<T>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-query-react",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "React hooks for @molecule/app-query — read a cached document synchronously, observe it, and prefetch on intent",
5
5
  "homepage": "https://www.molecule.dev/packages/app-query-react",
6
6
  "type": "module",