web-manager 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/account.js +2 -1
  2. package/package.json +2 -2
package/lib/account.js CHANGED
@@ -214,7 +214,8 @@ Account.prototype._resolveAccount = function (currentUser, account, options) {
214
214
  account.plan.expires = account.plan.expires || {};
215
215
  account.plan.expires.timestamp = new Date(account.plan.expires.timestamp || 0).toISOString();
216
216
  account.plan.expires.timestampUNIX = Math.round(new Date(account.plan.expires.timestamp || 0).getTime() / 1000);
217
- account.plan.devices = account.plan.devices || 1;
217
+ account.plan.limits = account.plan.limits || {};
218
+ // account.plan.devices = account.plan.devices || 1;
218
219
 
219
220
  account.plan.payment = account.plan.payment || {};
220
221
  account.plan.payment.startDate = account.plan.payment.startDate || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,4 +28,4 @@
28
28
  "firebase": "^8.10.1",
29
29
  "lazysizes": "^5.3.2"
30
30
  }
31
- }
31
+ }