next-api-middleware
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -9,3 +9,3 @@ import type { NextApiHandler, NextApiRequest, NextApiResponse } from "next"; | ||
export declare function use(...middleware: (Middleware | Middleware[])[]): (apiRouteFn: NextApiHandler<any>) => NextApiHandler<any>; | ||
export declare function label<T extends LabeledMiddleware>(middleware: T, defaults?: (keyof T)[]): (...chosenMiddleware: (keyof T | Middleware)[]) => (apiRouteFn: NextApiHandler<any>) => NextApiHandler<any>; | ||
export declare function label<T extends LabeledMiddleware>(middleware: T, defaults?: (keyof T)[]): (...chosenMiddleware: (keyof T | Middleware | Middleware[])[]) => (apiRouteFn: NextApiHandler<any>) => NextApiHandler<any>; | ||
/** | ||
@@ -12,0 +12,0 @@ * @private |
{ | ||
"name": "next-api-middleware", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "Middleware solution for Next.js API routes", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:htunnicliff/next-api-middleware.git", |
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
12155