@capillarytech/creatives-library 8.0.95 → 8.0.97
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/package.json
CHANGED
|
@@ -2784,8 +2784,8 @@ const isAuthenticationTemplate = isEqual(templateCategory, WHATSAPP_CATEGORIES.a
|
|
|
2784
2784
|
data.carouselTagValidationErr ||
|
|
2785
2785
|
Object.values(data.varMap).some((inputValue) => inputValue === "") ||
|
|
2786
2786
|
computeTextLength(CAROUSEL_TEXT, data) > TEMPLATE_MESSAGE_MAX_LENGTH ||
|
|
2787
|
-
(carouselMediaType ===
|
|
2788
|
-
(carouselMediaType ===
|
|
2787
|
+
(carouselMediaType === IMAGE.toLowerCase() && !data.imageSrc) ||
|
|
2788
|
+
(carouselMediaType === VIDEO.toLowerCase() && !data.videoSrc) ||
|
|
2789
2789
|
data?.buttons.some((btn) => btn?.url?.includes("{{1}}"))
|
|
2790
2790
|
);
|
|
2791
2791
|
});
|