web-manager 3.1.6 → 3.1.7

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 +3 -1
  2. package/package.json +2 -2
package/lib/account.js CHANGED
@@ -307,10 +307,12 @@ Account.prototype._resolveAccount = function (firebaseUser, account, options) {
307
307
 
308
308
  // Resolve roles
309
309
  account.roles = account.roles || {};
310
- account.roles.betaTester = account.plan.id === defaultPlanId ? false : account.roles.betaTester === true || account.roles.betaTester === 'true';
310
+ // account.roles.betaTester = account.plan.id === defaultPlanId ? false : account.roles.betaTester === true || account.roles.betaTester === 'true';
311
+ account.roles.betaTester = account.roles.betaTester === true || account.roles.betaTester === 'true';
311
312
  account.roles.developer = account.roles.developer === true || account.roles.developer === 'true';
312
313
  account.roles.admin = account.roles.admin === true || account.roles.admin === 'true';
313
314
  account.roles.vip = account.roles.vip === true || account.roles.vip === 'true';
315
+ account.roles.og = account.roles.og === true || account.roles.og === 'true';
314
316
  account.roles.promoExempt = account.roles.promoExempt === true || account.roles.promoExempt === 'true';
315
317
 
316
318
  // Resolve affiliate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.1.6",
3
+ "version": "3.1.7",
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
+ }