@valbuild/server 0.151.0 → 0.152.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/browser/dist/valbuild-server-browser.cjs.dev.js +2 -2
  3. package/browser/dist/valbuild-server-browser.cjs.prod.js +2 -2
  4. package/browser/dist/valbuild-server-browser.esm.js +2 -2
  5. package/dist/{ValRouter-2827d620.esm.js → ValRouter-05fcb0da.esm.js} +218 -44
  6. package/dist/{ValRouter-ca467c83.cjs.dev.js → ValRouter-afcba447.cjs.dev.js} +217 -43
  7. package/dist/{ValRouter-d43e0a33.cjs.prod.js → ValRouter-b4e5b412.cjs.prod.js} +217 -43
  8. package/dist/{ValRouterCore-eb1f53f5.cjs.prod.js → ValRouterCore-a0ea46bf.cjs.prod.js} +47 -4
  9. package/dist/{ValRouterCore-6c29fb75.esm.js → ValRouterCore-b5d70504.esm.js} +47 -4
  10. package/dist/{ValRouterCore-0921fe9c.cjs.dev.js → ValRouterCore-d16c3327.cjs.dev.js} +47 -4
  11. package/dist/declarations/src/ValOps.d.ts +20 -2
  12. package/dist/{inTabFetch-35cf5698.cjs.prod.js → inTabFetch-095bb2be.cjs.prod.js} +1 -1
  13. package/dist/{inTabFetch-49db354b.cjs.dev.js → inTabFetch-2cbbfaa4.cjs.dev.js} +1 -1
  14. package/dist/{inTabFetch-0cd45721.esm.js → inTabFetch-91c3e85e.esm.js} +1 -1
  15. package/dist/{publishKit-3afe011d.cjs.dev.js → publishKit-4e2b0014.cjs.dev.js} +2 -2
  16. package/dist/{publishKit-24e1406b.cjs.prod.js → publishKit-6e52ffa6.cjs.prod.js} +2 -2
  17. package/dist/{publishKit-d2e3e44d.esm.js → publishKit-af14cd7a.esm.js} +3 -3
  18. package/dist/valbuild-server.cjs.dev.js +2 -2
  19. package/dist/valbuild-server.cjs.prod.js +2 -2
  20. package/dist/valbuild-server.esm.js +4 -4
  21. package/internal/browser/dist/valbuild-server-internal-browser.cjs.dev.js +2 -2
  22. package/internal/browser/dist/valbuild-server-internal-browser.cjs.prod.js +2 -2
  23. package/internal/browser/dist/valbuild-server-internal-browser.esm.js +2 -2
  24. package/internal/dist/valbuild-server-internal.cjs.dev.js +2 -2
  25. package/internal/dist/valbuild-server-internal.cjs.prod.js +2 -2
  26. package/internal/dist/valbuild-server-internal.esm.js +2 -2
  27. package/package.json +4 -4
@@ -5114,12 +5114,16 @@ class ValOps {
5114
5114
  // sends it again later, so an error line here would be one a minute.
5115
5115
  return fp.result.err(saveRes.error);
5116
5116
  }
5117
- core.Internal.log.error(`Could not save source patch at path: '${path}'. Error: ${saveRes.error.errorType === "other" ? saveRes.error.message : saveRes.error.errorType}`);
5117
+ core.Internal.log.error(`Could not save source patch at path: '${path}'. Error: ${saveRes.error.errorType === "other" ? saveRes.error.message : saveRes.error.errorType === "service-error" ? `${saveRes.error.message} (${saveRes.error.details})` : saveRes.error.errorType}`);
5118
5118
  if (saveRes.error.errorType === "patch-head-conflict") {
5119
5119
  return fp.result.err({
5120
5120
  errorType: "patch-head-conflict"
5121
5121
  });
5122
5122
  }
5123
+ if (saveRes.error.errorType === "service-error") {
5124
+ // Not the patch's fault: the Studio keeps it and offers to retry.
5125
+ return fp.result.err(saveRes.error);
5126
+ }
5123
5127
  return fp.result.err({
5124
5128
  errorType: "other",
5125
5129
  error: saveRes.error
@@ -5460,6 +5464,18 @@ function isFileSource(value) {
5460
5464
  return typeof value === "object" && value !== null && "path" in value && typeof value.path === "string";
5461
5465
  }
5462
5466
 
5467
+ /**
5468
+ * The content service failed to take the patch: it answered with a server
5469
+ * error, or could not be reached at all.
5470
+ *
5471
+ * Its own error rather than an `other`, for the same reason
5472
+ * {@link PlanRefusedError} is: an `other` becomes a 400, and the Studio drops a
5473
+ * patch it is told is bad -- the field reverts and the edit is gone. Nothing is
5474
+ * wrong with this patch. The service is, and the Studio keeps the edit and
5475
+ * offers to send it again. Only `retryable` failures are this; a 4xx from the
5476
+ * service is still a refusal of the patch.
5477
+ */
5478
+
5463
5479
  /**
5464
5480
  * The content API refused a write for the project's plan (a 403 that says why
5465
5481
  * as data), as opposed to refusing the patch.
@@ -6183,7 +6199,7 @@ var packageJson = {
6183
6199
  ],
6184
6200
  exports: true
6185
6201
  },
6186
- version: "0.151.0",
6202
+ version: "0.152.0",
6187
6203
  scripts: {
6188
6204
  typecheck: "tsc --noEmit",
6189
6205
  test: "jest",
@@ -8518,7 +8534,9 @@ const ValServer = (valModules, options, callbacks, platform) => {
8518
8534
  return {
8519
8535
  status: 503,
8520
8536
  json: {
8521
- message: "Network error"
8537
+ // Which service could not be reached, rather than "Network
8538
+ // error": the editor reached THIS server, so it is not theirs.
8539
+ message: currentStat.error.message
8522
8540
  }
8523
8541
  };
8524
8542
  }
@@ -9074,6 +9092,24 @@ const ValServer = (valModules, options, callbacks, platform) => {
9074
9092
  ...savedSoFar()
9075
9093
  }
9076
9094
  };
9095
+ } else if (createPatchRes.error.errorType === "service-error") {
9096
+ /*
9097
+ * The content service failed, not the patch: a 502, never the
9098
+ * 400 below. A 400 tells the Studio the patch is bad, and it
9099
+ * drops it -- the editor's change reverted with nothing said
9100
+ * but "All changes saved". The patches before this one in the
9101
+ * batch ARE saved, and are reported as a 200 would report them,
9102
+ * so a retry sends only what is left.
9103
+ */
9104
+ return {
9105
+ status: 502,
9106
+ json: {
9107
+ type: "service-error",
9108
+ message: createPatchRes.error.message,
9109
+ details: createPatchRes.error.details,
9110
+ ...savedSoFar()
9111
+ }
9112
+ };
9077
9113
  } else {
9078
9114
  return {
9079
9115
  status: 400,
@@ -9133,11 +9169,18 @@ const ValServer = (valModules, options, callbacks, platform) => {
9133
9169
  if (fetchedPatchesRes.error) {
9134
9170
  // Error is singular
9135
9171
  core.Internal.log.error("Failed to get patches", fetchedPatchesRes.error);
9172
+ const details = fetchedPatchesRes.error.details;
9136
9173
  return {
9137
9174
  status: 500,
9138
9175
  json: {
9139
9176
  message: fetchedPatchesRes.error.message,
9140
- error: fetchedPatchesRes.error
9177
+ error: {
9178
+ message: fetchedPatchesRes.error.message
9179
+ },
9180
+ // What the content service said, for the Studio's "Details".
9181
+ ...(typeof details === "string" ? {
9182
+ details
9183
+ } : {})
9141
9184
  }
9142
9185
  };
9143
9186
  }
@@ -720,7 +720,7 @@ export declare abstract class ValOps {
720
720
  error: GenericErrorMessage;
721
721
  } | {
722
722
  errorType: "patch-head-conflict";
723
- } | PlanRefusedError>>;
723
+ } | PlanRefusedError | ServiceErrorSavingPatch>>;
724
724
  /**
725
725
  * Why a publish cannot happen here, or `null` when one can.
726
726
  *
@@ -1055,7 +1055,25 @@ export type SaveSourceFilePatchResult = result.Result<{
1055
1055
  errorType: "other";
1056
1056
  } & GenericErrorMessage) | {
1057
1057
  errorType: "patch-head-conflict";
1058
- } | PlanRefusedError>;
1058
+ } | PlanRefusedError | ServiceErrorSavingPatch>;
1059
+ /**
1060
+ * The content service failed to take the patch: it answered with a server
1061
+ * error, or could not be reached at all.
1062
+ *
1063
+ * Its own error rather than an `other`, for the same reason
1064
+ * {@link PlanRefusedError} is: an `other` becomes a 400, and the Studio drops a
1065
+ * patch it is told is bad -- the field reverts and the edit is gone. Nothing is
1066
+ * wrong with this patch. The service is, and the Studio keeps the edit and
1067
+ * offers to send it again. Only `retryable` failures are this; a 4xx from the
1068
+ * service is still a refusal of the patch.
1069
+ */
1070
+ export type ServiceErrorSavingPatch = {
1071
+ errorType: "service-error";
1072
+ /** For the person. See `ContentServiceFailure`. */
1073
+ message: string;
1074
+ /** The status line and the service's own words. */
1075
+ details: string;
1076
+ };
1059
1077
  /**
1060
1078
  * The content API refused a write for the project's plan (a 403 that says why
1061
1079
  * as data), as opposed to refusing the patch.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var core = require('@valbuild/core');
4
- var ValRouterCore = require('./ValRouterCore-eb1f53f5.cjs.prod.js');
4
+ var ValRouterCore = require('./ValRouterCore-a0ea46bf.cjs.prod.js');
5
5
 
6
6
  const NO_SESSIONS = "Val: sessions are not available here -- this server runs in the browser, " + "has no secret to sign them with, and serves without authenticating.";
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var core = require('@valbuild/core');
4
- var ValRouterCore = require('./ValRouterCore-0921fe9c.cjs.dev.js');
4
+ var ValRouterCore = require('./ValRouterCore-d16c3327.cjs.dev.js');
5
5
 
6
6
  const NO_SESSIONS = "Val: sessions are not available here -- this server runs in the browser, " + "has no secret to sign them with, and serves without authenticating.";
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_CONTENT_HOST } from '@valbuild/core';
2
- import { e as ValOpsMemory, M as bytesToBase64, K as ValServer, L as createValRequestHandler } from './ValRouterCore-6c29fb75.esm.js';
2
+ import { e as ValOpsMemory, M as bytesToBase64, K as ValServer, L as createValRequestHandler } from './ValRouterCore-b5d70504.esm.js';
3
3
 
4
4
  const NO_SESSIONS = "Val: sessions are not available here -- this server runs in the browser, " + "has no secret to sign them with, and serves without authenticating.";
5
5
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var ValRouter = require('./ValRouter-ca467c83.cjs.dev.js');
6
- var ValRouterCore = require('./ValRouterCore-0921fe9c.cjs.dev.js');
5
+ var ValRouter = require('./ValRouter-afcba447.cjs.dev.js');
6
+ var ValRouterCore = require('./ValRouterCore-d16c3327.cjs.dev.js');
7
7
  require('@valbuild/core');
8
8
  require('@valbuild/ui/server');
9
9
  require('path');
@@ -2,8 +2,8 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var ValRouter = require('./ValRouter-d43e0a33.cjs.prod.js');
6
- var ValRouterCore = require('./ValRouterCore-eb1f53f5.cjs.prod.js');
5
+ var ValRouter = require('./ValRouter-b4e5b412.cjs.prod.js');
6
+ var ValRouterCore = require('./ValRouterCore-a0ea46bf.cjs.prod.js');
7
7
  require('@valbuild/core');
8
8
  require('@valbuild/ui/server');
9
9
  require('path');
@@ -1,8 +1,8 @@
1
1
  import ts from 'typescript';
2
2
  import { result, pipe } from '@valbuild/core/fp';
3
- import { a as analyzeValModule, c as analyzeJsonValuesEntries, T as TSOps } from './ValRouter-2827d620.esm.js';
4
- export { c as analyzeJsonValuesEntries, a as analyzeValModule, a7 as evaluateModuleSource, i as insertValJsonEntry, a8 as jsonValuesRecordKeys, r as removeValJsonEntry } from './ValRouter-2827d620.esm.js';
5
- import { R as bytesToUtf8, S as posixPath } from './ValRouterCore-6c29fb75.esm.js';
3
+ import { a as analyzeValModule, c as analyzeJsonValuesEntries, T as TSOps } from './ValRouter-05fcb0da.esm.js';
4
+ export { c as analyzeJsonValuesEntries, a as analyzeValModule, a7 as evaluateModuleSource, i as insertValJsonEntry, a8 as jsonValuesRecordKeys, r as removeValJsonEntry } from './ValRouter-05fcb0da.esm.js';
5
+ import { R as bytesToUtf8, S as posixPath } from './ValRouterCore-b5d70504.esm.js';
6
6
  import '@valbuild/core';
7
7
  import '@valbuild/ui/server';
8
8
  import 'path';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('./ValRouter-ca467c83.cjs.dev.js');
5
+ var ValRouter = require('./ValRouter-afcba447.cjs.dev.js');
6
6
  var patch = require('@valbuild/core/patch');
7
7
  var fp = require('@valbuild/core/fp');
8
8
  var core = require('@valbuild/core');
@@ -11,7 +11,7 @@ var path = require('path');
11
11
  var fs = require('fs');
12
12
  var vm = require('node:vm');
13
13
  var node_module = require('node:module');
14
- var ValRouterCore = require('./ValRouterCore-0921fe9c.cjs.dev.js');
14
+ var ValRouterCore = require('./ValRouterCore-d16c3327.cjs.dev.js');
15
15
  var internal = require('@valbuild/shared/internal');
16
16
  var sucrase = require('sucrase');
17
17
  var fs$1 = require('fs/promises');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('./ValRouter-d43e0a33.cjs.prod.js');
5
+ var ValRouter = require('./ValRouter-b4e5b412.cjs.prod.js');
6
6
  var patch = require('@valbuild/core/patch');
7
7
  var fp = require('@valbuild/core/fp');
8
8
  var core = require('@valbuild/core');
@@ -11,7 +11,7 @@ var path = require('path');
11
11
  var fs = require('fs');
12
12
  var vm = require('node:vm');
13
13
  var node_module = require('node:module');
14
- var ValRouterCore = require('./ValRouterCore-eb1f53f5.cjs.prod.js');
14
+ var ValRouterCore = require('./ValRouterCore-a0ea46bf.cjs.prod.js');
15
15
  var internal = require('@valbuild/shared/internal');
16
16
  var sucrase = require('sucrase');
17
17
  var fs$1 = require('fs/promises');
@@ -1,5 +1,5 @@
1
- import { T as TSOps, a as analyzeValModule, f as flatMapErrors, b as formatSyntaxError, c as analyzeJsonValuesEntries, r as removeValJsonEntry, i as insertValJsonEntry, d as collectionReferencePatches, e as checkGalleryFiles, h as handleVideoUploadRemote, g as handleVideoDownloadRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, l as handleVideosetCheckRemote, m as handleVideosetCheckAllFiles, n as canReadVideoMetadata, u as unreadableVideoMetadataMessage, o as localFilesWarning, p as openRemoteUploadSession, q as uploadBytesToRemote, s as getPersonalAccessTokenPath, V as ValOpsFS } from './ValRouter-2827d620.esm.js';
2
- export { F as APP_MODE_REQUIRES_REMOTE_FILES, V as ValOpsFS, X as ValOpsHttp, a as analyzeValModule, R as checkRemoteRef, x as contentFromEnv, H as createFixPatch, t as createValApiRouter, D as createValOps, v as createValServer, a0 as decodeJwtWithoutVerifying, _ as describePatchStoreProblems, S as downloadFileFromRemote, a2 as encodeJwt, M as extractFileMetadata, L as extractImageMetadata, N as extractVideoMetadata, O as extractVideoMetadataFromFile, P as filesOfVideo, J as filesOfVideosetEntry, G as formatSyntaxErrorTree, U as getCachedRemoteFileDir, W as getCachedRemoteFilePath, a1 as getExpire, s as getPersonalAccessTokenPath, Q as getValidationErrorFileRef, m as handleVideosetCheckAllFiles, l as handleVideosetCheckRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, C as initHandlerOptions, z as layeredSnapshot, Y as loadTypeScriptKit, K as parsePersonalAccessTokenFile, y as proposalFromEnv, A as proposalSnapshot, B as proposalSnapshotForReaders, Z as readPatchStore, E as resolveRemoteFileAuth, w as safeReadGit, $ as verifyJwt, I as videosetEntryVideoSchema } from './ValRouter-2827d620.esm.js';
1
+ import { T as TSOps, a as analyzeValModule, f as flatMapErrors, b as formatSyntaxError, c as analyzeJsonValuesEntries, r as removeValJsonEntry, i as insertValJsonEntry, d as collectionReferencePatches, e as checkGalleryFiles, h as handleVideoUploadRemote, g as handleVideoDownloadRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, l as handleVideosetCheckRemote, m as handleVideosetCheckAllFiles, n as canReadVideoMetadata, u as unreadableVideoMetadataMessage, o as localFilesWarning, p as openRemoteUploadSession, q as uploadBytesToRemote, s as getPersonalAccessTokenPath, V as ValOpsFS } from './ValRouter-05fcb0da.esm.js';
2
+ export { F as APP_MODE_REQUIRES_REMOTE_FILES, V as ValOpsFS, X as ValOpsHttp, a as analyzeValModule, R as checkRemoteRef, x as contentFromEnv, H as createFixPatch, t as createValApiRouter, D as createValOps, v as createValServer, a0 as decodeJwtWithoutVerifying, _ as describePatchStoreProblems, S as downloadFileFromRemote, a2 as encodeJwt, M as extractFileMetadata, L as extractImageMetadata, N as extractVideoMetadata, O as extractVideoMetadataFromFile, P as filesOfVideo, J as filesOfVideosetEntry, G as formatSyntaxErrorTree, U as getCachedRemoteFileDir, W as getCachedRemoteFilePath, a1 as getExpire, s as getPersonalAccessTokenPath, Q as getValidationErrorFileRef, m as handleVideosetCheckAllFiles, l as handleVideosetCheckRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, C as initHandlerOptions, z as layeredSnapshot, Y as loadTypeScriptKit, K as parsePersonalAccessTokenFile, y as proposalFromEnv, A as proposalSnapshot, B as proposalSnapshotForReaders, Z as readPatchStore, E as resolveRemoteFileAuth, w as safeReadGit, $ as verifyJwt, I as videosetEntryVideoSchema } from './ValRouter-05fcb0da.esm.js';
3
3
  import { applyPatch, PatchError, JSONOps, deepClone } from '@valbuild/core/patch';
4
4
  import { pipe, result } from '@valbuild/core/fp';
5
5
  import { derefPatch, Internal, extractValModules, DEFAULT_CONTENT_HOST } from '@valbuild/core';
@@ -9,8 +9,8 @@ import path from 'path';
9
9
  import fs from 'fs';
10
10
  import vm from 'node:vm';
11
11
  import { Module } from 'node:module';
12
- import { r as resolveExistingJsonPath, f as findNestedJsonValuesRecords, v as validateJsonValuesEntries, g as getNewJsonEntryPaths, a as formatPatchSourceError, V as VAL_CLIENT_HEADERS } from './ValRouterCore-6c29fb75.esm.js';
13
- export { I as InMemoryPatchStore, e as ValOpsMemory, b as askOncePerHost, a as formatPatchSourceError, d as getFileExt, c as getSettings, u as uploadRemoteFile } from './ValRouterCore-6c29fb75.esm.js';
12
+ import { r as resolveExistingJsonPath, f as findNestedJsonValuesRecords, v as validateJsonValuesEntries, g as getNewJsonEntryPaths, a as formatPatchSourceError, V as VAL_CLIENT_HEADERS } from './ValRouterCore-b5d70504.esm.js';
13
+ export { I as InMemoryPatchStore, e as ValOpsMemory, b as askOncePerHost, a as formatPatchSourceError, d as getFileExt, c as getSettings, u as uploadRemoteFile } from './ValRouterCore-b5d70504.esm.js';
14
14
  import { isJsonValuesRootOp, rebaseContentOp, classifyJsonValuesOp, richTextImageSchema } from '@valbuild/shared/internal';
15
15
  export { classifyJsonValuesOp, rebaseContentOp } from '@valbuild/shared/internal';
16
16
  import { transform } from 'sucrase';
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../../dist/inTabFetch-49db354b.cjs.dev.js');
5
+ var inTabFetch = require('../../../dist/inTabFetch-2cbbfaa4.cjs.dev.js');
6
6
  var draftReads = require('../../../dist/draftReads-05415ff6.cjs.dev.js');
7
7
  require('@valbuild/core');
8
- require('../../../dist/ValRouterCore-0921fe9c.cjs.dev.js');
8
+ require('../../../dist/ValRouterCore-d16c3327.cjs.dev.js');
9
9
  require('zod');
10
10
  require('@valbuild/shared/internal');
11
11
  require('zod-validation-error');
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../../dist/inTabFetch-35cf5698.cjs.prod.js');
5
+ var inTabFetch = require('../../../dist/inTabFetch-095bb2be.cjs.prod.js');
6
6
  var draftReads = require('../../../dist/draftReads-ea3946e0.cjs.prod.js');
7
7
  require('@valbuild/core');
8
- require('../../../dist/ValRouterCore-eb1f53f5.cjs.prod.js');
8
+ require('../../../dist/ValRouterCore-a0ea46bf.cjs.prod.js');
9
9
  require('zod');
10
10
  require('@valbuild/shared/internal');
11
11
  require('zod-validation-error');
@@ -1,7 +1,7 @@
1
- export { a as createInTabVal } from '../../../dist/inTabFetch-0cd45721.esm.js';
1
+ export { a as createInTabVal } from '../../../dist/inTabFetch-91c3e85e.esm.js';
2
2
  export { s as serverDraftSource } from '../../../dist/draftReads-5f99edd3.esm.js';
3
3
  import '@valbuild/core';
4
- import '../../../dist/ValRouterCore-6c29fb75.esm.js';
4
+ import '../../../dist/ValRouterCore-b5d70504.esm.js';
5
5
  import 'zod';
6
6
  import '@valbuild/shared/internal';
7
7
  import 'zod-validation-error';
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('../../dist/ValRouter-ca467c83.cjs.dev.js');
5
+ var ValRouter = require('../../dist/ValRouter-afcba447.cjs.dev.js');
6
6
  var draftReads = require('../../dist/draftReads-05415ff6.cjs.dev.js');
7
- var ValRouterCore = require('../../dist/ValRouterCore-0921fe9c.cjs.dev.js');
7
+ var ValRouterCore = require('../../dist/ValRouterCore-d16c3327.cjs.dev.js');
8
8
  require('@valbuild/core');
9
9
  require('@valbuild/ui/server');
10
10
  require('path');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('../../dist/ValRouter-d43e0a33.cjs.prod.js');
5
+ var ValRouter = require('../../dist/ValRouter-b4e5b412.cjs.prod.js');
6
6
  var draftReads = require('../../dist/draftReads-ea3946e0.cjs.prod.js');
7
- var ValRouterCore = require('../../dist/ValRouterCore-eb1f53f5.cjs.prod.js');
7
+ var ValRouterCore = require('../../dist/ValRouterCore-a0ea46bf.cjs.prod.js');
8
8
  require('@valbuild/core');
9
9
  require('@valbuild/ui/server');
10
10
  require('path');
@@ -1,6 +1,6 @@
1
- export { a3 as createValRuntime, a4 as proposalAsBuilt, a5 as stagedAfterBuild, a6 as valRuntime } from '../../dist/ValRouter-2827d620.esm.js';
1
+ export { a3 as createValRuntime, a4 as proposalAsBuilt, a5 as stagedAfterBuild, a6 as valRuntime } from '../../dist/ValRouter-05fcb0da.esm.js';
2
2
  export { d as draftForRequest, r as readDraftChanges, a as readerSchemaVersion, s as serverDraftSource } from '../../dist/draftReads-5f99edd3.esm.js';
3
- export { P as HEAD_BUDGET_BYTES, Q as HEAD_VERSIONS_PER_MODULE, N as ValHead, O as headWork } from '../../dist/ValRouterCore-6c29fb75.esm.js';
3
+ export { P as HEAD_BUDGET_BYTES, Q as HEAD_VERSIONS_PER_MODULE, N as ValHead, O as headWork } from '../../dist/ValRouterCore-b5d70504.esm.js';
4
4
  import '@valbuild/core';
5
5
  import '@valbuild/ui/server';
6
6
  import 'path';
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "exports": true
39
39
  },
40
- "version": "0.151.0",
40
+ "version": "0.152.0",
41
41
  "devDependencies": {
42
42
  "@prettier/sync": "^0.6.1",
43
43
  "@types/jest": "^30.0.0",
@@ -51,9 +51,9 @@
51
51
  "typescript": "^6.0.3",
52
52
  "zod": "^4.4.3",
53
53
  "zod-validation-error": "^5.0.0",
54
- "@valbuild/shared": "0.151.0",
55
- "@valbuild/ui": "0.151.0",
56
- "@valbuild/core": "0.151.0"
54
+ "@valbuild/shared": "0.152.0",
55
+ "@valbuild/core": "0.151.0",
56
+ "@valbuild/ui": "0.152.0"
57
57
  },
58
58
  "engines": {
59
59
  "node": "^20.19.0 || >=22"