@uniformdev/canvas-next-rsc 19.194.0 → 19.194.1-alpha.4

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/index.esm.js CHANGED
@@ -464,7 +464,8 @@ var createServerUniformContextFromManifest = async (options) => {
464
464
  import {
465
465
  CANVAS_DRAFT_STATE,
466
466
  CANVAS_EDITOR_STATE,
467
- CANVAS_PUBLISHED_STATE
467
+ CANVAS_PUBLISHED_STATE,
468
+ getDataSourceVariantFromRouteGetParams
468
469
  } from "@uniformdev/canvas";
469
470
  import { getBaseUrl, resolvePath } from "@uniformdev/canvas-next-rsc-shared";
470
471
  import { getTargetVariableExpandedUrl } from "@uniformdev/redirect";
@@ -577,6 +578,7 @@ var retrieveRouteByPath = async ({
577
578
  ...fetchOptions,
578
579
  path: queryPath,
579
580
  state,
581
+ dataSourceVariant: getDataSourceVariantFromRouteGetParams(fetchOptions != null ? fetchOptions : {}, state),
580
582
  withComponentIDs: true,
581
583
  withContentSourceMap: isOnVercelPreviewEnvironment() && ((_a = getServerConfig().experimental) == null ? void 0 : _a.vercelVisualEditing)
582
584
  });
package/dist/index.js CHANGED
@@ -613,6 +613,7 @@ var retrieveRouteByPath = async ({
613
613
  ...fetchOptions,
614
614
  path: queryPath,
615
615
  state,
616
+ dataSourceVariant: (0, import_canvas4.getDataSourceVariantFromRouteGetParams)(fetchOptions != null ? fetchOptions : {}, state),
616
617
  withComponentIDs: true,
617
618
  withContentSourceMap: isOnVercelPreviewEnvironment() && ((_a = getServerConfig().experimental) == null ? void 0 : _a.vercelVisualEditing)
618
619
  });
package/dist/index.mjs CHANGED
@@ -464,7 +464,8 @@ var createServerUniformContextFromManifest = async (options) => {
464
464
  import {
465
465
  CANVAS_DRAFT_STATE,
466
466
  CANVAS_EDITOR_STATE,
467
- CANVAS_PUBLISHED_STATE
467
+ CANVAS_PUBLISHED_STATE,
468
+ getDataSourceVariantFromRouteGetParams
468
469
  } from "@uniformdev/canvas";
469
470
  import { getBaseUrl, resolvePath } from "@uniformdev/canvas-next-rsc-shared";
470
471
  import { getTargetVariableExpandedUrl } from "@uniformdev/redirect";
@@ -577,6 +578,7 @@ var retrieveRouteByPath = async ({
577
578
  ...fetchOptions,
578
579
  path: queryPath,
579
580
  state,
581
+ dataSourceVariant: getDataSourceVariantFromRouteGetParams(fetchOptions != null ? fetchOptions : {}, state),
580
582
  withComponentIDs: true,
581
583
  withContentSourceMap: isOnVercelPreviewEnvironment() && ((_a = getServerConfig().experimental) == null ? void 0 : _a.vercelVisualEditing)
582
584
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next-rsc",
3
- "version": "19.194.0",
3
+ "version": "19.194.1-alpha.4+a46691a815",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "scripts": {
6
6
  "build": "tsup",
@@ -61,15 +61,15 @@
61
61
  "react-dom": "18.3.1"
62
62
  },
63
63
  "dependencies": {
64
- "@uniformdev/canvas": "19.194.0",
65
- "@uniformdev/canvas-next-rsc-client": "^19.194.0",
66
- "@uniformdev/canvas-next-rsc-shared": "^19.194.0",
67
- "@uniformdev/canvas-react": "19.194.0",
68
- "@uniformdev/context": "19.194.0",
69
- "@uniformdev/project-map": "19.194.0",
70
- "@uniformdev/redirect": "19.194.0",
71
- "@uniformdev/richtext": "19.194.0",
72
- "@uniformdev/webhooks": "19.194.0",
64
+ "@uniformdev/canvas": "19.194.1-alpha.4+a46691a815",
65
+ "@uniformdev/canvas-next-rsc-client": "^19.194.1-alpha.4+a46691a815",
66
+ "@uniformdev/canvas-next-rsc-shared": "^19.194.1-alpha.4+a46691a815",
67
+ "@uniformdev/canvas-react": "19.194.1-alpha.4+a46691a815",
68
+ "@uniformdev/context": "19.194.1-alpha.4+a46691a815",
69
+ "@uniformdev/project-map": "19.194.1-alpha.4+a46691a815",
70
+ "@uniformdev/redirect": "19.194.1-alpha.4+a46691a815",
71
+ "@uniformdev/richtext": "19.194.1-alpha.4+a46691a815",
72
+ "@uniformdev/webhooks": "19.194.1-alpha.4+a46691a815",
73
73
  "@vercel/edge-config": "^0.4.0",
74
74
  "encoding": "^0.1.13",
75
75
  "server-only": "^0.0.1",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "0ac01d94c0f76fc1d7b7756af8ea09a0c9a14b55"
89
+ "gitHead": "a46691a815b94e40c8f5e8d982e2cf66938a4548"
90
90
  }