@uniformdev/canvas-next 19.72.2-alpha.0 → 19.73.1-alpha.12

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.
@@ -480,7 +480,7 @@ var withUniformGetServerSideProps2 = (options) => {
480
480
  const absoluteUrl = `${context.req.headers["x-forwarded-proto"]}://${context.req.headers.host}${requestUrl}`;
481
481
  return {
482
482
  redirect: {
483
- destination: import_redirect.RedirectClient.getTargetVariableExpandedUrl(absoluteUrl, matched.redirect),
483
+ destination: (0, import_redirect.getTargetVariableExpandedUrl)(absoluteUrl, matched.redirect),
484
484
  statusCode: matched.redirect.targetStatusCode
485
485
  }
486
486
  };
@@ -521,7 +521,7 @@ var withUniformGetStaticProps2 = (options) => {
521
521
  const defaultHandleRedirect = (requestUrl, matched) => {
522
522
  return {
523
523
  redirect: {
524
- destination: import_redirect2.RedirectClient.getTargetVariableExpandedUrl(requestUrl, matched.redirect),
524
+ destination: (0, import_redirect2.getTargetVariableExpandedUrl)(requestUrl, matched.redirect),
525
525
  statusCode: matched.redirect.targetStatusCode
526
526
  }
527
527
  };
@@ -58,7 +58,7 @@ function logRouteResponse(response, duration) {
58
58
 
59
59
  // src/route/withUniformGetServerSideProps.ts
60
60
  import { CANVAS_DRAFT_STATE } from "@uniformdev/canvas";
61
- import { RedirectClient } from "@uniformdev/redirect";
61
+ import { getTargetVariableExpandedUrl } from "@uniformdev/redirect";
62
62
 
63
63
  // src/route/createRouteFetcher.ts
64
64
  import {
@@ -208,7 +208,7 @@ var withUniformGetServerSideProps = (options) => {
208
208
  const absoluteUrl = `${context.req.headers["x-forwarded-proto"]}://${context.req.headers.host}${requestUrl}`;
209
209
  return {
210
210
  redirect: {
211
- destination: RedirectClient.getTargetVariableExpandedUrl(absoluteUrl, matched.redirect),
211
+ destination: getTargetVariableExpandedUrl(absoluteUrl, matched.redirect),
212
212
  statusCode: matched.redirect.targetStatusCode
213
213
  }
214
214
  };
@@ -244,12 +244,12 @@ var withUniformGetServerSideProps = (options) => {
244
244
 
245
245
  // src/route/withUniformGetStaticProps.ts
246
246
  import { CANVAS_DRAFT_STATE as CANVAS_DRAFT_STATE2 } from "@uniformdev/canvas";
247
- import { RedirectClient as RedirectClient2 } from "@uniformdev/redirect";
247
+ import { getTargetVariableExpandedUrl as getTargetVariableExpandedUrl2 } from "@uniformdev/redirect";
248
248
  var withUniformGetStaticProps = (options) => {
249
249
  const defaultHandleRedirect = (requestUrl, matched) => {
250
250
  return {
251
251
  redirect: {
252
- destination: RedirectClient2.getTargetVariableExpandedUrl(requestUrl, matched.redirect),
252
+ destination: getTargetVariableExpandedUrl2(requestUrl, matched.redirect),
253
253
  statusCode: matched.redirect.targetStatusCode
254
254
  }
255
255
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next",
3
- "version": "19.72.2-alpha.0+7c41d864e",
3
+ "version": "19.73.1-alpha.12+bf15f68ec",
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.72.2-alpha.0+7c41d864e",
71
- "@uniformdev/canvas-react": "19.72.2-alpha.0+7c41d864e",
72
- "@uniformdev/project-map": "19.72.2-alpha.0+7c41d864e",
73
- "@uniformdev/redirect": "19.72.2-alpha.0+7c41d864e",
74
- "@uniformdev/richtext": "19.72.2-alpha.0+7c41d864e",
70
+ "@uniformdev/canvas": "19.73.1-alpha.12+bf15f68ec",
71
+ "@uniformdev/canvas-react": "19.73.1-alpha.12+bf15f68ec",
72
+ "@uniformdev/project-map": "19.73.1-alpha.12+bf15f68ec",
73
+ "@uniformdev/redirect": "19.73.1-alpha.12+bf15f68ec",
74
+ "@uniformdev/richtext": "19.73.1-alpha.12+bf15f68ec",
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": "7c41d864eb265bf902149f75d45ad2414ddb8c0e"
94
+ "gitHead": "bf15f68ec4734c8364bd2ab844abe18160c4714c"
95
95
  }