@driveflux/auth 4.0.36 → 4.0.38

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.
@@ -161,6 +161,11 @@ const defineSpecificRoleAbilities = async (r, can, cannot, rawUser)=>{
161
161
  case 'businessAdmin':
162
162
  defineRoleAbilitiesBusinessAdmin(can, user);
163
163
  break;
164
+ default:
165
+ {
166
+ const _exhaustiveCheck = role;
167
+ break;
168
+ }
164
169
  }
165
170
  if (![
166
171
  ...OWNER_ROLES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/auth",
3
- "version": "4.0.36",
3
+ "version": "4.0.38",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -74,14 +74,14 @@
74
74
  "dependencies": {
75
75
  "@casl/ability": "^6.7.3",
76
76
  "@casl/prisma": "^1.5.2",
77
- "@driveflux/config": "3.0.3",
78
- "@driveflux/db": "4.0.5",
77
+ "@driveflux/config": "3.0.4",
78
+ "@driveflux/db": "4.0.8",
79
79
  "@driveflux/fetch": "8.0.0",
80
80
  "@driveflux/problem": "6.0.0",
81
81
  "@driveflux/reporter": "7.0.1",
82
82
  "@driveflux/result": "6.0.0",
83
83
  "@driveflux/singleton": "3.0.0",
84
- "@driveflux/ui": "3.0.0",
84
+ "@driveflux/ui": "3.0.1",
85
85
  "@driveflux/utils": "6.0.0",
86
86
  "@driveflux/web-analytics": "3.0.0",
87
87
  "@types/cors": "^2.8.19",