@capillarytech/creatives-library 7.14.25 → 7.14.26

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.14.25",
4
+ "version": "7.14.26",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -40,6 +40,7 @@ function CapDocumentUpload(props) {
40
40
  setWhatsappDocParams({
41
41
  ...whatsappDocParams,
42
42
  whatsappDocName: `${name.slice(0, -13)}.pdf`,
43
+ //sliced to show the actual name of the pdf to the user and in the preview, this remove suffix appended to the name on creatives node side
43
44
  whatsappDocSize: file_size,
44
45
  });
45
46
  updateDocumentSrc(secure_file_path, karixFileHandle);
@@ -61,6 +61,6 @@ export default defineMessages({
61
61
  },
62
62
  whatsappFileFormat: {
63
63
  id: `${scope}.whatsappFileFormat`,
64
- defaultMessage: 'Format: MP4 (H.264 video codec and AAC audio codec)',
64
+ defaultMessage: 'Format: MP4',
65
65
  },
66
66
  });
@@ -35,7 +35,7 @@ describe("test for document upload", () => {
35
35
  ).toBeInTheDocument();
36
36
  expect(
37
37
  screen.getByText(
38
- /format: mp4 \(h\.264 video codec and aac audio codec\)/i)
38
+ /format: mp4/i)
39
39
  ).toBeInTheDocument();
40
40
  expect(
41
41
  screen.getByText(/drag and drop video here/i)