@nauth-toolkit/database-typeorm-postgres 0.1.132 → 0.2.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.
- package/LICENSE +1 -0
- package/README.md +4 -4
- package/package.json +25 -7
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @nauth-toolkit/database-typeorm-postgres
|
|
2
2
|
|
|
3
|
-
PostgreSQL
|
|
3
|
+
PostgreSQL database adapter for [nauth-toolkit](https://nauth.dev).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Implements the nauth-toolkit storage interface using TypeORM with PostgreSQL. Provides entity definitions, repositories, and migrations for all auth-related tables — users, sessions, MFA devices, audit logs, and more.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Plug this into your existing TypeORM `DataSource` and nauth-toolkit manages the rest.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
**Docs:** [nauth.dev](https://nauth.dev) · **Examples:** [github.com/noorixorg/nauth](https://github.com/noorixorg/nauth) · **Live demo:** [demo.nauth.dev](https://demo.nauth.dev)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nauth-toolkit/database-typeorm-postgres",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "PostgreSQL
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "PostgreSQL storage adapter for nauth-toolkit via TypeORM",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"format:check": "prettier --check \"src/**/*.ts\""
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@nauth-toolkit/core": "^0.
|
|
17
|
+
"@nauth-toolkit/core": "^0.2.0",
|
|
18
18
|
"typeorm": "^0.3.20",
|
|
19
19
|
"pg": "^8.0.0"
|
|
20
20
|
},
|
|
@@ -32,17 +32,35 @@
|
|
|
32
32
|
"access": "public",
|
|
33
33
|
"tag": "latest"
|
|
34
34
|
},
|
|
35
|
-
"license": "
|
|
35
|
+
"license": "SEE LICENSE",
|
|
36
36
|
"keywords": [
|
|
37
|
-
"
|
|
37
|
+
"nauth",
|
|
38
38
|
"authentication",
|
|
39
|
+
"auth",
|
|
40
|
+
"nodejs",
|
|
41
|
+
"typescript",
|
|
39
42
|
"typeorm",
|
|
40
43
|
"postgresql",
|
|
41
|
-
"
|
|
44
|
+
"postgres",
|
|
45
|
+
"database",
|
|
46
|
+
"storage"
|
|
42
47
|
],
|
|
43
48
|
"files": [
|
|
44
49
|
"dist",
|
|
45
50
|
"LICENSE",
|
|
46
51
|
"README.md"
|
|
47
|
-
]
|
|
52
|
+
],
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "https://github.com/noorixorg/nauth"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://nauth.dev",
|
|
58
|
+
"exports": {
|
|
59
|
+
".": {
|
|
60
|
+
"types": "./dist/index.d.ts",
|
|
61
|
+
"require": "./dist/index.js",
|
|
62
|
+
"default": "./dist/index.js"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"sideEffects": false
|
|
48
66
|
}
|