@nauth-toolkit/storage-database 0.1.133 → 0.2.1
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/README.md +3 -5
- package/package.json +25 -8
package/README.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
# @nauth-toolkit/storage-database
|
|
2
2
|
|
|
3
|
-
Database storage
|
|
3
|
+
Database-backed session storage for [nauth-toolkit](https://nauth.dev).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Stores sessions, rate limit counters, and locks in your existing database via TypeORM. Simpler than Redis for single-server deployments — no additional infrastructure required.
|
|
6
6
|
|
|
7
|
-
**
|
|
8
|
-
|
|
9
|
-
This package is part of nauth-toolkit and is currently in early access/preview. Features and APIs may change between releases. For production use, please wait for the stable v1.0 release.
|
|
7
|
+
**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/storage-database",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "Database storage
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Database-backed session storage for nauth-toolkit",
|
|
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.1
|
|
17
|
+
"@nauth-toolkit/core": "^0.2.1",
|
|
18
18
|
"typeorm": "^0.3.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
@@ -31,17 +31,34 @@
|
|
|
31
31
|
"access": "public",
|
|
32
32
|
"tag": "latest"
|
|
33
33
|
},
|
|
34
|
-
"license": "SEE LICENSE
|
|
34
|
+
"license": "SEE LICENSE",
|
|
35
35
|
"keywords": [
|
|
36
|
-
"
|
|
36
|
+
"nauth",
|
|
37
37
|
"authentication",
|
|
38
|
+
"auth",
|
|
39
|
+
"nodejs",
|
|
40
|
+
"typescript",
|
|
38
41
|
"storage",
|
|
39
|
-
"
|
|
40
|
-
"typeorm"
|
|
42
|
+
"session",
|
|
43
|
+
"typeorm",
|
|
44
|
+
"database"
|
|
41
45
|
],
|
|
42
46
|
"files": [
|
|
43
47
|
"dist",
|
|
44
48
|
"LICENSE",
|
|
45
49
|
"README.md"
|
|
46
|
-
]
|
|
50
|
+
],
|
|
51
|
+
"repository": {
|
|
52
|
+
"type": "git",
|
|
53
|
+
"url": "https://github.com/noorixorg/nauth"
|
|
54
|
+
},
|
|
55
|
+
"homepage": "https://nauth.dev",
|
|
56
|
+
"exports": {
|
|
57
|
+
".": {
|
|
58
|
+
"types": "./dist/index.d.ts",
|
|
59
|
+
"require": "./dist/index.js",
|
|
60
|
+
"default": "./dist/index.js"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"sideEffects": false
|
|
47
64
|
}
|