@valbuild/tanstack 0.150.11 → 0.150.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @valbuild/tanstack
2
2
 
3
+ ## 0.150.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#977](https://github.com/valbuild/val/pull/977) [`55f565e`](https://github.com/valbuild/val/commit/55f565eefe470d1a7cda436d628aec2f7ad61969) Thanks [@freekh](https://github.com/freekh)! - The Studio now shows which versions of Val it runs. Open the Account panel (the button at the foot of the left rail) and click the grey line at the bottom, for example `TanStack · Val 0.150.8`, to see:
8
+
9
+ - what your app's server runs: `@valbuild/next` or `@valbuild/tanstack`, `@valbuild/core` and `@valbuild/server`
10
+ - what the Studio in your browser loaded: `@valbuild/ui`, and the `@valbuild/core` bundled into it
11
+
12
+ **Copy all** puts the list on the clipboard, ready to paste into a bug report. The server's half comes from a new `GET /api/val/versions` route, which needs the same sign-in as the rest of the Studio. If your server's Val is older than the Studio, the list says so and still shows the Studio's half.
13
+
14
+ - Updated dependencies [[`e39a373`](https://github.com/valbuild/val/commit/e39a3730624cbf3a5434d4fb0d13be26f44280db), [`d47537a`](https://github.com/valbuild/val/commit/d47537a40ca7ca0c6a5e7b80f1dfb18791fc5bc1), [`55f565e`](https://github.com/valbuild/val/commit/55f565eefe470d1a7cda436d628aec2f7ad61969)]:
15
+ - @valbuild/ui@0.150.12
16
+ - @valbuild/server@0.150.12
17
+ - @valbuild/shared@0.150.12
18
+ - @valbuild/react@0.150.12
19
+ - @valbuild/language-server@0.150.12
20
+ - @valbuild/mcp@0.150.12
21
+
3
22
  ## 0.150.11
4
23
 
5
24
  ### Patch Changes
@@ -6,7 +6,7 @@ var asyncToGenerator = require('./asyncToGenerator-c3823d62.cjs.dev.js');
6
6
  var _typeof = require('./typeof-dd0246a1.cjs.dev.js');
7
7
  var core = require('@valbuild/core');
8
8
  var stega = require('@valbuild/react/stega');
9
- var version = require('./version-f4d4c3b3.cjs.dev.js');
9
+ var version = require('./version-f59a0392.cjs.dev.js');
10
10
  var internal = require('@valbuild/react/internal');
11
11
  var ui = require('@valbuild/ui');
12
12
  var reactRouter = require('@tanstack/react-router');
@@ -2868,9 +2868,14 @@ function useDemoServer(demo, config, options) {
2868
2868
  retryable: false
2869
2869
  });
2870
2870
  case 2:
2871
- fetch = createInTabValFetch(modules, {
2871
+ fetch = createInTabValFetch(modules, _typeof._objectSpread2({
2872
2872
  config: config
2873
- });
2873
+ }, version.VERSION !== null ? {
2874
+ framework: {
2875
+ name: "tanstack",
2876
+ version: version.VERSION
2877
+ }
2878
+ } : {}));
2874
2879
  _context.n = 3;
2875
2880
  return startDemoRelay(fetch);
2876
2881
  case 3:
@@ -6,7 +6,7 @@ var asyncToGenerator = require('./asyncToGenerator-8e5c36c8.cjs.prod.js');
6
6
  var _typeof = require('./typeof-8998e126.cjs.prod.js');
7
7
  var core = require('@valbuild/core');
8
8
  var stega = require('@valbuild/react/stega');
9
- var version = require('./version-7fc90d7f.cjs.prod.js');
9
+ var version = require('./version-ff23235a.cjs.prod.js');
10
10
  var internal = require('@valbuild/react/internal');
11
11
  var ui = require('@valbuild/ui');
12
12
  var reactRouter = require('@tanstack/react-router');
@@ -2868,9 +2868,14 @@ function useDemoServer(demo, config, options) {
2868
2868
  retryable: false
2869
2869
  });
2870
2870
  case 2:
2871
- fetch = createInTabValFetch(modules, {
2871
+ fetch = createInTabValFetch(modules, _typeof._objectSpread2({
2872
2872
  config: config
2873
- });
2873
+ }, version.VERSION !== null ? {
2874
+ framework: {
2875
+ name: "tanstack",
2876
+ version: version.VERSION
2877
+ }
2878
+ } : {}));
2874
2879
  _context.n = 3;
2875
2880
  return startDemoRelay(fetch);
2876
2881
  case 3:
@@ -5,7 +5,7 @@ import * as core from '@valbuild/core';
5
5
  export { core as expr };
6
6
  export { GenericSelector, Schema, VAL_EXTENSION, derefPatch, modules } from '@valbuild/core';
7
7
  import { stegaEncode, stegaDecodeStrings, attrs, raw, isReactDevelopmentBuild, watchStegaLeaks, stegaLeakMessage, SET_AUTO_TAG_JSX_ENABLED, autoTagJSX } from '@valbuild/react/stega';
8
- import { r as readValEnableCookie, _ as _toConsumableArray, V as VERSION$1 } from './version-714daf1c.esm.js';
8
+ import { r as readValEnableCookie, _ as _toConsumableArray, V as VERSION$1 } from './version-f9ded4cd.esm.js';
9
9
  export { ValRichText } from '@valbuild/react/internal';
10
10
  import { VERSION, VAL_APP_PATH, VAL_OVERLAY_ID, VAL_APP_ID } from '@valbuild/ui';
11
11
  import { useRouter, useRouterState } from '@tanstack/react-router';
@@ -2844,9 +2844,14 @@ function useDemoServer(demo, config, options) {
2844
2844
  retryable: false
2845
2845
  });
2846
2846
  case 2:
2847
- fetch = createInTabValFetch(modules, {
2847
+ fetch = createInTabValFetch(modules, _objectSpread2({
2848
2848
  config: config
2849
- });
2849
+ }, VERSION$1 !== null ? {
2850
+ framework: {
2851
+ name: "tanstack",
2852
+ version: VERSION$1
2853
+ }
2854
+ } : {}));
2850
2855
  _context.n = 3;
2851
2856
  return startDemoRelay(fetch);
2852
2857
  case 3:
@@ -95,7 +95,7 @@ var packageJson = {
95
95
  "tanstack-router",
96
96
  "react"
97
97
  ],
98
- version: "0.150.11",
98
+ version: "0.150.12",
99
99
  scripts: {
100
100
  typecheck: "tsc --noEmit",
101
101
  test: "jest"
@@ -93,7 +93,7 @@ var packageJson = {
93
93
  "tanstack-router",
94
94
  "react"
95
95
  ],
96
- version: "0.150.11",
96
+ version: "0.150.12",
97
97
  scripts: {
98
98
  typecheck: "tsc --noEmit",
99
99
  test: "jest"
@@ -95,7 +95,7 @@ var packageJson = {
95
95
  "tanstack-router",
96
96
  "react"
97
97
  ],
98
- version: "0.150.11",
98
+ version: "0.150.12",
99
99
  scripts: {
100
100
  typecheck: "tsc --noEmit",
101
101
  test: "jest"
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "tanstack-router",
15
15
  "react"
16
16
  ],
17
- "version": "0.150.11",
17
+ "version": "0.150.12",
18
18
  "main": "dist/valbuild-tanstack.cjs.js",
19
19
  "module": "dist/valbuild-tanstack.esm.js",
20
20
  "exports": {
@@ -53,12 +53,12 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@valbuild/core": "0.150.3",
56
- "@valbuild/mcp": "0.150.11",
57
- "@valbuild/language-server": "0.150.11",
58
- "@valbuild/react": "0.150.11",
59
- "@valbuild/server": "0.150.11",
60
- "@valbuild/shared": "0.150.11",
61
- "@valbuild/ui": "0.150.11"
56
+ "@valbuild/language-server": "0.150.12",
57
+ "@valbuild/mcp": "0.150.12",
58
+ "@valbuild/react": "0.150.12",
59
+ "@valbuild/server": "0.150.12",
60
+ "@valbuild/shared": "0.150.12",
61
+ "@valbuild/ui": "0.150.12"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@tanstack/react-router": "^1.170.41",
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = require('../../dist/version-f4d4c3b3.cjs.dev.js');
5
+ var version = require('../../dist/version-f59a0392.cjs.dev.js');
6
6
  var asyncToGenerator = require('../../dist/asyncToGenerator-c3823d62.cjs.dev.js');
7
7
  var core = require('@valbuild/core');
8
8
  var _typeof = require('../../dist/typeof-dd0246a1.cjs.dev.js');
@@ -217,7 +217,8 @@ var initValApiHandler = function initValApiHandler(valModules, config, draftMode
217
217
  * nothing reads.
218
218
  */
219
219
  next: tanstackVersion,
220
- core: coreVersion
220
+ core: coreVersion,
221
+ framework: "tanstack"
221
222
  }
222
223
  }, config), sourceFiles !== undefined ? {
223
224
  sourceFiles: sourceFiles
@@ -1641,7 +1642,8 @@ function initValContent(config, valModules, opts) {
1641
1642
  versions: {
1642
1643
  // `next` is the field name in the wire contract; see initValServer.
1643
1644
  next: tanstackVersion,
1644
- core: coreVersion
1645
+ core: coreVersion,
1646
+ framework: "tanstack"
1645
1647
  }
1646
1648
  }, config), (opts === null || opts === void 0 ? void 0 : opts.sourceFiles) !== undefined ? {
1647
1649
  sourceFiles: opts.sourceFiles
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = require('../../dist/version-7fc90d7f.cjs.prod.js');
5
+ var version = require('../../dist/version-ff23235a.cjs.prod.js');
6
6
  var asyncToGenerator = require('../../dist/asyncToGenerator-8e5c36c8.cjs.prod.js');
7
7
  var core = require('@valbuild/core');
8
8
  var _typeof = require('../../dist/typeof-8998e126.cjs.prod.js');
@@ -217,7 +217,8 @@ var initValApiHandler = function initValApiHandler(valModules, config, draftMode
217
217
  * nothing reads.
218
218
  */
219
219
  next: tanstackVersion,
220
- core: coreVersion
220
+ core: coreVersion,
221
+ framework: "tanstack"
221
222
  }
222
223
  }, config), sourceFiles !== undefined ? {
223
224
  sourceFiles: sourceFiles
@@ -1641,7 +1642,8 @@ function initValContent(config, valModules, opts) {
1641
1642
  versions: {
1642
1643
  // `next` is the field name in the wire contract; see initValServer.
1643
1644
  next: tanstackVersion,
1644
- core: coreVersion
1645
+ core: coreVersion,
1646
+ framework: "tanstack"
1645
1647
  }
1646
1648
  }, config), (opts === null || opts === void 0 ? void 0 : opts.sourceFiles) !== undefined ? {
1647
1649
  sourceFiles: opts.sourceFiles
@@ -1,4 +1,4 @@
1
- import { V as VERSION, _ as _toConsumableArray, s as setValEnableCookieReader } from '../../dist/version-714daf1c.esm.js';
1
+ import { V as VERSION, _ as _toConsumableArray, s as setValEnableCookieReader } from '../../dist/version-f9ded4cd.esm.js';
2
2
  import { _ as _asyncToGenerator, a as _regenerator } from '../../dist/asyncToGenerator-500f022f.esm.js';
3
3
  import { Internal } from '@valbuild/core';
4
4
  import { _ as _objectSpread2, a as _slicedToArray, b as _createForOfIteratorHelper, g as _defineProperty, c as _typeof } from '../../dist/typeof-66e2d869.esm.js';
@@ -196,7 +196,8 @@ var initValApiHandler = function initValApiHandler(valModules, config, draftMode
196
196
  * nothing reads.
197
197
  */
198
198
  next: tanstackVersion,
199
- core: coreVersion
199
+ core: coreVersion,
200
+ framework: "tanstack"
200
201
  }
201
202
  }, config), sourceFiles !== undefined ? {
202
203
  sourceFiles: sourceFiles
@@ -1620,7 +1621,8 @@ function initValContent(config, valModules, opts) {
1620
1621
  versions: {
1621
1622
  // `next` is the field name in the wire contract; see initValServer.
1622
1623
  next: tanstackVersion,
1623
- core: coreVersion
1624
+ core: coreVersion,
1625
+ framework: "tanstack"
1624
1626
  }
1625
1627
  }, config), (opts === null || opts === void 0 ? void 0 : opts.sourceFiles) !== undefined ? {
1626
1628
  sourceFiles: opts.sourceFiles