@arkstack/auth 0.10.0 → 0.10.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/app.d.ts +1 -11
- package/package.json +4 -4
package/dist/app.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type { User, Auth
|
|
1
|
+
import type { User, Auth } from '@arkstack/auth'
|
|
2
2
|
|
|
3
3
|
declare module 'node:http' {
|
|
4
4
|
interface IncomingMessage {
|
|
5
5
|
user?: User | undefined;
|
|
6
6
|
auth?: Auth | undefined;
|
|
7
|
-
rawBody?: Buffer
|
|
8
|
-
session?: Session | undefined;
|
|
9
7
|
authUser?: User | undefined;
|
|
10
8
|
authToken?: string | undefined;
|
|
11
9
|
}
|
|
@@ -15,8 +13,6 @@ declare module 'clear-router/types/h3' {
|
|
|
15
13
|
interface HttpRequest {
|
|
16
14
|
user?: User | undefined;
|
|
17
15
|
auth?: Auth | undefined;
|
|
18
|
-
rawBody?: Buffer
|
|
19
|
-
session?: Session | undefined;
|
|
20
16
|
authUser?: User | undefined;
|
|
21
17
|
authToken?: string | undefined;
|
|
22
18
|
}
|
|
@@ -26,8 +22,6 @@ declare module 'clear-router' {
|
|
|
26
22
|
interface HttpRequests {
|
|
27
23
|
user?: User | undefined;
|
|
28
24
|
auth?: Auth | undefined;
|
|
29
|
-
rawBody?: Buffer
|
|
30
|
-
session?: Session | undefined;
|
|
31
25
|
authUser?: User | undefined;
|
|
32
26
|
authToken?: string | undefined;
|
|
33
27
|
}
|
|
@@ -37,8 +31,6 @@ declare module 'h3' {
|
|
|
37
31
|
interface H3EventContext {
|
|
38
32
|
user?: User | undefined;
|
|
39
33
|
auth?: Auth | undefined;
|
|
40
|
-
rawBody?: Buffer
|
|
41
|
-
session?: Session | undefined;
|
|
42
34
|
authUser?: User | undefined;
|
|
43
35
|
authToken?: string | undefined;
|
|
44
36
|
}
|
|
@@ -49,8 +41,6 @@ declare global {
|
|
|
49
41
|
interface Request {
|
|
50
42
|
user?: User | undefined;
|
|
51
43
|
auth?: Auth | undefined;
|
|
52
|
-
rawBody?: Buffer
|
|
53
|
-
session?: Session | undefined;
|
|
54
44
|
authUser?: User | undefined;
|
|
55
45
|
authToken?: string | undefined;
|
|
56
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/auth",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Authentication module for Arkstack, providing core authentication and identity features.",
|
|
6
6
|
"homepage": "https://arkstack.toneflix.net/guide/auth",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"jose": "^6.2.3",
|
|
39
39
|
"otpauth": "^9.5.1",
|
|
40
40
|
"ua-parser-js": "^2.0.9",
|
|
41
|
-
"@arkstack/common": "^0.10.
|
|
42
|
-
"@arkstack/http": "^0.10.
|
|
41
|
+
"@arkstack/common": "^0.10.1",
|
|
42
|
+
"@arkstack/http": "^0.10.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@h3ravel/support": "^0.15.11",
|
|
46
|
-
"@arkstack/database": "^0.10.
|
|
46
|
+
"@arkstack/database": "^0.10.1"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsdown --config-loader unrun",
|