@stacksjs/auth 0.75.477 → 0.75.478
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/tokens.js +1 -1
- package/package.json +14 -14
package/dist/tokens.js
CHANGED
|
@@ -11,7 +11,7 @@ import{createHash,randomBytes}from"node:crypto";import{config}from"@stacksjs/con
|
|
|
11
11
|
EXISTS(SELECT 1 FROM information_schema.columns
|
|
12
12
|
WHERE table_schema = DATABASE() AND table_name = ?
|
|
13
13
|
AND column_name = 'password_changed_at') AS stamp_exists
|
|
14
|
-
`,[ownerType,ownerType]))[0];if(!databaseBoolean(schema?.table_exists))return{exists:!1,passwordChangedAt:null};return readOwner(databaseBoolean(schema?.stamp_exists))}else if(isPostgres
|
|
14
|
+
`,[ownerType,ownerType]))[0];if(!databaseBoolean(schema?.table_exists))return{exists:!1,passwordChangedAt:null};return readOwner(databaseBoolean(schema?.stamp_exists))}else if(isPostgres){const schema=(await q.unsafe(`
|
|
15
15
|
SELECT
|
|
16
16
|
to_regclass($1) IS NOT NULL AS table_exists,
|
|
17
17
|
EXISTS(SELECT 1 FROM pg_attribute
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/auth",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.478",
|
|
6
6
|
"description": "A more simplistic way to authenticate.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -59,19 +59,19 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@stacksjs/bun-router": "^0.1.24",
|
|
62
|
-
"@stacksjs/cache": "0.75.
|
|
63
|
-
"@stacksjs/config": "0.75.
|
|
64
|
-
"@stacksjs/database": "0.75.
|
|
65
|
-
"@stacksjs/email": "0.75.
|
|
66
|
-
"@stacksjs/env": "0.75.
|
|
67
|
-
"@stacksjs/error-handling": "0.75.
|
|
68
|
-
"@stacksjs/logging": "0.75.
|
|
69
|
-
"@stacksjs/orm": "0.75.
|
|
70
|
-
"@stacksjs/path": "0.75.
|
|
71
|
-
"@stacksjs/router": "0.75.
|
|
72
|
-
"@stacksjs/security": "0.75.
|
|
73
|
-
"@stacksjs/socials": "0.75.
|
|
74
|
-
"@stacksjs/storage": "0.75.
|
|
62
|
+
"@stacksjs/cache": "0.75.478",
|
|
63
|
+
"@stacksjs/config": "0.75.478",
|
|
64
|
+
"@stacksjs/database": "0.75.478",
|
|
65
|
+
"@stacksjs/email": "0.75.478",
|
|
66
|
+
"@stacksjs/env": "0.75.478",
|
|
67
|
+
"@stacksjs/error-handling": "0.75.478",
|
|
68
|
+
"@stacksjs/logging": "0.75.478",
|
|
69
|
+
"@stacksjs/orm": "0.75.478",
|
|
70
|
+
"@stacksjs/path": "0.75.478",
|
|
71
|
+
"@stacksjs/router": "0.75.478",
|
|
72
|
+
"@stacksjs/security": "0.75.478",
|
|
73
|
+
"@stacksjs/socials": "0.75.478",
|
|
74
|
+
"@stacksjs/storage": "0.75.478",
|
|
75
75
|
"@stacksjs/ts-auth": "^0.4.7",
|
|
76
76
|
"ts-qr-codes": "^0.1.8"
|
|
77
77
|
},
|