@oondemand/oon-core-front 0.3.72 → 0.3.74
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/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -159,13 +159,19 @@ import { QueryClientProvider } from "@tanstack/react-query";
|
|
|
159
159
|
|
|
160
160
|
// src/config/queryClient.ts
|
|
161
161
|
import { QueryClient } from "@tanstack/react-query";
|
|
162
|
+
var QUERY_STALE_TIME_MS = 5 * 1e3;
|
|
163
|
+
var QUERY_REFETCH_INTERVAL_MS = 10 * 1e3;
|
|
162
164
|
function createOonQueryClient() {
|
|
163
165
|
return new QueryClient({
|
|
164
166
|
defaultOptions: {
|
|
165
167
|
queries: {
|
|
166
168
|
retry: 1,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
staleTime: QUERY_STALE_TIME_MS,
|
|
170
|
+
refetchInterval: QUERY_REFETCH_INTERVAL_MS,
|
|
171
|
+
refetchIntervalInBackground: false,
|
|
172
|
+
refetchOnMount: "always",
|
|
173
|
+
refetchOnReconnect: "always",
|
|
174
|
+
refetchOnWindowFocus: "always"
|
|
169
175
|
},
|
|
170
176
|
mutations: {
|
|
171
177
|
retry: 0
|
|
@@ -4618,7 +4624,7 @@ function Sidebar({ app, menu, registry }) {
|
|
|
4618
4624
|
// package.json
|
|
4619
4625
|
var package_default = {
|
|
4620
4626
|
name: "@oondemand/oon-core-front",
|
|
4621
|
-
version: "0.3.
|
|
4627
|
+
version: "0.3.74",
|
|
4622
4628
|
repository: {
|
|
4623
4629
|
type: "git",
|
|
4624
4630
|
url: "git+https://github.com/oondemand/oon-platform.git",
|