@tanstack/devtools 0.10.11 → 0.10.13
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/dev.js +1 -1
- package/dist/devtools/{NTZWLI2C.js → 7Z2ESJHO.js} +1 -1
- package/dist/devtools/{AHAZGWBE.js → W6LG6674.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/mount-impl/{22DJOLY6.js → EMNOPRXX.js} +1 -1
- package/dist/mount-impl/{E4RX7DUJ.js → Z6LKUI5N.js} +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/src/components/source-inspector.tsx +1 -1
package/dist/dev.js
CHANGED
|
@@ -29,7 +29,7 @@ var TanStackDevtoolsCore = class {
|
|
|
29
29
|
}
|
|
30
30
|
this.#isMounting = true;
|
|
31
31
|
this.#abortMount = false;
|
|
32
|
-
import('./mount-impl/
|
|
32
|
+
import('./mount-impl/Z6LKUI5N.js').then(({ mountDevtools }) => {
|
|
33
33
|
if (this.#abortMount) {
|
|
34
34
|
this.#isMounting = false;
|
|
35
35
|
return;
|
|
@@ -3553,7 +3553,7 @@ var SourceInspector = () => {
|
|
|
3553
3553
|
window.getSelection()?.removeAllRanges();
|
|
3554
3554
|
e.preventDefault();
|
|
3555
3555
|
e.stopPropagation();
|
|
3556
|
-
const baseUrl = new URL(import.meta
|
|
3556
|
+
const baseUrl = new URL(import.meta.env?.BASE_URL ?? "/", location.origin);
|
|
3557
3557
|
const url = new URL(`__tsd/open-source?source=${encodeURIComponent(highlightState.dataSource)}`, baseUrl);
|
|
3558
3558
|
fetch(url).catch(() => {
|
|
3559
3559
|
});
|
|
@@ -4091,7 +4091,7 @@ var SourceInspector = () => {
|
|
|
4091
4091
|
window.getSelection()?.removeAllRanges();
|
|
4092
4092
|
e.preventDefault();
|
|
4093
4093
|
e.stopPropagation();
|
|
4094
|
-
const baseUrl = new URL(import.meta
|
|
4094
|
+
const baseUrl = new URL(import.meta.env?.BASE_URL ?? "/", location.origin);
|
|
4095
4095
|
const url = new URL(`__tsd/open-source?source=${encodeURIComponent(highlightState.dataSource)}`, baseUrl);
|
|
4096
4096
|
fetch(url).catch(() => {
|
|
4097
4097
|
});
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var TanStackDevtoolsCore = class {
|
|
|
29
29
|
}
|
|
30
30
|
this.#isMounting = true;
|
|
31
31
|
this.#abortMount = false;
|
|
32
|
-
import('./mount-impl/
|
|
32
|
+
import('./mount-impl/Z6LKUI5N.js').then(({ mountDevtools }) => {
|
|
33
33
|
if (this.#abortMount) {
|
|
34
34
|
this.#isMounting = false;
|
|
35
35
|
return;
|
|
@@ -14,7 +14,7 @@ function mountDevtools(options) {
|
|
|
14
14
|
} = options;
|
|
15
15
|
const eventBus = new ClientEventBus(eventBusConfig);
|
|
16
16
|
eventBus.start();
|
|
17
|
-
const Devtools = lazy(() => import('../devtools/
|
|
17
|
+
const Devtools = lazy(() => import('../devtools/7Z2ESJHO.js'));
|
|
18
18
|
const dispose = render(() => createComponent(DevtoolsProvider, {
|
|
19
19
|
plugins,
|
|
20
20
|
config,
|
|
@@ -14,7 +14,7 @@ function mountDevtools(options) {
|
|
|
14
14
|
} = options;
|
|
15
15
|
const eventBus = new ClientEventBus(eventBusConfig);
|
|
16
16
|
eventBus.start();
|
|
17
|
-
const Devtools = lazy(() => import('../devtools/
|
|
17
|
+
const Devtools = lazy(() => import('../devtools/W6LG6674.js'));
|
|
18
18
|
const dispose = render(() => createComponent(DevtoolsProvider, {
|
|
19
19
|
plugins,
|
|
20
20
|
config,
|
package/dist/server.js
CHANGED
|
@@ -29,7 +29,7 @@ var TanStackDevtoolsCore = class {
|
|
|
29
29
|
}
|
|
30
30
|
this.#isMounting = true;
|
|
31
31
|
this.#abortMount = false;
|
|
32
|
-
import('./mount-impl/
|
|
32
|
+
import('./mount-impl/EMNOPRXX.js').then(({ mountDevtools }) => {
|
|
33
33
|
if (this.#abortMount) {
|
|
34
34
|
this.#isMounting = false;
|
|
35
35
|
return;
|
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ export const SourceInspector = () => {
|
|
|
80
80
|
e.stopPropagation()
|
|
81
81
|
|
|
82
82
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
83
|
-
const baseUrl = new URL(import.meta
|
|
83
|
+
const baseUrl = new URL(import.meta.env?.BASE_URL ?? '/', location.origin)
|
|
84
84
|
const url = new URL(
|
|
85
85
|
`__tsd/open-source?source=${encodeURIComponent(
|
|
86
86
|
highlightState.dataSource,
|