@cmssy/next 19.21.0 → 19.23.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/dist/server.cjs CHANGED
@@ -158,7 +158,8 @@ function buildCmssyPageRenderer(config, blocks, options, editRoute) {
158
158
  forms,
159
159
  isPreview: true,
160
160
  config,
161
- appContext
161
+ appContext,
162
+ previewSecret: config.draftSecret
162
163
  });
163
164
  return /* @__PURE__ */ jsxRuntime.jsx(internal$1.CmssyLocaleProvider, { value: localeContext, children: /* @__PURE__ */ jsxRuntime.jsx(
164
165
  Editor,
package/dist/server.js CHANGED
@@ -136,7 +136,8 @@ function buildCmssyPageRenderer(config, blocks, options, editRoute) {
136
136
  forms,
137
137
  isPreview: true,
138
138
  config,
139
- appContext
139
+ appContext,
140
+ previewSecret: config.draftSecret
140
141
  });
141
142
  return /* @__PURE__ */ jsx(CmssyLocaleProvider, { value: localeContext, children: /* @__PURE__ */ jsx(
142
143
  Editor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/next",
3
- "version": "19.21.0",
3
+ "version": "19.23.0",
4
4
  "description": "Next.js App Router bindings for cmssy headless sites (createCmssyPage + draft preview)",
5
5
  "keywords": [
6
6
  "cmssy",
@@ -71,7 +71,7 @@
71
71
  "dist"
72
72
  ],
73
73
  "peerDependencies": {
74
- "@cmssy/react": "^19.21.0",
74
+ "@cmssy/react": "^19.23.0",
75
75
  "next": ">=15",
76
76
  "react": "^18.2.0 || ^19.0.0",
77
77
  "react-dom": "^18.2.0 || ^19.0.0"
@@ -85,12 +85,12 @@
85
85
  "tsup": "^8.3.0",
86
86
  "typescript": "^5.6.0",
87
87
  "vitest": "^2.1.0",
88
- "@cmssy/react": "19.21.0"
88
+ "@cmssy/react": "19.23.0"
89
89
  },
90
90
  "dependencies": {
91
91
  "@cmssy/types": "0.71.0",
92
92
  "server-only": "^0.0.1",
93
- "@cmssy/core": "19.21.0"
93
+ "@cmssy/core": "19.23.0"
94
94
  },
95
95
  "scripts": {
96
96
  "build": "tsup",