@drax/identity-vue 0.37.4 → 0.38.0

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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.37.4",
6
+ "version": "0.38.0",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -24,12 +24,12 @@
24
24
  "format": "prettier --write src/"
25
25
  },
26
26
  "dependencies": {
27
- "@drax/common-front": "^0.37.0",
28
- "@drax/common-vue": "^0.37.2",
29
- "@drax/crud-front": "^0.37.1",
30
- "@drax/crud-share": "^0.37.0",
31
- "@drax/crud-vue": "^0.37.2",
32
- "@drax/identity-share": "^0.37.0"
27
+ "@drax/common-front": "^0.38.0",
28
+ "@drax/common-vue": "^0.38.0",
29
+ "@drax/crud-front": "^0.38.0",
30
+ "@drax/crud-share": "^0.38.0",
31
+ "@drax/crud-vue": "^0.38.0",
32
+ "@drax/identity-share": "^0.38.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "pinia": "^2.2.2",
@@ -66,5 +66,5 @@
66
66
  "vue-tsc": "^2.1.6",
67
67
  "vuetify": "^3.7.1"
68
68
  },
69
- "gitHead": "d30963a38a3efec693b589bcc55ae286f4a04386"
69
+ "gitHead": "43c90f3c12165e7527edefbc80dd327a59236dd5"
70
70
  }
@@ -1,6 +1,6 @@
1
1
  // Utilities
2
2
  import { defineStore } from 'pinia'
3
- import type {IAuthUser} from "@drax/identity-front";
3
+ import type {IAuthFullUser} from "@drax/identity-front";
4
4
  //@ts-ignore
5
5
  import type from 'pinia-plugin-persistedstate'
6
6
  import {AuthHelper} from "@drax/identity-front";
@@ -8,7 +8,7 @@ import {AuthHelper} from "@drax/identity-front";
8
8
  export const useAuthStore = defineStore('AuthStore', {
9
9
  state: () => ({
10
10
  accessToken: null as string | null,
11
- authUser: null as IAuthUser | null,
11
+ authUser: null as IAuthFullUser | null,
12
12
  }),
13
13
  getters:{
14
14
  isAuth: (state): boolean => {
@@ -26,7 +26,7 @@ export const useAuthStore = defineStore('AuthStore', {
26
26
  setAccessToken(accessToken:string){
27
27
  this.accessToken = accessToken
28
28
  },
29
- setAuthUser(authUser:IAuthUser){
29
+ setAuthUser(authUser:IAuthFullUser){
30
30
  this.authUser = authUser
31
31
  },
32
32
  clearAuth(){