@decocms/blocks-admin 7.34.2 → 7.34.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decocms/blocks-admin",
|
|
3
|
-
"version": "7.34.
|
|
3
|
+
"version": "7.34.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deco admin protocol: /live/_meta, /.decofile, /deco/invoke, /deco/render, plus admin-facing site setup and commerce-app auto-configuration",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"lint:unused": "knip"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@decocms/blocks": "7.34.
|
|
28
|
+
"@decocms/blocks": "7.34.3"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": "^19.0.0",
|
|
@@ -162,7 +162,11 @@ export async function resolvePreviewRequest(request: Request): Promise<PreviewRe
|
|
|
162
162
|
return { type: "unknown", component };
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
const resolvedProps = (await resolveValue(
|
|
165
|
+
const resolvedProps = (await resolveValue(
|
|
166
|
+
props,
|
|
167
|
+
undefined,
|
|
168
|
+
buildPreviewMatcherCtx(request),
|
|
169
|
+
)) as Record<string, unknown>;
|
|
166
170
|
const { __resolveType: _, ...cleanProps } = resolvedProps;
|
|
167
171
|
return {
|
|
168
172
|
type: "sections",
|