@authhero/drizzle 0.40.0 → 0.41.0
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.
|
@@ -208,6 +208,7 @@ CREATE TABLE `refresh_tokens` (
|
|
|
208
208
|
`expires_at_ts` integer,
|
|
209
209
|
`idle_expires_at_ts` integer,
|
|
210
210
|
`last_exchanged_at_ts` integer,
|
|
211
|
+
`revoked_at_ts` integer,
|
|
211
212
|
PRIMARY KEY(`tenant_id`, `id`),
|
|
212
213
|
FOREIGN KEY (`tenant_id`) REFERENCES `tenants`(`id`) ON UPDATE no action ON DELETE cascade
|
|
213
214
|
);
|
|
@@ -1456,6 +1456,13 @@
|
|
|
1456
1456
|
"primaryKey": false,
|
|
1457
1457
|
"notNull": false,
|
|
1458
1458
|
"autoincrement": false
|
|
1459
|
+
},
|
|
1460
|
+
"revoked_at_ts": {
|
|
1461
|
+
"name": "revoked_at_ts",
|
|
1462
|
+
"type": "integer",
|
|
1463
|
+
"primaryKey": false,
|
|
1464
|
+
"notNull": false,
|
|
1465
|
+
"autoincrement": false
|
|
1459
1466
|
}
|
|
1460
1467
|
},
|
|
1461
1468
|
"indexes": {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "0.
|
|
14
|
+
"version": "0.41.0",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
17
|
"src/schema",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"drizzle-orm": "^0.44.2",
|
|
36
36
|
"nanoid": "^5.0.8",
|
|
37
|
-
"@authhero/adapter-interfaces": "1.
|
|
37
|
+
"@authhero/adapter-interfaces": "1.6.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hono/zod-openapi": "^0.19.2",
|
|
@@ -52,6 +52,7 @@ export const refreshTokens = sqliteTable(
|
|
|
52
52
|
expires_at_ts: integer("expires_at_ts"),
|
|
53
53
|
idle_expires_at_ts: integer("idle_expires_at_ts"),
|
|
54
54
|
last_exchanged_at_ts: integer("last_exchanged_at_ts"),
|
|
55
|
+
revoked_at_ts: integer("revoked_at_ts"),
|
|
55
56
|
},
|
|
56
57
|
(table) => [
|
|
57
58
|
primaryKey({
|