@tanstack/solid-query-devtools 5.9.0 → 5.12.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/package.json +4 -4
- package/src/devtools.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/solid-query-devtools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.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",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"src"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@tanstack/query-devtools": "5.
|
|
41
|
+
"@tanstack/query-devtools": "5.12.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"solid-js": "^1.8.1",
|
|
45
|
-
"@tanstack/solid-query": "^5.
|
|
45
|
+
"@tanstack/solid-query": "^5.12.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"solid-js": "^1.8.1",
|
|
49
49
|
"tsup-preset-solid": "^2.1.0",
|
|
50
50
|
"vite-plugin-solid": "^2.7.2",
|
|
51
|
-
"@tanstack/solid-query": "^5.
|
|
51
|
+
"@tanstack/solid-query": "^5.12.0"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"clean": "rimraf ./build && rimraf ./coverage",
|
package/src/devtools.tsx
CHANGED
|
@@ -19,7 +19,7 @@ import type {
|
|
|
19
19
|
import type { QueryClient } from '@tanstack/solid-query'
|
|
20
20
|
import type { Component, ComponentProps, JSX } from 'solid-js'
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
interface DevtoolsOptions {
|
|
23
23
|
/**
|
|
24
24
|
* Set this true if you want the dev tools to default to being open
|
|
25
25
|
*/
|
|
@@ -100,7 +100,7 @@ export default function SolidQueryDevtools(props: DevtoolsOptions) {
|
|
|
100
100
|
return <div class="tsqd-parent-container" ref={ref}></div>
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
/*
|
|
103
|
+
/*
|
|
104
104
|
This function has been taken from solid-start's codebase
|
|
105
105
|
This allows the devtools to be loaded only on the client and bypasses any server side rendering
|
|
106
106
|
https://github.com/solidjs/solid-start/blob/2967fc2db3f0df826f061020231dbdafdfa0746b/packages/start/islands/clientOnly.tsx
|