@widgetic/editor 3.10.45 → 3.10.46

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/lib/dev/editor.js CHANGED
@@ -13347,7 +13347,7 @@ WidgetEditor = (function(superClass) {
13347
13347
  this.el.append(this.tabs.el);
13348
13348
  LoginPopup.place(this.el);
13349
13349
  Blogvio.pubsub.subscribe('api/token/update', this._updateLoggedInStatus);
13350
- this.el.attr('editorVersion', "3.10.45");
13350
+ this.el.attr('editorVersion', "3.10.46");
13351
13351
  }
13352
13352
 
13353
13353
 
@@ -16688,11 +16688,13 @@ var UploadService = function (_EventsMixin) {
16688
16688
  _this.refreshed = {};
16689
16689
 
16690
16690
  _this.files = [];
16691
+
16691
16692
  // max file size in MB
16692
16693
  _this.maxFilesize = user.premium ? 250 : 25; // MB limit / file for premium / free
16693
16694
 
16694
16695
  // max quota in bytes
16695
- _this.quota = 250 * 1000 * 1000; // 250 MB total quota for free users
16696
+ _this.quota = (user.premium ? 1000 : 250) * 1000 * 1000; // 250 MB total quota for free users
16697
+
16696
16698
  // used quota in bytes
16697
16699
  _this.used = 0;
16698
16700