@stacksjs/types 0.70.351 → 0.70.352
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/auth.d.ts +1 -0
- package/dist/oauth.d.ts +4 -0
- package/package.json +2 -2
package/dist/auth.d.ts
CHANGED
package/dist/oauth.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export declare interface AccessToken {
|
|
|
24
24
|
readonly expiresAt: Date | null
|
|
25
25
|
readonly createdAt: Date
|
|
26
26
|
readonly updatedAt: Date
|
|
27
|
+
readonly userAgent?: string | null
|
|
28
|
+
readonly ipAddress?: string | null
|
|
27
29
|
}
|
|
28
30
|
/**
|
|
29
31
|
* Personal access token with additional metadata.
|
|
@@ -125,6 +127,8 @@ export declare interface TokenCreateOptions {
|
|
|
125
127
|
expiresInMinutes?: number
|
|
126
128
|
withRefreshToken?: boolean
|
|
127
129
|
refreshExpiresInDays?: number
|
|
130
|
+
userAgent?: string | null
|
|
131
|
+
ipAddress?: string | null
|
|
128
132
|
}
|
|
129
133
|
/**
|
|
130
134
|
* Result returned when creating a personal access token.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.352",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@stacksjs/validation": "0.70.
|
|
74
|
+
"@stacksjs/validation": "0.70.352",
|
|
75
75
|
"better-dx": "^0.2.17",
|
|
76
76
|
"meilisearch": "^0.59.0"
|
|
77
77
|
},
|