@digitalculture/ochre-sdk 0.15.7 → 0.15.8

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2183,7 +2183,7 @@ function parseWebElementProperties(componentProperty, elementResource) {
2183
2183
  let isFullHeight = true;
2184
2184
  const isFullHeightProperty = getPropertyValueByLabel(componentProperty.properties, "is-full-height");
2185
2185
  if (isFullHeightProperty !== null) isFullHeight = isFullHeightProperty === true;
2186
- let captionSource = getPropertyValueByLabel(componentProperty.properties, "caption-source");
2186
+ let captionSource = getPropertyValueByLabel(componentProperty.properties, "source-caption");
2187
2187
  captionSource ??= "name";
2188
2188
  let altTextSource = getPropertyValueByLabel(componentProperty.properties, "alt-text-source");
2189
2189
  altTextSource ??= "name";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalculture/ochre-sdk",
3
- "version": "0.15.7",
3
+ "version": "0.15.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",