@authsome/ui-vue 1.5.5 → 1.6.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -0
  2. package/package.json +10 -9
package/dist/index.d.ts CHANGED
@@ -60,6 +60,13 @@ declare function useAuth(): {
60
60
  };
61
61
  } | {
62
62
  readonly status: "unauthenticated";
63
+ } | {
64
+ readonly status: "unknown";
65
+ readonly session: {
66
+ readonly session_token: string;
67
+ readonly refresh_token: string;
68
+ readonly expires_at: string;
69
+ };
63
70
  } | {
64
71
  readonly status: "mfa_required";
65
72
  readonly email: string;
@@ -111,6 +118,13 @@ declare function useAuth(): {
111
118
  };
112
119
  } | {
113
120
  readonly status: "unauthenticated";
121
+ } | {
122
+ readonly status: "unknown";
123
+ readonly session: {
124
+ readonly session_token: string;
125
+ readonly refresh_token: string;
126
+ readonly expires_at: string;
127
+ };
114
128
  } | {
115
129
  readonly status: "mfa_required";
116
130
  readonly email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authsome/ui-vue",
3
- "version": "1.5.5",
3
+ "version": "1.6.1",
4
4
  "description": "Vue.js bindings for AuthSome authentication UI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -23,8 +23,15 @@
23
23
  "files": [
24
24
  "dist"
25
25
  ],
26
+ "scripts": {
27
+ "build": "tsup",
28
+ "dev": "tsup --watch",
29
+ "typecheck": "tsc --noEmit",
30
+ "clean": "rm -rf dist",
31
+ "lint": "eslint ."
32
+ },
26
33
  "dependencies": {
27
- "@authsome/ui-core": "1.5.5"
34
+ "@authsome/ui-core": "^1.6.1"
28
35
  },
29
36
  "peerDependencies": {
30
37
  "vue": "^3.3.0"
@@ -33,11 +40,5 @@
33
40
  "tsup": "^8.0.0",
34
41
  "typescript": "^5.3.0",
35
42
  "vue": "^3.4.0"
36
- },
37
- "scripts": {
38
- "build": "tsup",
39
- "dev": "tsup --watch",
40
- "typecheck": "tsc --noEmit",
41
- "clean": "rm -rf dist"
42
43
  }
43
- }
44
+ }