@tanstack/query-devtools 5.0.0-alpha.84 → 5.0.0-alpha.86
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/cjs/{Devtools-0f2840bd.cjs → Devtools-5eee2153.cjs} +3 -5
- package/dist/cjs/{Devtools-0f2840bd.cjs.map → Devtools-5eee2153.cjs.map} +1 -1
- package/dist/cjs/{index-edbb2275.cjs → index-94a2ab18.cjs} +2 -2
- package/dist/cjs/{index-edbb2275.cjs.map → index-94a2ab18.cjs.map} +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/{Devtools-26de9f2c.js → Devtools-74e35f67.js} +3 -5
- package/dist/esm/{Devtools-26de9f2c.js.map → Devtools-74e35f67.js.map} +1 -1
- package/dist/esm/{index-7c6d68e3.js → index-7b089165.js} +2 -2
- package/dist/esm/{index-7c6d68e3.js.map → index-7b089165.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/source/Devtools.jsx +1 -3
- package/package.json +2 -2
- package/src/Devtools.tsx +1 -3
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { T as TanstackQueryDevtools } from './index-
|
|
1
|
+
export { T as TanstackQueryDevtools } from './index-7b089165.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/source/Devtools.jsx
CHANGED
|
@@ -302,14 +302,12 @@ export const DevtoolsPanel = (props) => {
|
|
|
302
302
|
<div class={styles.actionsContainer}>
|
|
303
303
|
<button onClick={() => {
|
|
304
304
|
if (offline()) {
|
|
305
|
-
onlineManager().setOnline(
|
|
305
|
+
onlineManager().setOnline(true);
|
|
306
306
|
setOffline(false);
|
|
307
|
-
window.dispatchEvent(new Event('online'));
|
|
308
307
|
}
|
|
309
308
|
else {
|
|
310
309
|
onlineManager().setOnline(false);
|
|
311
310
|
setOffline(true);
|
|
312
|
-
window.dispatchEvent(new Event('offline'));
|
|
313
311
|
}
|
|
314
312
|
}} class={styles.actionsBtn} aria-label={`${offline()
|
|
315
313
|
? 'Unset offline mocking behavior'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/query-devtools",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.86",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack Query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"vite-plugin-solid": "^2.5.0",
|
|
47
|
-
"@tanstack/query-core": "5.0.0-alpha.
|
|
47
|
+
"@tanstack/query-core": "5.0.0-alpha.86"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"clean": "rimraf ./dist && rimraf ./coverage",
|
package/src/Devtools.tsx
CHANGED
|
@@ -485,13 +485,11 @@ export const DevtoolsPanel: Component<DevtoolsPanelProps> = (props) => {
|
|
|
485
485
|
<button
|
|
486
486
|
onClick={() => {
|
|
487
487
|
if (offline()) {
|
|
488
|
-
onlineManager().setOnline(
|
|
488
|
+
onlineManager().setOnline(true)
|
|
489
489
|
setOffline(false)
|
|
490
|
-
window.dispatchEvent(new Event('online'))
|
|
491
490
|
} else {
|
|
492
491
|
onlineManager().setOnline(false)
|
|
493
492
|
setOffline(true)
|
|
494
|
-
window.dispatchEvent(new Event('offline'))
|
|
495
493
|
}
|
|
496
494
|
}}
|
|
497
495
|
class={styles.actionsBtn}
|