@uniformdev/canvas-next 19.9.2-alpha.3 → 19.11.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/route/index.js +4 -2
- package/dist/route/index.mjs +4 -2
- package/package.json +7 -7
package/dist/route/index.js
CHANGED
|
@@ -281,7 +281,9 @@ function createRouteFetcher(options) {
|
|
|
281
281
|
return previewEmptyComposition;
|
|
282
282
|
} else {
|
|
283
283
|
try {
|
|
284
|
-
|
|
284
|
+
if (!silent) {
|
|
285
|
+
console.log("Fetch route", nodePath);
|
|
286
|
+
}
|
|
285
287
|
const time = Date.now();
|
|
286
288
|
const response = await routeClient.getRoute({
|
|
287
289
|
...requestOptions,
|
|
@@ -309,7 +311,7 @@ function createRouteFetcher(options) {
|
|
|
309
311
|
if (e.statusCode === 404) {
|
|
310
312
|
return invokeNotFoundResult({ type: "notFound" }, 0);
|
|
311
313
|
}
|
|
312
|
-
throw new Error(`Failed to fetch route. See server logs for details.`);
|
|
314
|
+
throw new Error(`Failed to fetch route. See preceding server logs for details.`);
|
|
313
315
|
}
|
|
314
316
|
throw e;
|
|
315
317
|
}
|
package/dist/route/index.mjs
CHANGED
|
@@ -101,7 +101,9 @@ function createRouteFetcher(options) {
|
|
|
101
101
|
return previewEmptyComposition;
|
|
102
102
|
} else {
|
|
103
103
|
try {
|
|
104
|
-
|
|
104
|
+
if (!silent) {
|
|
105
|
+
console.log("Fetch route", nodePath);
|
|
106
|
+
}
|
|
105
107
|
const time = Date.now();
|
|
106
108
|
const response = await routeClient.getRoute({
|
|
107
109
|
...requestOptions,
|
|
@@ -129,7 +131,7 @@ function createRouteFetcher(options) {
|
|
|
129
131
|
if (e.statusCode === 404) {
|
|
130
132
|
return invokeNotFoundResult({ type: "notFound" }, 0);
|
|
131
133
|
}
|
|
132
|
-
throw new Error(`Failed to fetch route. See server logs for details.`);
|
|
134
|
+
throw new Error(`Failed to fetch route. See preceding server logs for details.`);
|
|
133
135
|
}
|
|
134
136
|
throw e;
|
|
135
137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.11.0",
|
|
4
4
|
"description": "Next.js SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"document": "api-extractor run --local"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@uniformdev/canvas": "19.
|
|
67
|
-
"@uniformdev/canvas-react": "19.
|
|
68
|
-
"@uniformdev/project-map": "19.
|
|
69
|
-
"@uniformdev/redirect": "19.
|
|
66
|
+
"@uniformdev/canvas": "19.11.0",
|
|
67
|
+
"@uniformdev/canvas-react": "19.11.0",
|
|
68
|
+
"@uniformdev/project-map": "19.11.0",
|
|
69
|
+
"@uniformdev/redirect": "19.11.0",
|
|
70
70
|
"ansi-colors": "^4.1.3"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@types/react": "18.2.6",
|
|
79
|
-
"next": "13.
|
|
79
|
+
"next": "13.4.2",
|
|
80
80
|
"react": "18.2.0",
|
|
81
81
|
"react-dom": "18.2.0"
|
|
82
82
|
},
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "25d492fe923f313b517cbc70d3ff13fdcf97fa34"
|
|
90
90
|
}
|