@cmssy/next 19.15.0 → 19.16.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
@@ -81,7 +81,8 @@ function buildCmssyPageRenderer(config, blocks, options, editRoute) {
81
81
  const clientConfig = {
82
82
  apiUrl: config.apiUrl,
83
83
  org: config.org,
84
- workspaceSlug: config.workspaceSlug
84
+ workspaceSlug: config.workspaceSlug,
85
+ channel: config.channel
85
86
  };
86
87
  const client = react.createCmssyClient(clientConfig);
87
88
  const retryOptions = { retry: options?.retry ?? nextRetryMode() };
package/dist/server.js CHANGED
@@ -59,7 +59,8 @@ function buildCmssyPageRenderer(config, blocks, options, editRoute) {
59
59
  const clientConfig = {
60
60
  apiUrl: config.apiUrl,
61
61
  org: config.org,
62
- workspaceSlug: config.workspaceSlug
62
+ workspaceSlug: config.workspaceSlug,
63
+ channel: config.channel
63
64
  };
64
65
  const client = createCmssyClient(clientConfig);
65
66
  const retryOptions = { retry: options?.retry ?? nextRetryMode() };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/next",
3
- "version": "19.15.0",
3
+ "version": "19.16.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.15.0",
74
+ "@cmssy/react": "^19.16.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.15.0"
88
+ "@cmssy/react": "19.16.0"
89
89
  },
90
90
  "dependencies": {
91
- "@cmssy/types": "0.66.0",
91
+ "@cmssy/types": "0.67.0",
92
92
  "server-only": "^0.0.1",
93
- "@cmssy/core": "19.15.0"
93
+ "@cmssy/core": "19.16.0"
94
94
  },
95
95
  "scripts": {
96
96
  "build": "tsup",