@uniformdev/canvas-next-rsc 20.66.5-alpha.3 → 20.66.6
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/handler.js +7 -3
- package/dist/handler.mjs +7 -3
- package/package.json +11 -11
package/dist/handler.js
CHANGED
|
@@ -389,6 +389,7 @@ var isSvixMessage = async (request) => {
|
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
391
|
var processCompositionChange = async (compositionId) => {
|
|
392
|
+
var _a;
|
|
392
393
|
const projectMapClient = getProjectMapClient({
|
|
393
394
|
cache: {
|
|
394
395
|
type: "no-cache"
|
|
@@ -405,12 +406,15 @@ var processCompositionChange = async (compositionId) => {
|
|
|
405
406
|
if (composition == null ? void 0 : composition.pattern) {
|
|
406
407
|
tags.push("route");
|
|
407
408
|
}
|
|
409
|
+
const config = getServerConfig();
|
|
408
410
|
if (nodes) {
|
|
409
411
|
for (let i = 0; i < nodes.length; i++) {
|
|
410
412
|
const node = nodes[i];
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
413
|
+
if ((_a = config.experimental) == null ? void 0 : _a.edgeCompositions) {
|
|
414
|
+
await processEdgeConfigChange({
|
|
415
|
+
source_url: node.path
|
|
416
|
+
});
|
|
417
|
+
}
|
|
414
418
|
const result = buildProjectMapNodePaths(node.path);
|
|
415
419
|
tags.push(...result.tags);
|
|
416
420
|
if (result.paths) {
|
package/dist/handler.mjs
CHANGED
|
@@ -356,6 +356,7 @@ var isSvixMessage = async (request) => {
|
|
|
356
356
|
};
|
|
357
357
|
};
|
|
358
358
|
var processCompositionChange = async (compositionId) => {
|
|
359
|
+
var _a;
|
|
359
360
|
const projectMapClient = getProjectMapClient({
|
|
360
361
|
cache: {
|
|
361
362
|
type: "no-cache"
|
|
@@ -372,12 +373,15 @@ var processCompositionChange = async (compositionId) => {
|
|
|
372
373
|
if (composition == null ? void 0 : composition.pattern) {
|
|
373
374
|
tags.push("route");
|
|
374
375
|
}
|
|
376
|
+
const config = getServerConfig();
|
|
375
377
|
if (nodes) {
|
|
376
378
|
for (let i = 0; i < nodes.length; i++) {
|
|
377
379
|
const node = nodes[i];
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
380
|
+
if ((_a = config.experimental) == null ? void 0 : _a.edgeCompositions) {
|
|
381
|
+
await processEdgeConfigChange({
|
|
382
|
+
source_url: node.path
|
|
383
|
+
});
|
|
384
|
+
}
|
|
381
385
|
const result = buildProjectMapNodePaths(node.path);
|
|
382
386
|
tags.push(...result.tags);
|
|
383
387
|
if (result.paths) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc",
|
|
3
|
-
"version": "20.66.
|
|
3
|
+
"version": "20.66.6",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
"react-dom": "19.2.1"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@uniformdev/canvas": "20.66.
|
|
64
|
-
"@uniformdev/canvas-next-rsc-client": "^20.66.
|
|
65
|
-
"@uniformdev/canvas-next-rsc-shared": "^20.66.
|
|
66
|
-
"@uniformdev/canvas-react": "20.66.
|
|
67
|
-
"@uniformdev/context": "20.66.
|
|
68
|
-
"@uniformdev/project-map": "20.66.
|
|
69
|
-
"@uniformdev/redirect": "20.66.
|
|
70
|
-
"@uniformdev/richtext": "20.66.
|
|
71
|
-
"@uniformdev/webhooks": "20.66.
|
|
63
|
+
"@uniformdev/canvas": "20.66.6",
|
|
64
|
+
"@uniformdev/canvas-next-rsc-client": "^20.66.6",
|
|
65
|
+
"@uniformdev/canvas-next-rsc-shared": "^20.66.6",
|
|
66
|
+
"@uniformdev/canvas-react": "20.66.6",
|
|
67
|
+
"@uniformdev/context": "20.66.6",
|
|
68
|
+
"@uniformdev/project-map": "20.66.6",
|
|
69
|
+
"@uniformdev/redirect": "20.66.6",
|
|
70
|
+
"@uniformdev/richtext": "20.66.6",
|
|
71
|
+
"@uniformdev/webhooks": "20.66.6",
|
|
72
72
|
"@vercel/edge-config": "^0.4.0",
|
|
73
73
|
"encoding": "^0.1.13",
|
|
74
74
|
"server-only": "^0.0.1",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "29ae032194358766558c62a76d032d5048664603"
|
|
89
89
|
}
|