@nauth-toolkit/storage-redis 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 +4 -4
- package/package.json +25 -7
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @nauth-toolkit/storage-redis
|
|
2
2
|
|
|
3
|
-
Redis storage
|
|
3
|
+
Redis session storage for [nauth-toolkit](https://nauth.dev).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Stores sessions, rate limit counters, and distributed locks in Redis. Compatible with Redis and Dragonfly. Designed for production deployments that need fast session lookups and horizontal scaling.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Uses the `redis` (node-redis) package.
|
|
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/storage-redis",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "Redis storage
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Redis session storage for nauth-toolkit — supports Redis and Dragonfly",
|
|
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
|
"redis": "^4.6.0 || ^5.0.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
@@ -31,17 +31,35 @@
|
|
|
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",
|
|
42
|
+
"session",
|
|
39
43
|
"redis",
|
|
40
|
-
"dragonfly"
|
|
44
|
+
"dragonfly",
|
|
45
|
+
"cache"
|
|
41
46
|
],
|
|
42
47
|
"files": [
|
|
43
48
|
"dist",
|
|
44
49
|
"LICENSE",
|
|
45
50
|
"README.md"
|
|
46
|
-
]
|
|
51
|
+
],
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "https://github.com/noorixorg/nauth"
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://nauth.dev",
|
|
57
|
+
"exports": {
|
|
58
|
+
".": {
|
|
59
|
+
"types": "./dist/index.d.ts",
|
|
60
|
+
"require": "./dist/index.js",
|
|
61
|
+
"default": "./dist/index.js"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"sideEffects": false
|
|
47
65
|
}
|