@tanstack/devtools 0.6.11 → 0.6.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/dist/dev.js
CHANGED
|
@@ -29,7 +29,7 @@ var TanStackDevtoolsCore = class {
|
|
|
29
29
|
const mountTo = el;
|
|
30
30
|
const dispose = render(() => {
|
|
31
31
|
const _self$ = this;
|
|
32
|
-
this.#Component = lazy(() => import('./devtools/
|
|
32
|
+
this.#Component = lazy(() => import('./devtools/73UYH4PF.js'));
|
|
33
33
|
const Devtools = this.#Component;
|
|
34
34
|
this.#eventBus = new ClientEventBus(this.#eventBusConfig);
|
|
35
35
|
this.#eventBus.start();
|
|
@@ -1649,7 +1649,7 @@ function DevTools() {
|
|
|
1649
1649
|
if (dataSource) {
|
|
1650
1650
|
e.preventDefault();
|
|
1651
1651
|
e.stopPropagation();
|
|
1652
|
-
fetch(
|
|
1652
|
+
fetch(`${location.origin}/__tsd/open-source?source=${encodeURIComponent(dataSource)}`).catch(() => {
|
|
1653
1653
|
});
|
|
1654
1654
|
}
|
|
1655
1655
|
}
|
|
@@ -1943,7 +1943,7 @@ function DevTools() {
|
|
|
1943
1943
|
if (dataSource) {
|
|
1944
1944
|
e.preventDefault();
|
|
1945
1945
|
e.stopPropagation();
|
|
1946
|
-
fetch(
|
|
1946
|
+
fetch(`${location.origin}/__tsd/open-source?source=${encodeURIComponent(dataSource)}`).catch(() => {
|
|
1947
1947
|
});
|
|
1948
1948
|
}
|
|
1949
1949
|
}
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var TanStackDevtoolsCore = class {
|
|
|
29
29
|
const mountTo = el;
|
|
30
30
|
const dispose = render(() => {
|
|
31
31
|
const _self$ = this;
|
|
32
|
-
this.#Component = lazy(() => import('./devtools/
|
|
32
|
+
this.#Component = lazy(() => import('./devtools/73UYH4PF.js'));
|
|
33
33
|
const Devtools = this.#Component;
|
|
34
34
|
this.#eventBus = new ClientEventBus(this.#eventBusConfig);
|
|
35
35
|
this.#eventBus.start();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/devtools",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12",
|
|
4
4
|
"description": "TanStack Devtools is a set of tools for building advanced devtools for your application.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"goober": "^2.1.16",
|
|
51
51
|
"solid-js": "^1.9.7",
|
|
52
52
|
"@tanstack/devtools-event-bus": "0.3.2",
|
|
53
|
-
"@tanstack/devtools-ui": "0.3.
|
|
53
|
+
"@tanstack/devtools-ui": "0.3.5"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"solid-js": ">=1.9.7"
|
package/src/devtools.tsx
CHANGED
|
@@ -174,7 +174,9 @@ export default function DevTools() {
|
|
|
174
174
|
e.preventDefault()
|
|
175
175
|
e.stopPropagation()
|
|
176
176
|
fetch(
|
|
177
|
-
|
|
177
|
+
`${location.origin}/__tsd/open-source?source=${encodeURIComponent(
|
|
178
|
+
dataSource,
|
|
179
|
+
)}`,
|
|
178
180
|
).catch(() => {})
|
|
179
181
|
}
|
|
180
182
|
}
|