@tradly/asset 1.0.11 → 1.0.12

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.
@@ -140,7 +140,8 @@ var FileUpload = function FileUpload(_ref2) {
140
140
  return compressImage(file, {
141
141
  maxWidth: 1600,
142
142
  maxHeight: 1600,
143
- quality: 1
143
+ quality: 0.95,
144
+ convertToWebp: true
144
145
  });
145
146
  }));
146
147
  case 2:
@@ -134,7 +134,8 @@ var FileUpload = function FileUpload(_ref2) {
134
134
  return compressImage(file, {
135
135
  maxWidth: 1600,
136
136
  maxHeight: 1600,
137
- quality: 1
137
+ quality: 0.95,
138
+ convertToWebp: true
138
139
  });
139
140
  }));
140
141
  case 2:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradly/asset",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "A reusable media gallery component for uploading and selecting images, videos, and files with Tradly authentication",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",