@contentful/experiences-visual-editor-react 3.8.0-dev-20250926T1559-e1ab24d.0 → 3.8.0-prerelease-20250926T1312-a8b5fb7.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/renderApp.js CHANGED
@@ -42904,9 +42904,6 @@ const getPrebindingPathBySourceEntry = (preboundValueProperty, getHeadEntityByDa
42904
42904
  return undefined;
42905
42905
  }
42906
42906
  const contentTypeId = headEntity.sys.contentType.sys.id;
42907
- if (!preboundValueProperty.pathsByContentType?.[contentTypeId]) {
42908
- return undefined;
42909
- }
42910
42907
  return preboundValueProperty.pathsByContentType?.[contentTypeId]?.path;
42911
42908
  };
42912
42909
  const parseDeepPath$1 = (deepPathCandidate) => {
@@ -51059,13 +51056,7 @@ const useComponentProps = ({ node, entityStore, areEntitiesFetched, resolveDesig
51059
51056
  const prebindingPath = getPrebindingPathBySourceEntry(variableMapping, (dataSourceKey) => {
51060
51057
  const link = dataSource[dataSourceKey];
51061
51058
  return entityStore.getEntityFromLink(link);
51062
- });
51063
- if (!prebindingPath) {
51064
- return {
51065
- ...acc,
51066
- [variableName]: variableDefinition.defaultValue,
51067
- };
51068
- }
51059
+ }) ?? variableMapping.path;
51069
51060
  // this allows us to resolve it regularly
51070
51061
  boundValue = transformBoundContentValue(node.data.props, entityStore, link, resolveDesignValue, variableName, variableDefinition.type, prebindingPath);
51071
51062
  }