@valbuild/tanstack 0.126.0 → 0.127.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @valbuild/tanstack
2
2
 
3
+ ## 0.127.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`7fa8699`](https://github.com/valbuild/val/commit/7fa869974bc895af992a7d5c18b76253636d7d65), [`600308d`](https://github.com/valbuild/val/commit/600308d0174990ad9f5c417147d160273489c65a), [`5b7fe05`](https://github.com/valbuild/val/commit/5b7fe05cec6365f9cd1de9ba31e65ed4a87edb63), [`88262ac`](https://github.com/valbuild/val/commit/88262ac8db068650a664981ef73556457d87741a), [`7072e07`](https://github.com/valbuild/val/commit/7072e07623c953a09ac14388ae22dada0b431ce3), [`29811c3`](https://github.com/valbuild/val/commit/29811c3f8c7e001a950e6f4833af6888e6a4efea), [`9983116`](https://github.com/valbuild/val/commit/99831164c5151aad7ca69de79e1d0d59878be251)]:
8
+ - @valbuild/core@0.127.0
9
+ - @valbuild/shared@0.127.0
10
+ - @valbuild/ui@0.127.0
11
+ - @valbuild/server@0.127.0
12
+ - @valbuild/react@0.127.0
13
+ - @valbuild/language-server@0.127.0
14
+ - @valbuild/mcp@0.127.0
15
+
3
16
  ## 0.126.0
4
17
 
5
18
  ### Patch Changes
@@ -6,7 +6,7 @@ var routeFromVal = require('../../dist/routeFromVal-a9147ceb.cjs.dev.js');
6
6
  var core = require('@valbuild/core');
7
7
  var stega = require('@valbuild/react/stega');
8
8
  var React = require('react');
9
- var ValOverlayContext = require('../../dist/ValOverlayContext-d3bfacb1.cjs.dev.js');
9
+ var ValOverlayContext = require('../../dist/ValOverlayContext-3ec15518.cjs.dev.js');
10
10
  require('../../dist/createForOfIteratorHelper-e75681d7.cjs.dev.js');
11
11
  require('@valbuild/shared/client');
12
12
  require('@valbuild/core/patch');
@@ -6,7 +6,7 @@ var routeFromVal = require('../../dist/routeFromVal-6693e037.cjs.prod.js');
6
6
  var core = require('@valbuild/core');
7
7
  var stega = require('@valbuild/react/stega');
8
8
  var React = require('react');
9
- var ValOverlayContext = require('../../dist/ValOverlayContext-abd6ab9a.cjs.prod.js');
9
+ var ValOverlayContext = require('../../dist/ValOverlayContext-5f1d8da4.cjs.prod.js');
10
10
  require('../../dist/createForOfIteratorHelper-0324e063.cjs.prod.js');
11
11
  require('@valbuild/shared/client');
12
12
  require('@valbuild/core/patch');
@@ -2,7 +2,7 @@ import { g as getJsonEntryStegaRoot, _ as _typeof, i as isJsonValuesRecordSchema
2
2
  import { Internal } from '@valbuild/core';
3
3
  import { getModuleIds, stegaEncode } from '@valbuild/react/stega';
4
4
  import React from 'react';
5
- import { u as useValOverlayContext } from '../../dist/ValOverlayContext-87cb022d.esm.js';
5
+ import { u as useValOverlayContext } from '../../dist/ValOverlayContext-5bc3830f.esm.js';
6
6
  import '../../dist/createForOfIteratorHelper-485c2ce1.esm.js';
7
7
  import '@valbuild/shared/client';
8
8
  import '@valbuild/core/patch';
@@ -27,20 +27,22 @@ function _createClass(e, r, t) {
27
27
 
28
28
  var LOAD_TIMEOUT_MS = 10000;
29
29
  var ValExternalStore = /*#__PURE__*/function () {
30
- // Path-keyed cache of every source seen via update(). The single source of
31
- // truth: load state and snapshots are both derived from this, so data can be
32
- // queried for any combination of paths even before a subscriber registers.
33
-
34
- // Reference-stable per-subscriberId snapshot cache for useSyncExternalStore.
35
- // Built lazily from loadedSources in get() and invalidated in update().
36
-
37
- // One-shot listeners used solely by waitForLoad. Kept separate from the
38
- // useSyncExternalStore listeners so waitForLoad never has to register (and
39
- // leak) a subscriberId.
40
-
41
30
  function ValExternalStore() {
42
31
  var _this = this;
43
32
  _classCallCheck(this, ValExternalStore);
33
+ createForOfIteratorHelper._defineProperty(this, "listeners", void 0);
34
+ createForOfIteratorHelper._defineProperty(this, "loadPromises", void 0);
35
+ // Path-keyed cache of every source seen via update(). The single source of
36
+ // truth: load state and snapshots are both derived from this, so data can be
37
+ // queried for any combination of paths even before a subscriber registers.
38
+ createForOfIteratorHelper._defineProperty(this, "loadedSources", void 0);
39
+ // Reference-stable per-subscriberId snapshot cache for useSyncExternalStore.
40
+ // Built lazily from loadedSources in get() and invalidated in update().
41
+ createForOfIteratorHelper._defineProperty(this, "snapshots", void 0);
42
+ // One-shot listeners used solely by waitForLoad. Kept separate from the
43
+ // useSyncExternalStore listeners so waitForLoad never has to register (and
44
+ // leak) a subscriberId.
45
+ createForOfIteratorHelper._defineProperty(this, "loadListeners", void 0);
44
46
  createForOfIteratorHelper._defineProperty(this, "subscribe", function (paths) {
45
47
  return function (listener) {
46
48
  var subscriberId = createSubscriberId(paths);
@@ -21,20 +21,22 @@ function _createClass(e, r, t) {
21
21
 
22
22
  var LOAD_TIMEOUT_MS = 10000;
23
23
  var ValExternalStore = /*#__PURE__*/function () {
24
- // Path-keyed cache of every source seen via update(). The single source of
25
- // truth: load state and snapshots are both derived from this, so data can be
26
- // queried for any combination of paths even before a subscriber registers.
27
-
28
- // Reference-stable per-subscriberId snapshot cache for useSyncExternalStore.
29
- // Built lazily from loadedSources in get() and invalidated in update().
30
-
31
- // One-shot listeners used solely by waitForLoad. Kept separate from the
32
- // useSyncExternalStore listeners so waitForLoad never has to register (and
33
- // leak) a subscriberId.
34
-
35
24
  function ValExternalStore() {
36
25
  var _this = this;
37
26
  _classCallCheck(this, ValExternalStore);
27
+ _defineProperty(this, "listeners", void 0);
28
+ _defineProperty(this, "loadPromises", void 0);
29
+ // Path-keyed cache of every source seen via update(). The single source of
30
+ // truth: load state and snapshots are both derived from this, so data can be
31
+ // queried for any combination of paths even before a subscriber registers.
32
+ _defineProperty(this, "loadedSources", void 0);
33
+ // Reference-stable per-subscriberId snapshot cache for useSyncExternalStore.
34
+ // Built lazily from loadedSources in get() and invalidated in update().
35
+ _defineProperty(this, "snapshots", void 0);
36
+ // One-shot listeners used solely by waitForLoad. Kept separate from the
37
+ // useSyncExternalStore listeners so waitForLoad never has to register (and
38
+ // leak) a subscriberId.
39
+ _defineProperty(this, "loadListeners", void 0);
38
40
  _defineProperty(this, "subscribe", function (paths) {
39
41
  return function (listener) {
40
42
  var subscriberId = createSubscriberId(paths);
@@ -27,20 +27,22 @@ function _createClass(e, r, t) {
27
27
 
28
28
  var LOAD_TIMEOUT_MS = 10000;
29
29
  var ValExternalStore = /*#__PURE__*/function () {
30
- // Path-keyed cache of every source seen via update(). The single source of
31
- // truth: load state and snapshots are both derived from this, so data can be
32
- // queried for any combination of paths even before a subscriber registers.
33
-
34
- // Reference-stable per-subscriberId snapshot cache for useSyncExternalStore.
35
- // Built lazily from loadedSources in get() and invalidated in update().
36
-
37
- // One-shot listeners used solely by waitForLoad. Kept separate from the
38
- // useSyncExternalStore listeners so waitForLoad never has to register (and
39
- // leak) a subscriberId.
40
-
41
30
  function ValExternalStore() {
42
31
  var _this = this;
43
32
  _classCallCheck(this, ValExternalStore);
33
+ createForOfIteratorHelper._defineProperty(this, "listeners", void 0);
34
+ createForOfIteratorHelper._defineProperty(this, "loadPromises", void 0);
35
+ // Path-keyed cache of every source seen via update(). The single source of
36
+ // truth: load state and snapshots are both derived from this, so data can be
37
+ // queried for any combination of paths even before a subscriber registers.
38
+ createForOfIteratorHelper._defineProperty(this, "loadedSources", void 0);
39
+ // Reference-stable per-subscriberId snapshot cache for useSyncExternalStore.
40
+ // Built lazily from loadedSources in get() and invalidated in update().
41
+ createForOfIteratorHelper._defineProperty(this, "snapshots", void 0);
42
+ // One-shot listeners used solely by waitForLoad. Kept separate from the
43
+ // useSyncExternalStore listeners so waitForLoad never has to register (and
44
+ // leak) a subscriberId.
45
+ createForOfIteratorHelper._defineProperty(this, "loadListeners", void 0);
44
46
  createForOfIteratorHelper._defineProperty(this, "subscribe", function (paths) {
45
47
  return function (listener) {
46
48
  var subscriberId = createSubscriberId(paths);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = require('./version-1a220586.cjs.dev.js');
5
+ var version = require('./version-1d7d58dd.cjs.dev.js');
6
6
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-e75681d7.cjs.dev.js');
7
7
  var core = require('@valbuild/core');
8
8
  var stega = require('@valbuild/react/stega');
@@ -10,7 +10,7 @@ var internal = require('@valbuild/react/internal');
10
10
  var ui = require('@valbuild/ui');
11
11
  var reactRouter = require('@tanstack/react-router');
12
12
  var React = require('react');
13
- var ValOverlayContext = require('./ValOverlayContext-d3bfacb1.cjs.dev.js');
13
+ var ValOverlayContext = require('./ValOverlayContext-3ec15518.cjs.dev.js');
14
14
  var client = require('@valbuild/shared/client');
15
15
  var jsxRuntime = require('react/jsx-runtime');
16
16
  require('@valbuild/core/patch');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = require('./version-1837c67c.cjs.prod.js');
5
+ var version = require('./version-45fbda6b.cjs.prod.js');
6
6
  var createForOfIteratorHelper = require('./createForOfIteratorHelper-0324e063.cjs.prod.js');
7
7
  var core = require('@valbuild/core');
8
8
  var stega = require('@valbuild/react/stega');
@@ -10,7 +10,7 @@ var internal = require('@valbuild/react/internal');
10
10
  var ui = require('@valbuild/ui');
11
11
  var reactRouter = require('@tanstack/react-router');
12
12
  var React = require('react');
13
- var ValOverlayContext = require('./ValOverlayContext-abd6ab9a.cjs.prod.js');
13
+ var ValOverlayContext = require('./ValOverlayContext-5f1d8da4.cjs.prod.js');
14
14
  var client = require('@valbuild/shared/client');
15
15
  var jsxRuntime = require('react/jsx-runtime');
16
16
  require('@valbuild/core/patch');
@@ -1,4 +1,4 @@
1
- import { _ as _asyncToGenerator, a as _regenerator, V as VERSION$1 } from './version-a7a1374a.esm.js';
1
+ import { _ as _asyncToGenerator, a as _regenerator, V as VERSION$1 } from './version-2dce2e6e.esm.js';
2
2
  import { _ as _objectSpread2, a as _slicedToArray, b as _createForOfIteratorHelper } from './createForOfIteratorHelper-485c2ce1.esm.js';
3
3
  import { Internal as Internal$1, initVal as initVal$1, DEFAULT_CONTENT_HOST } from '@valbuild/core';
4
4
  import * as core from '@valbuild/core';
@@ -9,7 +9,7 @@ export { ValRichText } from '@valbuild/react/internal';
9
9
  import { VERSION, VAL_APP_PATH, VAL_OVERLAY_ID, VAL_APP_ID } from '@valbuild/ui';
10
10
  import { useRouter, useRouterState } from '@tanstack/react-router';
11
11
  import React, { useEffect, useState, useRef } from 'react';
12
- import { V as ValExternalStore, a as ValOverlayProvider } from './ValOverlayContext-87cb022d.esm.js';
12
+ import { V as ValExternalStore, a as ValOverlayProvider } from './ValOverlayContext-5bc3830f.esm.js';
13
13
  import { VAL_CONFIG_SESSION_STORAGE_KEY, VAL_THEME_SESSION_STORAGE_KEY, VAL_CANVAS_MESSAGE, isValCanvasStudioMessage, isValCanvasFrame } from '@valbuild/shared/client';
14
14
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
15
15
  import '@valbuild/core/patch';
@@ -152,7 +152,7 @@ var packageJson = {
152
152
  "tanstack-router",
153
153
  "react"
154
154
  ],
155
- version: "0.126.0",
155
+ version: "0.127.0",
156
156
  scripts: {
157
157
  typecheck: "tsc --noEmit",
158
158
  test: "jest"
@@ -150,7 +150,7 @@ var packageJson = {
150
150
  "tanstack-router",
151
151
  "react"
152
152
  ],
153
- version: "0.126.0",
153
+ version: "0.127.0",
154
154
  scripts: {
155
155
  typecheck: "tsc --noEmit",
156
156
  test: "jest"
@@ -152,7 +152,7 @@ var packageJson = {
152
152
  "tanstack-router",
153
153
  "react"
154
154
  ],
155
- version: "0.126.0",
155
+ version: "0.127.0",
156
156
  scripts: {
157
157
  typecheck: "tsc --noEmit",
158
158
  test: "jest"
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "tanstack-router",
15
15
  "react"
16
16
  ],
17
- "version": "0.126.0",
17
+ "version": "0.127.0",
18
18
  "main": "dist/valbuild-tanstack.cjs.js",
19
19
  "module": "dist/valbuild-tanstack.esm.js",
20
20
  "exports": {
@@ -42,13 +42,13 @@
42
42
  "exports": true
43
43
  },
44
44
  "dependencies": {
45
- "@valbuild/core": "0.126.0",
46
- "@valbuild/language-server": "0.126.0",
47
- "@valbuild/mcp": "0.126.0",
48
- "@valbuild/react": "0.126.0",
49
- "@valbuild/shared": "0.126.0",
50
- "@valbuild/server": "0.126.0",
51
- "@valbuild/ui": "0.126.0"
45
+ "@valbuild/language-server": "0.127.0",
46
+ "@valbuild/mcp": "0.127.0",
47
+ "@valbuild/react": "0.127.0",
48
+ "@valbuild/server": "0.127.0",
49
+ "@valbuild/core": "0.127.0",
50
+ "@valbuild/ui": "0.127.0",
51
+ "@valbuild/shared": "0.127.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@tanstack/react-router": "^1.170.33",
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-e75681d7.cjs.dev.js');
6
6
  var core = require('@valbuild/core');
7
7
  var server = require('@valbuild/server');
8
- var version = require('../../dist/version-1a220586.cjs.dev.js');
8
+ var version = require('../../dist/version-1d7d58dd.cjs.dev.js');
9
9
  var routeFromVal = require('../../dist/routeFromVal-a9147ceb.cjs.dev.js');
10
10
  var stega = require('@valbuild/react/stega');
11
11
  var internal = require('@valbuild/shared/internal');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-0324e063.cjs.prod.js');
6
6
  var core = require('@valbuild/core');
7
7
  var server = require('@valbuild/server');
8
- var version = require('../../dist/version-1837c67c.cjs.prod.js');
8
+ var version = require('../../dist/version-45fbda6b.cjs.prod.js');
9
9
  var routeFromVal = require('../../dist/routeFromVal-6693e037.cjs.prod.js');
10
10
  var stega = require('@valbuild/react/stega');
11
11
  var internal = require('@valbuild/shared/internal');
@@ -1,7 +1,7 @@
1
1
  import { _ as _objectSpread2, a as _slicedToArray, d as _defineProperty } from '../../dist/createForOfIteratorHelper-485c2ce1.esm.js';
2
2
  import { Internal } from '@valbuild/core';
3
3
  import { createValApiRouter, createValServer } from '@valbuild/server';
4
- import { _ as _asyncToGenerator, a as _regenerator, V as VERSION } from '../../dist/version-a7a1374a.esm.js';
4
+ import { _ as _asyncToGenerator, a as _regenerator, V as VERSION } from '../../dist/version-2dce2e6e.esm.js';
5
5
  import { b as initValRouteFromVal, g as getJsonEntryStegaRoot, i as isJsonValuesRecordSchema, a as getValRouteUrlFromVal, _ as _typeof } from '../../dist/routeFromVal-728295a0.esm.js';
6
6
  import { stegaEncode, SET_AUTO_TAG_JSX_ENABLED } from '@valbuild/react/stega';
7
7
  import { VAL_SESSION_COOKIE } from '@valbuild/shared/internal';