@sylphx/lens-react 1.2.3 → 1.2.4

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/package.json +2 -2
  2. package/src/hooks.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/lens-react",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "React bindings for Lens API framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "author": "SylphxAI",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@sylphx/lens-client": "^1.0.7"
32
+ "@sylphx/lens-client": "^1.0.8"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18.0.0"
package/src/hooks.ts CHANGED
@@ -129,7 +129,10 @@ function resolveQuery<T>(input: QueryInput<T>): QueryResult<T> | null | undefine
129
129
  * }
130
130
  * ```
131
131
  */
132
- export function useQuery<T>(queryInput: QueryInput<T>, options?: UseQueryOptions): UseQueryResult<T> {
132
+ export function useQuery<T>(
133
+ queryInput: QueryInput<T>,
134
+ options?: UseQueryOptions,
135
+ ): UseQueryResult<T> {
133
136
  // Resolve query (handles accessor functions)
134
137
  const query = useMemo(() => resolveQuery(queryInput), [queryInput]);
135
138