@tanstack/query-core 5.0.0-alpha.23 → 5.0.0-alpha.24
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/focusManager.d.ts +1 -0
- package/build/lib/hydration.d.ts +1 -0
- package/build/lib/index.d.ts +1 -0
- package/build/lib/infiniteQueryBehavior.d.ts +1 -0
- package/build/lib/infiniteQueryObserver.d.ts +1 -0
- package/build/lib/mutation.d.ts +1 -0
- package/build/lib/mutationCache.d.ts +1 -0
- package/build/lib/mutationObserver.d.ts +1 -0
- package/build/lib/notifyManager.d.ts +1 -0
- package/build/lib/onlineManager.d.ts +1 -0
- package/build/lib/queriesObserver.d.ts +1 -0
- package/build/lib/query.d.ts +1 -0
- package/build/lib/query.esm.js +1 -1
- package/build/lib/query.esm.js.map +1 -1
- package/build/lib/query.js +1 -1
- package/build/lib/query.js.map +1 -1
- package/build/lib/query.mjs +1 -1
- package/build/lib/query.mjs.map +1 -1
- package/build/lib/queryCache.d.ts +1 -0
- package/build/lib/queryClient.d.ts +1 -0
- package/build/lib/queryObserver.d.ts +1 -0
- package/build/lib/removable.d.ts +1 -0
- package/build/lib/retryer.d.ts +1 -0
- package/build/lib/subscribable.d.ts +1 -0
- package/build/lib/tests/focusManager.test.d.ts +1 -0
- package/build/lib/tests/hydration.test.d.ts +1 -0
- package/build/lib/tests/infiniteQueryBehavior.test.d.ts +1 -0
- package/build/lib/tests/infiniteQueryObserver.test.d.ts +1 -0
- package/build/lib/tests/mutationCache.test.d.ts +1 -0
- package/build/lib/tests/mutationObserver.test.d.ts +1 -0
- package/build/lib/tests/mutations.test.d.ts +1 -0
- package/build/lib/tests/notifyManager.test.d.ts +1 -0
- package/build/lib/tests/onlineManager.test.d.ts +1 -0
- package/build/lib/tests/queriesObserver.test.d.ts +1 -0
- package/build/lib/tests/query.test.d.ts +1 -0
- package/build/lib/tests/queryCache.test.d.ts +1 -0
- package/build/lib/tests/queryClient.test.d.ts +1 -0
- package/build/lib/tests/queryObserver.test.d.ts +1 -0
- package/build/lib/tests/utils.d.ts +1 -0
- package/build/lib/tests/utils.test.d.ts +1 -0
- package/build/lib/types.d.ts +1 -0
- package/build/lib/utils.d.ts +1 -0
- 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/query.ts +1 -1
- package/src/tests/query.test.tsx +1 -1
package/package.json
CHANGED
package/src/query.ts
CHANGED
|
@@ -464,7 +464,7 @@ export class Query<
|
|
|
464
464
|
`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`,
|
|
465
465
|
)
|
|
466
466
|
}
|
|
467
|
-
onError(new Error(
|
|
467
|
+
onError(new Error(`${this.queryHash} data is undefined`) as any)
|
|
468
468
|
return
|
|
469
469
|
}
|
|
470
470
|
|
package/src/tests/query.test.tsx
CHANGED