@authsome/ui-vue 1.6.0 → 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.
- package/dist/index.d.ts +14 -0
- package/package.json +4 -3
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.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Vue.js bindings for AuthSome authentication UI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,10 +27,11 @@
|
|
|
27
27
|
"build": "tsup",
|
|
28
28
|
"dev": "tsup --watch",
|
|
29
29
|
"typecheck": "tsc --noEmit",
|
|
30
|
-
"clean": "rm -rf dist"
|
|
30
|
+
"clean": "rm -rf dist",
|
|
31
|
+
"lint": "eslint ."
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@authsome/ui-core": "^1.6.
|
|
34
|
+
"@authsome/ui-core": "^1.6.1"
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|
|
36
37
|
"vue": "^3.3.0"
|