@molecule/app-query-react 1.1.0 → 1.1.2

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 +5 -5
  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-10-25T13:01:55.013Z
6
+ Generated: 2026-10-26T04:27:08.629Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-query-react
@@ -217,7 +217,7 @@ Warms the cache for a document, when the connection can afford it (see
217
217
  in-flight document is skipped, and failures are swallowed.
218
218
 
219
219
  ```typescript
220
- function prefetchQuery(options: QueryOptions<T>): void
220
+ function prefetchQuery<T>(options: QueryOptions<T>): void
221
221
  ```
222
222
 
223
223
  - `options` — Key, fetch, freshness.
@@ -239,7 +239,7 @@ pointer arriving, keyboard focus, or a touch starting. Spread them onto a
239
239
  link: `<Link {...intentPrefetchProps(packageQuery(name))} />`.
240
240
 
241
241
  ```typescript
242
- function intentPrefetchProps(options: QueryOptions<T>): IntentPrefetchProps
242
+ function intentPrefetchProps<T>(options: QueryOptions<T>): IntentPrefetchProps
243
243
  ```
244
244
 
245
245
  - `options` — Key, fetch, freshness.
@@ -275,7 +275,7 @@ passes the same value as `principal` (`'anonymous'` when signed out): an
275
275
  _(description truncated — read the full text in `node_modules/@molecule/app-query-react/dist/useQuery.d.ts`.)_
276
276
 
277
277
  ```typescript
278
- function useQuery(options: QueryOptions<T> | null): QueryState<T>
278
+ function useQuery<T>(options: QueryOptions<T> | null): QueryState<T>
279
279
  ```
280
280
 
281
281
  - `options` — Key, fetch, freshness, and optionally `principal` with `keepPreviousData`; or `null`.
@@ -288,7 +288,7 @@ function useQuery(options: QueryOptions<T> | null): QueryState<T>
288
288
 
289
289
  Peer dependencies:
290
290
 
291
- - `@molecule/app-query` ^1.0.0
291
+ - `@molecule/app-query` ^1.1.0
292
292
  - `react` ^18.0.0 || ^19.0.0
293
293
 
294
294
  ### Runtime Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-query-react",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
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",