@cmssy/next 13.0.0 → 13.0.1

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
@@ -264,7 +264,7 @@ async function CmssyLayoutSlot({
264
264
  path,
265
265
  locale: explicitLocale,
266
266
  editMode,
267
- page = "/",
267
+ page,
268
268
  editable: Editable,
269
269
  appContext,
270
270
  retry
@@ -273,7 +273,7 @@ async function CmssyLayoutSlot({
273
273
  position,
274
274
  blocks,
275
275
  editMode,
276
- page,
276
+ ...page !== void 0 ? { page } : {},
277
277
  appContext,
278
278
  retry: retry ?? nextRetryMode(),
279
279
  ...explicitLocale !== void 0 ? { locale: explicitLocale } : { path: path ?? [] }
package/dist/server.js CHANGED
@@ -262,7 +262,7 @@ async function CmssyLayoutSlot({
262
262
  path,
263
263
  locale: explicitLocale,
264
264
  editMode,
265
- page = "/",
265
+ page,
266
266
  editable: Editable,
267
267
  appContext,
268
268
  retry
@@ -271,7 +271,7 @@ async function CmssyLayoutSlot({
271
271
  position,
272
272
  blocks,
273
273
  editMode,
274
- page,
274
+ ...page !== void 0 ? { page } : {},
275
275
  appContext,
276
276
  retry: retry ?? nextRetryMode(),
277
277
  ...explicitLocale !== void 0 ? { locale: explicitLocale } : { path: path ?? [] }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/next",
3
- "version": "13.0.0",
3
+ "version": "13.0.1",
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": "^13.0.0",
74
+ "@cmssy/react": "^13.0.1",
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": "13.0.0"
88
+ "@cmssy/react": "13.0.1"
89
89
  },
90
90
  "dependencies": {
91
91
  "@cmssy/types": "0.37.0",
92
92
  "server-only": "^0.0.1",
93
- "@cmssy/core": "13.0.0"
93
+ "@cmssy/core": "13.0.1"
94
94
  },
95
95
  "scripts": {
96
96
  "build": "tsup",