@tanstack/query-core 4.18.0 → 4.19.1
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/build/lib/types.d.ts +1 -1
- package/build/lib/utils.esm.js +1 -1
- package/build/lib/utils.esm.js.map +1 -1
- package/build/lib/utils.js +1 -1
- package/build/lib/utils.js.map +1 -1
- package/build/lib/utils.mjs +1 -1
- package/build/lib/utils.mjs.map +1 -1
- package/build/umd/index.development.js +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/types.ts +1 -1
- package/src/utils.ts +1 -1
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -203,7 +203,7 @@ export interface QueryObserverOptions<
|
|
|
203
203
|
*/
|
|
204
204
|
notifyOnChangeProps?: Array<keyof InfiniteQueryObserverResult> | 'all'
|
|
205
205
|
/**
|
|
206
|
-
* This callback will fire any time the query successfully fetches new data
|
|
206
|
+
* This callback will fire any time the query successfully fetches new data.
|
|
207
207
|
*/
|
|
208
208
|
onSuccess?: (data: TData) => void
|
|
209
209
|
/**
|
package/src/utils.ts
CHANGED
|
@@ -68,7 +68,7 @@ export type QueryTypeFilter = 'all' | 'active' | 'inactive'
|
|
|
68
68
|
|
|
69
69
|
// UTILS
|
|
70
70
|
|
|
71
|
-
export const isServer = typeof window === 'undefined'
|
|
71
|
+
export const isServer = typeof window === 'undefined' || 'Deno' in window
|
|
72
72
|
|
|
73
73
|
export function noop(): undefined {
|
|
74
74
|
return undefined
|