Comparing version 4.0.8 to 4.0.9
@@ -72,3 +72,3 @@ "use strict"; | ||
} | ||
async onAbort(listener) { | ||
onAbort(listener) { | ||
this.abortSubscribers.push(listener); | ||
@@ -75,0 +75,0 @@ } |
@@ -12,6 +12,4 @@ import type { Context } from './context'; | ||
export type Input = { | ||
in?: Partial<ValidationTargets>; | ||
out?: Partial<{ | ||
[K in keyof ValidationTargets]: unknown; | ||
}>; | ||
in?: {}; | ||
out?: {}; | ||
}; | ||
@@ -18,0 +16,0 @@ export type BlankSchema = {}; |
@@ -13,3 +13,3 @@ export declare class StreamingApi { | ||
pipe(body: ReadableStream): Promise<void>; | ||
onAbort(listener: () => void | Promise<void>): Promise<void>; | ||
onAbort(listener: () => void | Promise<void>): void; | ||
} |
@@ -50,3 +50,3 @@ // src/utils/stream.ts | ||
} | ||
async onAbort(listener) { | ||
onAbort(listener) { | ||
this.abortSubscribers.push(listener); | ||
@@ -53,0 +53,0 @@ } |
{ | ||
"name": "hono", | ||
"version": "4.0.8", | ||
"version": "4.0.9", | ||
"description": "Ultrafast web framework for the Edges", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
700907
19275