hono 3.4.0 → 3.4.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.
|
@@ -21,7 +21,7 @@ __export(mod_exports, {
|
|
|
21
21
|
handle: () => import_handler.handle
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(mod_exports);
|
|
24
|
-
var import_handler = require("./handler
|
|
24
|
+
var import_handler = require("./handler");
|
|
25
25
|
// Annotate the CommonJS export names for ESM import in node:
|
|
26
26
|
0 && (module.exports = {
|
|
27
27
|
handle
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Context } from 'https://edge.netlify.com/';
|
|
2
|
+
import type { Hono } from '../../';
|
|
2
3
|
export declare type Env = {
|
|
3
4
|
Bindings: {
|
|
4
5
|
context: Context;
|
|
5
6
|
};
|
|
6
7
|
};
|
|
7
|
-
export declare const handle: (app: Hono<any, any>) => (req: Request, context: Context) =>
|
|
8
|
+
export declare const handle: (app: Hono<any, any>) => (req: Request, context: Context) => Response | Promise<Response>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { handle } from './handler
|
|
2
|
-
export type { Env } from './handler
|
|
1
|
+
export { handle } from './handler';
|
|
2
|
+
export type { Env } from './handler';
|