arky-sdk 0.3.69 → 0.3.70
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -685,7 +685,7 @@ var getBlockFromArray = (entry, blockKey, locale = "en") => {
|
|
|
685
685
|
};
|
|
686
686
|
var getImageUrl = (imageBlock, isBlock = true) => {
|
|
687
687
|
if (!imageBlock) return null;
|
|
688
|
-
if (imageBlock.type === "
|
|
688
|
+
if (imageBlock.type === "RELATIONSHIP_MEDIA" && Array.isArray(imageBlock.value)) {
|
|
689
689
|
const mediaValue = imageBlock.value[0];
|
|
690
690
|
if (mediaValue && mediaValue.mimeType) {
|
|
691
691
|
if (mediaValue.resolutions && mediaValue.resolutions.original && mediaValue.resolutions.original.url) {
|