File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ export { createMiddleware } from 'npm:hono@^4.0.0/factory'
33export { getCookie , setCookie } from 'npm:hono@^4.0.0/cookie'
44export type { CookieOptions } from 'npm:hono@^4.0.0/utils/cookie'
55export * as Iron from 'npm:iron-webcrypto@^1.2.1'
6- export { default as hash } from 'npm:hash-object@^5 '
6+ export { hash } from 'npm:ohash@^2 '
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export function sessionMiddleware(options: SessionOptions): MiddlewareHandler {
1111 const expireAfterSeconds = options . expireAfterSeconds
1212 const cookieOptions = options . cookieOptions
1313 const sessionCookieName = options . sessionCookieName || 'session'
14- const autoExtendExpiration = options . autoExtendExpiration ?? false
14+ const autoExtendExpiration = options . autoExtendExpiration ?? true
1515
1616 if ( options . encryptionKey !== undefined ) {
1717 if ( typeof options . encryptionKey === 'function' ) {
You can’t perform that action at this time.
0 commit comments