hono-sessions 0.4.1 → 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.
@@ -10,5 +10,5 @@ interface SessionOptions {
10
10
  sessionCookieName?: string;
11
11
  }
12
12
  /** Function that returns a Hono-compatible session middleware */
13
- export declare function sessionMiddleware(options: SessionOptions): MiddlewareHandler<any, any, {}>;
13
+ export declare function sessionMiddleware(options: SessionOptions): MiddlewareHandler;
14
14
  export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "module": "./esm/mod.js",
3
3
  "main": "./script/mod.js",
4
4
  "name": "hono-sessions",
5
- "version": "0.4.1",
5
+ "version": "0.5.1",
6
6
  "description": "Cookie-based sessions for Hono web framework",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -27,7 +27,7 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "hono": "^3.12.8",
30
+ "hono": "^4.0.0",
31
31
  "iron-webcrypto": "0.10.1"
32
32
  }
33
33
  }
@@ -10,5 +10,5 @@ interface SessionOptions {
10
10
  sessionCookieName?: string;
11
11
  }
12
12
  /** Function that returns a Hono-compatible session middleware */
13
- export declare function sessionMiddleware(options: SessionOptions): MiddlewareHandler<any, any, {}>;
13
+ export declare function sessionMiddleware(options: SessionOptions): MiddlewareHandler;
14
14
  export {};