@focura/auth-core 1.0.0 → 1.1.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 +407 -25
- package/dist/index.d.ts +182 -93
- package/dist/index.js +410 -131
- package/dist/index.js.map +1 -1
- package/package.json +23 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@focura/auth-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Production-ready authentication core for Express.js backends. Dual-token RS256 JWT architecture with session binding, token rotation, 2FA, account lockout, and audit logging.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,7 +12,11 @@
|
|
|
12
12
|
"types": "./dist/index.d.ts"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
"files": [
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
16
20
|
"scripts": {
|
|
17
21
|
"build": "tsup",
|
|
18
22
|
"dev": "tsup --watch",
|
|
@@ -30,8 +34,12 @@
|
|
|
30
34
|
"ioredis": "^5.0.0"
|
|
31
35
|
},
|
|
32
36
|
"peerDependenciesMeta": {
|
|
33
|
-
"express": {
|
|
34
|
-
|
|
37
|
+
"express": {
|
|
38
|
+
"optional": false
|
|
39
|
+
},
|
|
40
|
+
"ioredis": {
|
|
41
|
+
"optional": false
|
|
42
|
+
}
|
|
35
43
|
},
|
|
36
44
|
"devDependencies": {
|
|
37
45
|
"@types/express": "^5.0.0",
|
|
@@ -39,7 +47,17 @@
|
|
|
39
47
|
"tsup": "^8.0.0",
|
|
40
48
|
"typescript": "^5.9.3"
|
|
41
49
|
},
|
|
42
|
-
"keywords": [
|
|
50
|
+
"keywords": [
|
|
51
|
+
"auth",
|
|
52
|
+
"authentication",
|
|
53
|
+
"jwt",
|
|
54
|
+
"rs256",
|
|
55
|
+
"session",
|
|
56
|
+
"2fa",
|
|
57
|
+
"express",
|
|
58
|
+
"middleware",
|
|
59
|
+
"security"
|
|
60
|
+
],
|
|
43
61
|
"license": "MIT",
|
|
44
62
|
"repository": {
|
|
45
63
|
"type": "git",
|