@zeniai/client-epic-state 4.8.54 → 4.8.56

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.
@@ -313,7 +313,7 @@ const hasBillPayAdminLevelAccess = (userRoleMap) => {
313
313
  return false;
314
314
  }
315
315
  if ((userRoleMap.admin || userRoleMap.bill_pay_admin || userRoleMap.full) &&
316
- userRoleMap.lite === false) {
316
+ Boolean(userRoleMap.lite) === false) {
317
317
  return true;
318
318
  }
319
319
  return false;
@@ -326,7 +326,7 @@ const hasReimbursementAdminLevelAccess = (userRoleMap) => {
326
326
  if ((userRoleMap.admin ||
327
327
  userRoleMap.reimbursement_admin ||
328
328
  userRoleMap.full) &&
329
- userRoleMap.lite === false) {
329
+ Boolean(userRoleMap.lite) === false) {
330
330
  return true;
331
331
  }
332
332
  return false;
@@ -337,7 +337,7 @@ const hasChargeCardAdminLevelAccess = (userRoleMap) => {
337
337
  return false;
338
338
  }
339
339
  if ((userRoleMap.admin || userRoleMap.charge_card_admin || userRoleMap.full) &&
340
- userRoleMap.lite === false) {
340
+ Boolean(userRoleMap.lite) === false) {
341
341
  return true;
342
342
  }
343
343
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.8.54",
3
+ "version": "4.8.56",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",