@tanstack/solid-devtools 0.6.9 → 0.7.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.
@@ -1,3 +1,2 @@
1
- import * as Devtools from './devtools.js';
2
- export declare const TanStackDevtools: (typeof Devtools)['TanStackDevtools'];
1
+ export { TanStackDevtools } from './devtools.js';
3
2
  export type { TanStackDevtoolsSolidPlugin } from './core.js';
package/dist/esm/index.js CHANGED
@@ -1,8 +1,4 @@
1
- import { isDev } from "solid-js/web";
2
- import { TanStackDevtools as TanStackDevtools$1 } from "./devtools.js";
3
- const TanStackDevtools = isDev ? TanStackDevtools$1 : function() {
4
- return null;
5
- };
1
+ import { TanStackDevtools } from "./devtools.js";
6
2
  export {
7
3
  TanStackDevtools
8
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import { isDev } from 'solid-js/web'\nimport * as Devtools from './devtools'\n\nexport const TanStackDevtools: (typeof Devtools)['TanStackDevtools'] = isDev\n ? Devtools.TanStackDevtools\n : function () {\n return null\n }\n\nexport type { TanStackDevtoolsSolidPlugin } from './core'\n"],"names":["Devtools.TanStackDevtools"],"mappings":";;AAGO,MAAM,mBAA0D,QACnEA,qBACA,WAAY;AACV,SAAO;AACT;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/solid-devtools",
3
- "version": "0.6.9",
3
+ "version": "0.7.0",
4
4
  "description": "TanStack Devtools is a set of tools for building advanced devtools for your Solid application.",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -28,12 +28,6 @@
28
28
  "default": "./dist/esm/index.js"
29
29
  }
30
30
  },
31
- "./production": {
32
- "import": {
33
- "types": "./dist/esm/production.d.ts",
34
- "default": "./dist/esm/production.js"
35
- }
36
- },
37
31
  "./package.json": "./package.json"
38
32
  },
39
33
  "sideEffects": false,
@@ -45,7 +39,7 @@
45
39
  "src"
46
40
  ],
47
41
  "dependencies": {
48
- "@tanstack/devtools": "0.6.13"
42
+ "@tanstack/devtools": "0.6.14"
49
43
  },
50
44
  "devDependencies": {
51
45
  "solid-js": "^1.9.7",
package/src/index.ts CHANGED
@@ -1,10 +1,3 @@
1
- import { isDev } from 'solid-js/web'
2
- import * as Devtools from './devtools'
3
-
4
- export const TanStackDevtools: (typeof Devtools)['TanStackDevtools'] = isDev
5
- ? Devtools.TanStackDevtools
6
- : function () {
7
- return null
8
- }
1
+ export { TanStackDevtools } from './devtools'
9
2
 
10
3
  export type { TanStackDevtoolsSolidPlugin } from './core'
@@ -1,3 +0,0 @@
1
- import * as Devtools from './devtools.js';
2
- export declare const TanStackDevtools: (typeof Devtools)['TanStackDevtools'];
3
- export type { TanStackDevtoolsSolidPlugin } from './core.js';
@@ -1,6 +0,0 @@
1
- import { TanStackDevtools as TanStackDevtools$1 } from "./devtools.js";
2
- const TanStackDevtools = TanStackDevtools$1;
3
- export {
4
- TanStackDevtools
5
- };
6
- //# sourceMappingURL=production.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"production.js","sources":["../../src/production.ts"],"sourcesContent":["import * as Devtools from './devtools'\n\nexport const TanStackDevtools: (typeof Devtools)['TanStackDevtools'] =\n Devtools.TanStackDevtools\n\nexport type { TanStackDevtoolsSolidPlugin } from './core'\n"],"names":["Devtools.TanStackDevtools"],"mappings":";AAEO,MAAM,mBACXA;"}
package/src/production.ts DELETED
@@ -1,6 +0,0 @@
1
- import * as Devtools from './devtools'
2
-
3
- export const TanStackDevtools: (typeof Devtools)['TanStackDevtools'] =
4
- Devtools.TanStackDevtools
5
-
6
- export type { TanStackDevtoolsSolidPlugin } from './core'