@redhat-cloud-services/frontend-components-utilities 3.2.9 → 3.2.10

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.
package/RBAC/RBAC.d.ts CHANGED
@@ -5,5 +5,5 @@ export interface RBAC {
5
5
  permissions: Access[];
6
6
  }
7
7
 
8
- export function getRBAC(applicationName: string): Promise<RBAC>;
8
+ export function getRBAC(applicationName: string, disableCache?: boolean): Promise<RBAC>;
9
9
  export function doesHavePermissions(RBACResults: RBAC, permissionList: string[]): boolean;
@@ -4,4 +4,4 @@ export interface UsePermissionsState extends RBAC {
4
4
  hasAccess: boolean;
5
5
  }
6
6
 
7
- export function usePermissions(appName: string, permissionsList: string[]): UsePermissionsState;
7
+ export function usePermissions(appName: string, permissionsList: string[], disableCache?: boolean): UsePermissionsState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/frontend-components-utilities",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
4
4
  "description": "Util functions for RedHat Cloud Services project.",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",