auth-verify 1.2.1 → 1.2.2

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/package.json +1 -1
  2. package/readme.md +2 -2
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "uuid": "^13.0.0"
13
13
  },
14
14
  "name": "auth-verify",
15
- "version": "1.2.1",
15
+ "version": "1.2.2",
16
16
  "description": "A simple Node.js library for sending and verifying OTP via email",
17
17
  "main": "index.js",
18
18
  "scripts": {
package/readme.md CHANGED
@@ -23,11 +23,11 @@ npm install auth-verify
23
23
 
24
24
  ## ⚙️ Quick overview
25
25
 
26
- - `AuthVerify` (entry): constructs and exposes `.jwt`, `.otp`, and (optionally) `.session` managers.
26
+ - `AuthVerify` (entry): constructs and exposes `.jwt`, `.otp`, (optionally) `.session` and `.oauth` managers.
27
27
  - `JWTManager`: sign, verify, decode, revoke tokens. Supports `storeTokens: "memory" | "redis" | "none"`.
28
28
  - `OTPManager`: generate, store, send, verify, resend OTPs. Supports `storeTokens: "memory" | "redis" | "none"`. Supports email, SMS helper, Telegram bot, and custom dev senders.
29
29
  - `SessionManager`: simple session creation/verification/destroy with memory or Redis backend.
30
- - `OAuthManager`: Handle OAuth 2.0 logins for Google, Facebook, GitHub, X
30
+ - `OAuthManager`: Handle OAuth 2.0 logins for Google, Facebook, GitHub, X and Linkedin
31
31
  ---
32
32
 
33
33
  ## 🚀 Example: Initialize library (CommonJS)