@zeniai/client-epic-state 4.8.57 → 4.8.58

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.
@@ -302,7 +302,8 @@ const hasZeniAccountsAccess = (userRoleMap) => {
302
302
  }
303
303
  if (userRoleMap.admin ||
304
304
  userRoleMap.deposit_accounts_admin ||
305
- userRoleMap.deposit_accounts_analyst) {
305
+ userRoleMap.deposit_accounts_analyst ||
306
+ (0, exports.hasAnyFinOpRole)(userRoleMap)) {
306
307
  return true;
307
308
  }
308
309
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.8.57",
3
+ "version": "4.8.58",
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",