@stacksjs/types 0.70.350 → 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 CHANGED
@@ -34,6 +34,7 @@ export declare interface AuthOptions {
34
34
  password: string
35
35
  tokenExpiry: number
36
36
  refreshTokenExpiry?: number
37
+ idleTimeout?: number
37
38
  tokenRotation: number
38
39
  defaultAbilities: string[]
39
40
  defaultTokenName: string
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.350",
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.350",
74
+ "@stacksjs/validation": "0.70.352",
75
75
  "better-dx": "^0.2.17",
76
76
  "meilisearch": "^0.59.0"
77
77
  },