ideal-auth 0.5.0 → 0.5.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 CHANGED
@@ -15,7 +15,7 @@ bun add ideal-auth
15
15
  ## Generate Secrets
16
16
 
17
17
  ```bash
18
- # Session secret (required — used by createAuth)
18
+ # IDEAL_AUTH_SECRET (required — used by createAuth)
19
19
  bunx ideal-auth secret
20
20
  # IDEAL_AUTH_SECRET=aLThikMgJKMBB5WZLE-lCaOQUdgPWU8BHRv99bkYaVY
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ideal-auth",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Auth primitives for the JS ecosystem. Zero framework dependencies.",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -1742,7 +1742,7 @@ redirect(safeRedirect(redirectTo, '/dashboard'));
1742
1742
 
1743
1743
  | Setting | Default | Notes |
1744
1744
  |---------|---------|-------|
1745
- | Session secret | 32+ chars | Validated at startup |
1745
+ | `IDEAL_AUTH_SECRET` | 32+ chars | Validated at startup |
1746
1746
  | Cookie name | `ideal_session` | Customizable |
1747
1747
  | Session maxAge | 604,800s (7 days) | Standard session |
1748
1748
  | Remember maxAge | 2,592,000s (30 days) | Remember me |