@tanstack/react-query-devtools 5.0.0-alpha.10 → 5.0.0-alpha.12
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/devtools.esm.js +1 -0
- package/build/lib/devtools.esm.js.map +1 -1
- package/build/lib/devtools.js +1 -0
- package/build/lib/devtools.js.map +1 -1
- package/build/lib/devtools.mjs +1 -0
- package/build/lib/devtools.mjs.map +1 -1
- package/build/lib/index.prod.esm.js +1 -0
- package/build/lib/index.prod.esm.js.map +1 -1
- package/build/lib/index.prod.js +1 -0
- package/build/lib/index.prod.js.map +1 -1
- package/build/lib/index.prod.mjs +1 -0
- package/build/lib/index.prod.mjs.map +1 -1
- package/build/umd/index.development.js +1 -0
- package/build/umd/index.development.js.map +1 -1
- package/package.json +3 -3
- package/src/__tests__/devtools.test.tsx +26 -1
- package/src/devtools.tsx +1 -0
package/build/lib/index.prod.mjs
CHANGED
|
@@ -1086,6 +1086,7 @@ const ReactQueryDevtoolsPanel$1 = /*#__PURE__*/React.forwardRef(function ReactQu
|
|
|
1086
1086
|
} else {
|
|
1087
1087
|
onlineManager.setOnline(false);
|
|
1088
1088
|
setMockOffline(true);
|
|
1089
|
+
window.dispatchEvent(new Event('offline'));
|
|
1089
1090
|
}
|
|
1090
1091
|
},
|
|
1091
1092
|
"aria-label": isMockOffline ? 'Restore offline mock' : 'Mock offline behavior',
|