@widgetic/editor 3.10.45 → 3.10.47

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/editor",
3
- "version": "3.10.45",
3
+ "version": "3.10.47",
4
4
  "scripts": {
5
5
  "start": "webpack --config webpack.config.js --watch --progress",
6
6
  "build": "webpack --config webpack.config.js",
@@ -36,11 +36,13 @@ export default class UploadService extends EventsMixin(Service) {
36
36
  this.refreshed = {};
37
37
 
38
38
  this.files = [];
39
+
39
40
  // max file size in MB
40
- this.maxFilesize = user.premium ? 250 : 25; // MB limit / file for premium / free
41
+ this.maxFilesize = user.premium ? 250 : 25; // MB limit / file for premium / free plan
41
42
 
42
43
  // max quota in bytes
43
- this.quota = 250 * 1000 * 1000; // 250 MB total quota for free users
44
+ this.quota = (user.premium ? 10000 : 250) * 1000 * 1000; // total quota for premium / free plan
45
+
44
46
  // used quota in bytes
45
47
  this.used = 0;
46
48