web-manager 3.0.0 → 3.0.1

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.
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
+ }