@lacspace/lock 1.0.1 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +10 -2
package/README.md CHANGED
@@ -71,4 +71,20 @@ if (await verifyPassword(input, stored)) {
71
71
  | [`@lacspace/headers`](https://www.npmjs.com/package/@lacspace/headers) | Secure headers / CSP |
72
72
  | [`@lacspace/redact`](https://www.npmjs.com/package/@lacspace/redact) | Log redaction |
73
73
 
74
+ ## Licensing
75
+
76
+ This package is **free** under the **[Lacspace Free Licence](https://lacspace.com/licenses/lacspace-free-1.0)** — MIT-equivalent freedoms. Use it in personal and commercial projects at no cost; just keep the notice.
77
+
78
+ Not every Lacspace package is free. We also offer **Commercial** (paid), **Client-specific**, and **Private** (proprietary) packages under separate terms. See the full **[Lacspace Licence Centre](https://lacspace.com/licenses)**.
79
+
80
+ ---
81
+
82
+ <div align="center">
83
+
84
+ **Part of the Lacspace ecosystem — 35 zero-dependency, isomorphic TypeScript packages.**
85
+
86
+ [All packages ↗](https://lacspace.com/packages) · [npm org ↗](https://www.npmjs.com/org/lacspace) · [Licence Centre ↗](https://lacspace.com/licenses) · [GitHub ↗](https://github.com/lacspace/npm-packages)
87
+
88
+ </div>
89
+
74
90
  <div align="center"><sub>Built with care by <a href="https://lacspace.com">Lacspace</a> · Lacspace Free Licence · <a href="https://github.com/lacspace/npm-packages">source</a></sub></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lacspace/lock",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Account lockout & brute-force protection (server lock) — N-strikes, exponential backoff, self-resetting window, pluggable store. Zero-dependency, isomorphic.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -34,7 +34,12 @@
34
34
  "backoff",
35
35
  "auth",
36
36
  "security",
37
- "typescript"
37
+ "typescript",
38
+ "throttle-login",
39
+ "failed-login",
40
+ "exponential-backoff",
41
+ "credential-stuffing",
42
+ "rate-limit"
38
43
  ],
39
44
  "author": "Lacspace <contact@lacspace.com>",
40
45
  "license": "SEE LICENSE IN LICENSE",
@@ -49,5 +54,8 @@
49
54
  },
50
55
  "engines": {
51
56
  "node": ">=18"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public"
52
60
  }
53
61
  }