@uniformdev/canvas-next 19.66.1 → 19.68.1-alpha.27

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.
@@ -141,7 +141,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
141
141
  } | undefined;
142
142
  _overridability?: {
143
143
  parameters?: {
144
- [key: string]: "no" | "yes";
144
+ [key: string]: "yes" | "no";
145
145
  } | undefined;
146
146
  variants?: boolean | undefined;
147
147
  } | undefined;
@@ -177,7 +177,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
177
177
  } | undefined;
178
178
  _overridability?: {
179
179
  parameters?: {
180
- [key: string]: "no" | "yes";
180
+ [key: string]: "yes" | "no";
181
181
  } | undefined;
182
182
  variants?: boolean | undefined;
183
183
  } | undefined;
@@ -265,7 +265,7 @@ declare const getStaticProps: next.GetStaticProps<{
265
265
  } | undefined;
266
266
  _overridability?: {
267
267
  parameters?: {
268
- [key: string]: "no" | "yes";
268
+ [key: string]: "yes" | "no";
269
269
  } | undefined;
270
270
  variants?: boolean | undefined;
271
271
  } | undefined;
@@ -301,7 +301,7 @@ declare const getStaticProps: next.GetStaticProps<{
301
301
  } | undefined;
302
302
  _overridability?: {
303
303
  parameters?: {
304
- [key: string]: "no" | "yes";
304
+ [key: string]: "yes" | "no";
305
305
  } | undefined;
306
306
  variants?: boolean | undefined;
307
307
  } | undefined;
@@ -141,7 +141,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
141
141
  } | undefined;
142
142
  _overridability?: {
143
143
  parameters?: {
144
- [key: string]: "no" | "yes";
144
+ [key: string]: "yes" | "no";
145
145
  } | undefined;
146
146
  variants?: boolean | undefined;
147
147
  } | undefined;
@@ -177,7 +177,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
177
177
  } | undefined;
178
178
  _overridability?: {
179
179
  parameters?: {
180
- [key: string]: "no" | "yes";
180
+ [key: string]: "yes" | "no";
181
181
  } | undefined;
182
182
  variants?: boolean | undefined;
183
183
  } | undefined;
@@ -265,7 +265,7 @@ declare const getStaticProps: next.GetStaticProps<{
265
265
  } | undefined;
266
266
  _overridability?: {
267
267
  parameters?: {
268
- [key: string]: "no" | "yes";
268
+ [key: string]: "yes" | "no";
269
269
  } | undefined;
270
270
  variants?: boolean | undefined;
271
271
  } | undefined;
@@ -301,7 +301,7 @@ declare const getStaticProps: next.GetStaticProps<{
301
301
  } | undefined;
302
302
  _overridability?: {
303
303
  parameters?: {
304
- [key: string]: "no" | "yes";
304
+ [key: string]: "yes" | "no";
305
305
  } | undefined;
306
306
  variants?: boolean | undefined;
307
307
  } | undefined;
@@ -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.68.1-alpha.27+9da5c6b31",
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.68.1-alpha.27+9da5c6b31",
71
+ "@uniformdev/canvas-react": "19.68.1-alpha.27+9da5c6b31",
72
+ "@uniformdev/project-map": "19.68.1-alpha.27+9da5c6b31",
73
+ "@uniformdev/redirect": "19.68.1-alpha.27+9da5c6b31",
74
+ "@uniformdev/richtext": "19.68.1-alpha.27+9da5c6b31",
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": "9da5c6b318807a05aa003ceb52317b27f4e1d8cf"
95
95
  }