@campxdev/shared 1.10.38 → 1.10.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.10.38",
3
+ "version": "1.10.39",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -220,6 +220,7 @@ function useAuth({ permissionsEndpoint, loginUrl }: AuthParams): AuthResponse {
220
220
  s.user = res.data?.user
221
221
  s.roles = res.data?.roles
222
222
  s.globalUserId = res.data?.globalUserId
223
+ s.fullName = res.data?.fullName
223
224
  })
224
225
 
225
226
  PermissionsStore.update((s) => {
@@ -11,4 +11,5 @@ export const UserStore = new Store({
11
11
  user: null,
12
12
  roles: [],
13
13
  globalUserId: '',
14
+ fullName: '',
14
15
  })