@uniformdev/canvas-next-rsc 19.190.1-alpha.10 → 19.190.1-alpha.11

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
@@ -550,9 +550,9 @@ var retrieveRouteByPath = async ({
550
550
  queryPath = `${helper.pathname}${helper.search}`;
551
551
  }
552
552
  }
553
- const dataResourcesVariant = (
553
+ const dataSourceVariant = (
554
554
  // support explicit 'undefined' as a way to opt out of data resources variant
555
- fetchOptions && "dataResourcesVariant" in fetchOptions ? fetchOptions.dataResourcesVariant : (
555
+ fetchOptions && "dataSourceVariant" in fetchOptions ? fetchOptions.dataSourceVariant : (
556
556
  // in case of both state=0 and state=63 we still want to fetch unpublished data
557
557
  state !== CANVAS_PUBLISHED_STATE ? "unpublished" : void 0
558
558
  )
@@ -561,7 +561,7 @@ var retrieveRouteByPath = async ({
561
561
  ...fetchOptions,
562
562
  path: queryPath,
563
563
  state,
564
- dataResourcesVariant,
564
+ dataSourceVariant,
565
565
  withComponentIDs: true,
566
566
  withContentSourceMap: isOnVercelPreviewEnvironment() && ((_a = getServerConfig().experimental) == null ? void 0 : _a.vercelVisualEditing)
567
567
  });
package/dist/index.js CHANGED
@@ -589,9 +589,9 @@ var retrieveRouteByPath = async ({
589
589
  queryPath = `${helper.pathname}${helper.search}`;
590
590
  }
591
591
  }
592
- const dataResourcesVariant = (
592
+ const dataSourceVariant = (
593
593
  // support explicit 'undefined' as a way to opt out of data resources variant
594
- fetchOptions && "dataResourcesVariant" in fetchOptions ? fetchOptions.dataResourcesVariant : (
594
+ fetchOptions && "dataSourceVariant" in fetchOptions ? fetchOptions.dataSourceVariant : (
595
595
  // in case of both state=0 and state=63 we still want to fetch unpublished data
596
596
  state !== import_canvas4.CANVAS_PUBLISHED_STATE ? "unpublished" : void 0
597
597
  )
@@ -600,7 +600,7 @@ var retrieveRouteByPath = async ({
600
600
  ...fetchOptions,
601
601
  path: queryPath,
602
602
  state,
603
- dataResourcesVariant,
603
+ dataSourceVariant,
604
604
  withComponentIDs: true,
605
605
  withContentSourceMap: isOnVercelPreviewEnvironment() && ((_a = getServerConfig().experimental) == null ? void 0 : _a.vercelVisualEditing)
606
606
  });
package/dist/index.mjs CHANGED
@@ -550,9 +550,9 @@ var retrieveRouteByPath = async ({
550
550
  queryPath = `${helper.pathname}${helper.search}`;
551
551
  }
552
552
  }
553
- const dataResourcesVariant = (
553
+ const dataSourceVariant = (
554
554
  // support explicit 'undefined' as a way to opt out of data resources variant
555
- fetchOptions && "dataResourcesVariant" in fetchOptions ? fetchOptions.dataResourcesVariant : (
555
+ fetchOptions && "dataSourceVariant" in fetchOptions ? fetchOptions.dataSourceVariant : (
556
556
  // in case of both state=0 and state=63 we still want to fetch unpublished data
557
557
  state !== CANVAS_PUBLISHED_STATE ? "unpublished" : void 0
558
558
  )
@@ -561,7 +561,7 @@ var retrieveRouteByPath = async ({
561
561
  ...fetchOptions,
562
562
  path: queryPath,
563
563
  state,
564
- dataResourcesVariant,
564
+ dataSourceVariant,
565
565
  withComponentIDs: true,
566
566
  withContentSourceMap: isOnVercelPreviewEnvironment() && ((_a = getServerConfig().experimental) == null ? void 0 : _a.vercelVisualEditing)
567
567
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next-rsc",
3
- "version": "19.190.1-alpha.10+ec1c4180f7",
3
+ "version": "19.190.1-alpha.11+d5b1b10547",
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.190.1-alpha.10+ec1c4180f7",
65
- "@uniformdev/canvas-next-rsc-client": "^19.190.1-alpha.10+ec1c4180f7",
66
- "@uniformdev/canvas-next-rsc-shared": "^19.190.1-alpha.10+ec1c4180f7",
67
- "@uniformdev/canvas-react": "19.190.1-alpha.10+ec1c4180f7",
68
- "@uniformdev/context": "19.190.1-alpha.10+ec1c4180f7",
69
- "@uniformdev/project-map": "19.190.1-alpha.10+ec1c4180f7",
70
- "@uniformdev/redirect": "19.190.1-alpha.10+ec1c4180f7",
71
- "@uniformdev/richtext": "19.190.1-alpha.10+ec1c4180f7",
72
- "@uniformdev/webhooks": "19.190.1-alpha.10+ec1c4180f7",
64
+ "@uniformdev/canvas": "19.190.1-alpha.11+d5b1b10547",
65
+ "@uniformdev/canvas-next-rsc-client": "^19.190.1-alpha.11+d5b1b10547",
66
+ "@uniformdev/canvas-next-rsc-shared": "^19.190.1-alpha.11+d5b1b10547",
67
+ "@uniformdev/canvas-react": "19.190.1-alpha.11+d5b1b10547",
68
+ "@uniformdev/context": "19.190.1-alpha.11+d5b1b10547",
69
+ "@uniformdev/project-map": "19.190.1-alpha.11+d5b1b10547",
70
+ "@uniformdev/redirect": "19.190.1-alpha.11+d5b1b10547",
71
+ "@uniformdev/richtext": "19.190.1-alpha.11+d5b1b10547",
72
+ "@uniformdev/webhooks": "19.190.1-alpha.11+d5b1b10547",
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": "ec1c4180f7c99bcfb5023bc0e1277d155acdca72"
89
+ "gitHead": "d5b1b10547d3a694615e920e10384116bf6e4ad8"
90
90
  }