@fitzzero/quickdraw-core 3.9.0 → 3.9.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.
@@ -1092,7 +1092,7 @@ interface CookieResponse {
1092
1092
  interface SessionCookieOptions {
1093
1093
  /** Cookie name. Default: "session". */
1094
1094
  cookieName?: string;
1095
- /** Lifetime in ms. Default: 30 days. */
1095
+ /** Lifetime in ms. Default: 7 days (matches the default JWT expiry). */
1096
1096
  maxAgeMs?: number;
1097
1097
  /** Cookie domain. Defaults to process.env.COOKIE_DOMAIN. */
1098
1098
  domain?: string;
@@ -2145,7 +2145,7 @@ function registerMockOAuthProvider(router, options) {
2145
2145
 
2146
2146
  // src/server/auth/sessionCookie.ts
2147
2147
  var SESSION_COOKIE = "session";
2148
- var DEFAULT_MAX_AGE_MS = 30 * 24 * 60 * 60 * 1e3;
2148
+ var DEFAULT_MAX_AGE_MS = 7 * 24 * 60 * 60 * 1e3;
2149
2149
  function cookieOptions(options) {
2150
2150
  const isProd = process.env.NODE_ENV === "production";
2151
2151
  const domain = options.domain ?? process.env.COOKIE_DOMAIN;