@contentful/experiences-core 1.31.1-dev-20250219T1207-190e914.0 → 1.31.1-dev-20250219T1258-06c6e3b.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/index.js CHANGED
@@ -2413,11 +2413,11 @@ function getArrayValue(entryOrAsset, path, entityStore) {
2413
2413
  return result;
2414
2414
  }
2415
2415
 
2416
- const transformBoundContentValue = (variables, entityStore, binding, resolveDesignValue, variableName, variableDefinition, path) => {
2416
+ const transformBoundContentValue = (variables, entityStore, binding, resolveDesignValue, variableName, variableType, path) => {
2417
2417
  const entityOrAsset = entityStore.getEntryOrAsset(binding, path);
2418
2418
  if (!entityOrAsset)
2419
2419
  return;
2420
- switch (variableDefinition.type) {
2420
+ switch (variableType) {
2421
2421
  case 'Media':
2422
2422
  // If we bound a normal entry field to the media variable we just return the bound value
2423
2423
  if (entityOrAsset.sys.type === 'Entry') {