@redhat-cloud-services/frontend-components-utilities 3.2.7 → 3.2.8

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.js CHANGED
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.getRBAC = getRBAC;
9
9
  exports.doesHavePermissions = doesHavePermissions;
10
+ exports["default"] = void 0;
10
11
 
11
12
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
12
13
 
@@ -74,4 +75,7 @@ function doesHavePermissions(userPermissions, permissionList) {
74
75
  return userPermissions.some(function (access) {
75
76
  return permissionList.includes((access === null || access === void 0 ? void 0 : access.permission) || access);
76
77
  });
77
- }
78
+ }
79
+
80
+ var _default = getRBAC;
81
+ exports["default"] = _default;
package/esm/RBAC/RBAC.js CHANGED
@@ -62,4 +62,5 @@ export function doesHavePermissions(userPermissions, permissionList) {
62
62
  return userPermissions.some(function (access) {
63
63
  return permissionList.includes((access === null || access === void 0 ? void 0 : access.permission) || access);
64
64
  });
65
- }
65
+ }
66
+ export default getRBAC;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/frontend-components-utilities",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
4
4
  "description": "Util functions for RedHat Cloud Services project.",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",