@capillarytech/creatives-library 7.14.22 → 7.14.23
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
|
@@ -61,6 +61,6 @@ export default defineMessages({
|
|
|
61
61
|
},
|
|
62
62
|
whatsappFileFormat: {
|
|
63
63
|
id: `${scope}.whatsappFileFormat`,
|
|
64
|
-
defaultMessage: 'Format: MP4
|
|
64
|
+
defaultMessage: 'Format: MP4 (H.264 video codec and AAC audio codec)',
|
|
65
65
|
},
|
|
66
66
|
});
|
|
@@ -179,7 +179,7 @@ export const INITIAL_CTA_DATA = [
|
|
|
179
179
|
];
|
|
180
180
|
|
|
181
181
|
export const ALLOWED_IMAGE_EXTENSIONS_REGEX = /\.(jpe?g|png)$/i;
|
|
182
|
-
export const ALLOWED_EXTENSIONS_VIDEO_REGEX = (/\.(mp4
|
|
182
|
+
export const ALLOWED_EXTENSIONS_VIDEO_REGEX = (/\.(mp4)$/i);
|
|
183
183
|
export const ALLOWED_EXTENSIONS_DOCUMENT_REGEX = (/\.(pdf)$/i);
|
|
184
184
|
export const WHATSAPP_IMG_SIZE = 5000000; // 5MB
|
|
185
185
|
export const WHATSAPP_VIDEO_SIZE = 16000000; // 16MB
|