@uniformdev/canvas-next 19.66.1 → 19.67.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.
@@ -159,7 +159,8 @@ var withUniformGetServerSideProps = (options) => {
159
159
  const response = await canvasClient.getCompositionBySlug({
160
160
  ...options == null ? void 0 : options.requestOptions,
161
161
  slug,
162
- state: preview || (options == null ? void 0 : options.preview) ? import_canvas.CANVAS_DRAFT_STATE : import_canvas.CANVAS_PUBLISHED_STATE
162
+ state: preview || (options == null ? void 0 : options.preview) ? import_canvas.CANVAS_DRAFT_STATE : import_canvas.CANVAS_PUBLISHED_STATE,
163
+ diagnostics: true
163
164
  });
164
165
  const duration = Date.now() - time;
165
166
  composition = response.composition;
@@ -35,7 +35,8 @@ var withUniformGetServerSideProps = (options) => {
35
35
  const response = await canvasClient.getCompositionBySlug({
36
36
  ...options == null ? void 0 : options.requestOptions,
37
37
  slug,
38
- state: preview || (options == null ? void 0 : options.preview) ? CANVAS_DRAFT_STATE : CANVAS_PUBLISHED_STATE
38
+ state: preview || (options == null ? void 0 : options.preview) ? CANVAS_DRAFT_STATE : CANVAS_PUBLISHED_STATE,
39
+ diagnostics: true
39
40
  });
40
41
  const duration = Date.now() - time;
41
42
  composition = response.composition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next",
3
- "version": "19.66.1",
3
+ "version": "19.67.0",
4
4
  "description": "Next.js SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -67,11 +67,11 @@
67
67
  "document": "api-extractor run --local"
68
68
  },
69
69
  "dependencies": {
70
- "@uniformdev/canvas": "19.66.1",
71
- "@uniformdev/canvas-react": "19.66.1",
72
- "@uniformdev/project-map": "19.66.1",
73
- "@uniformdev/redirect": "19.66.1",
74
- "@uniformdev/richtext": "19.66.1",
70
+ "@uniformdev/canvas": "19.67.0",
71
+ "@uniformdev/canvas-react": "19.67.0",
72
+ "@uniformdev/project-map": "19.67.0",
73
+ "@uniformdev/redirect": "19.67.0",
74
+ "@uniformdev/richtext": "19.67.0",
75
75
  "colorette": "2.0.20"
76
76
  },
77
77
  "peerDependencies": {
@@ -91,5 +91,5 @@
91
91
  "publishConfig": {
92
92
  "access": "public"
93
93
  },
94
- "gitHead": "80e9cf7f60f95245269938596f00813b48a304f3"
94
+ "gitHead": "9cd9a40e3d0743f52457ebab0dfafc048014c916"
95
95
  }