@tanstack/solid-query-devtools 5.83.1 → 5.84.0

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/dev.cjs CHANGED
@@ -34,7 +34,8 @@ function SolidQueryDevtools(props) {
34
34
  initialIsOpen: props.initialIsOpen,
35
35
  errorTypes: props.errorTypes,
36
36
  styleNonce: props.styleNonce,
37
- shadowDOMTarget: props.shadowDOMTarget
37
+ shadowDOMTarget: props.shadowDOMTarget,
38
+ hideDisabledQueries: props.hideDisabledQueries
38
39
  });
39
40
  solidJs.createEffect(() => {
40
41
  devtools.setClient(client());
package/build/dev.js CHANGED
@@ -18,7 +18,7 @@ function clientOnly(fn) {
18
18
  }
19
19
 
20
20
  // src/index.tsx
21
- var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/LBUQ2A5B.js')) : function() {
21
+ var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/DFW22NEL.js')) : function() {
22
22
  return null;
23
23
  };
24
24
 
package/build/dev.jsx CHANGED
@@ -30,7 +30,7 @@ function clientOnly(fn) {
30
30
  }
31
31
 
32
32
  // src/index.tsx
33
- var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/O4DODHQV.jsx")) : function() {
33
+ var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/4LKOWRT2.jsx")) : function() {
34
34
  return null;
35
35
  };
36
36
  export {
@@ -16,7 +16,8 @@ function SolidQueryDevtools(props) {
16
16
  initialIsOpen: props.initialIsOpen,
17
17
  errorTypes: props.errorTypes,
18
18
  styleNonce: props.styleNonce,
19
- shadowDOMTarget: props.shadowDOMTarget
19
+ shadowDOMTarget: props.shadowDOMTarget,
20
+ hideDisabledQueries: props.hideDisabledQueries
20
21
  });
21
22
  createEffect(() => {
22
23
  devtools.setClient(client());
@@ -19,7 +19,8 @@ function SolidQueryDevtools(props) {
19
19
  initialIsOpen: props.initialIsOpen,
20
20
  errorTypes: props.errorTypes,
21
21
  styleNonce: props.styleNonce,
22
- shadowDOMTarget: props.shadowDOMTarget
22
+ shadowDOMTarget: props.shadowDOMTarget,
23
+ hideDisabledQueries: props.hideDisabledQueries
23
24
  });
24
25
  createEffect(() => {
25
26
  devtools.setClient(client());
package/build/index.cjs CHANGED
@@ -34,7 +34,8 @@ function SolidQueryDevtools(props) {
34
34
  initialIsOpen: props.initialIsOpen,
35
35
  errorTypes: props.errorTypes,
36
36
  styleNonce: props.styleNonce,
37
- shadowDOMTarget: props.shadowDOMTarget
37
+ shadowDOMTarget: props.shadowDOMTarget,
38
+ hideDisabledQueries: props.hideDisabledQueries
38
39
  });
39
40
  solidJs.createEffect(() => {
40
41
  devtools.setClient(client());
package/build/index.d.cts CHANGED
@@ -35,6 +35,10 @@ interface DevtoolsOptions {
35
35
  * Use this so you can attach the devtool's styles to specific element in the DOM.
36
36
  */
37
37
  shadowDOMTarget?: ShadowRoot;
38
+ /**
39
+ * Set this to true to hide disabled queries from the devtools panel.
40
+ */
41
+ hideDisabledQueries?: boolean;
38
42
  }
39
43
  declare function SolidQueryDevtools$1(props: DevtoolsOptions): solid_js.JSX.Element;
40
44
 
package/build/index.d.ts CHANGED
@@ -35,6 +35,10 @@ interface DevtoolsOptions {
35
35
  * Use this so you can attach the devtool's styles to specific element in the DOM.
36
36
  */
37
37
  shadowDOMTarget?: ShadowRoot;
38
+ /**
39
+ * Set this to true to hide disabled queries from the devtools panel.
40
+ */
41
+ hideDisabledQueries?: boolean;
38
42
  }
39
43
  declare function SolidQueryDevtools$1(props: DevtoolsOptions): solid_js.JSX.Element;
40
44
 
package/build/index.js CHANGED
@@ -18,7 +18,7 @@ function clientOnly(fn) {
18
18
  }
19
19
 
20
20
  // src/index.tsx
21
- var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/LBUQ2A5B.js')) : function() {
21
+ var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/DFW22NEL.js')) : function() {
22
22
  return null;
23
23
  };
24
24
 
package/build/index.jsx CHANGED
@@ -30,7 +30,7 @@ function clientOnly(fn) {
30
30
  }
31
31
 
32
32
  // src/index.tsx
33
- var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/O4DODHQV.jsx")) : function() {
33
+ var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/4LKOWRT2.jsx")) : function() {
34
34
  return null;
35
35
  };
36
36
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/solid-query-devtools",
3
- "version": "5.83.1",
3
+ "version": "5.84.0",
4
4
  "description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "!src/__tests__"
45
45
  ],
46
46
  "dependencies": {
47
- "@tanstack/query-devtools": "5.83.1"
47
+ "@tanstack/query-devtools": "5.84.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "npm-run-all2": "^5.0.0",
package/src/devtools.tsx CHANGED
@@ -41,6 +41,10 @@ interface DevtoolsOptions {
41
41
  * Use this so you can attach the devtool's styles to specific element in the DOM.
42
42
  */
43
43
  shadowDOMTarget?: ShadowRoot
44
+ /**
45
+ * Set this to true to hide disabled queries from the devtools panel.
46
+ */
47
+ hideDisabledQueries?: boolean
44
48
  }
45
49
 
46
50
  export default function SolidQueryDevtools(props: DevtoolsOptions) {
@@ -58,6 +62,7 @@ export default function SolidQueryDevtools(props: DevtoolsOptions) {
58
62
  errorTypes: props.errorTypes,
59
63
  styleNonce: props.styleNonce,
60
64
  shadowDOMTarget: props.shadowDOMTarget,
65
+ hideDisabledQueries: props.hideDisabledQueries,
61
66
  })
62
67
 
63
68
  createEffect(() => {