resolve-account
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -20,3 +20,3 @@ (function (root, factory) { | ||
var SOURCE = 'library'; | ||
var VERSION = '0.0.4'; | ||
var VERSION = '0.0.5'; | ||
@@ -126,6 +126,8 @@ function ResolveAccount(options) { | ||
account.roles = account.roles || {}; | ||
account.roles.betaTester = account.plan.id === defaultPlanId ? false : account.roles.betaTester === true || account.roles.betaTester === 'true'; | ||
// account.roles.betaTester = account.plan.id === defaultPlanId ? false : account.roles.betaTester === true || account.roles.betaTester === 'true'; | ||
account.roles.betaTester = account.roles.betaTester === true || account.roles.betaTester === 'true'; | ||
account.roles.developer = account.roles.developer === true || account.roles.developer === 'true'; | ||
account.roles.admin = account.roles.admin === true || account.roles.admin === 'true'; | ||
account.roles.vip = account.roles.vip === true || account.roles.vip === 'true'; | ||
account.roles.og = account.roles.og === true || account.roles.og === 'true'; | ||
account.roles.promoExempt = account.roles.promoExempt === true || account.roles.promoExempt === 'true'; | ||
@@ -132,0 +134,0 @@ |
{ | ||
"name": "resolve-account", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Standardize account JSON structure for projects built under ITW Creative Works", | ||
@@ -8,3 +8,3 @@ "main": "./dist/index.js", | ||
"test": "npm run prepare && ./node_modules/mocha/bin/mocha test/ --recursive --timeout=10000", | ||
"prepare": "node -e 'require(`prepare-package`)'" | ||
"prepare": "node -e 'require(`prepare-package`)()'" | ||
}, | ||
@@ -33,4 +33,12 @@ "engines": { | ||
"mocha": "^8.4.0", | ||
"prepare-package": "^0.0.12" | ||
} | ||
} | ||
"prepare-package": "^0.0.16" | ||
}, | ||
"allDependencies": { | ||
"mocha": "^8.4.0", | ||
"prepare-package": "^0.0.16" | ||
}, | ||
"allDependenciesKeys": [ | ||
"mocha", | ||
"prepare-package" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20412
239