@capillarytech/creatives-library 7.14.20 → 7.14.22

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.20",
4
+ "version": "7.14.22",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -178,6 +178,7 @@ function CapVideoUpload(props) {
178
178
  <CapUploader.CapDragger
179
179
  customRequest={(data) => capUploaderCustomVideoRequest(data)}
180
180
  className="form-builder-dragger whatsapp-background"
181
+ showUploadList={!isVideoError}
181
182
  >
182
183
  <CapHeading className="dragger-title" type="h7">
183
184
  <FormattedMessage {...messages.dragAndDrop} />
@@ -12,7 +12,7 @@ const readFileData = (file) => new Promise((resolve, reject) => {
12
12
  //function to convert first page of pdf to image for the thumbnail preview
13
13
  export const convertPdfToImages = async (file) => {
14
14
  const data = await readFileData(file);
15
- const encoderQuality = 1.0;
15
+ const encoderQuality = 0.1;
16
16
  return PDFJS.getDocument(data)
17
17
  .then(async function (pdf) {
18
18
  const numberOfPages = pdf.numPages;