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.cjs
CHANGED
|
@@ -687,7 +687,7 @@ var getBlockFromArray = (entry, blockKey, locale = "en") => {
|
|
|
687
687
|
};
|
|
688
688
|
var getImageUrl = (imageBlock, isBlock = true) => {
|
|
689
689
|
if (!imageBlock) return null;
|
|
690
|
-
if (imageBlock.type === "
|
|
690
|
+
if (imageBlock.type === "RELATIONSHIP_MEDIA" && Array.isArray(imageBlock.value)) {
|
|
691
691
|
const mediaValue = imageBlock.value[0];
|
|
692
692
|
if (mediaValue && mediaValue.mimeType) {
|
|
693
693
|
if (mediaValue.resolutions && mediaValue.resolutions.original && mediaValue.resolutions.original.url) {
|