@jant/core 0.3.0 → 0.3.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/dist/auth.js CHANGED
@@ -26,7 +26,7 @@ export function createAuth(d1, options) {
26
26
  minPasswordLength: 8
27
27
  },
28
28
  session: {
29
- expiresIn: 3600 * 24 * 365 * 10,
29
+ expiresIn: 3600 * 24 * 366,
30
30
  cookieCache: {
31
31
  enabled: true,
32
32
  maxAge: 60 * 5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jant/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A modern, open-source microblogging platform built on Cloudflare Workers",
5
5
  "type": "module",
6
6
  "bin": {
package/src/auth.ts CHANGED
@@ -31,7 +31,7 @@ export function createAuth(
31
31
  minPasswordLength: 8,
32
32
  },
33
33
  session: {
34
- expiresIn: 3600 * 24 * 365 * 10, // 10 years
34
+ expiresIn: 3600 * 24 * 366, // 366 days
35
35
  cookieCache: {
36
36
  enabled: true,
37
37
  maxAge: 60 * 5, // 5 minutes