UNPKG

@rescale/nemo

Version:

A middleware composition library for Next.js applications that allows you to organize and chain middleware functions based on URL patterns.

16 lines (13 loc) 554 B
import { a as NextMiddlewareResult } from './types--9jM0uBl.js'; import 'next/server'; import 'next/dist/server/after/builtin-request-context'; import './storage/adapter.js'; /** * Compares two NextResponse instances for deep equality * * @param response1 - First NextResponse to compare * @param response2 - Second NextResponse to compare * @returns boolean indicating if the responses are equivalent */ declare function areResponsesEqual(response1: NextMiddlewareResult, response2: NextMiddlewareResult): boolean; export { areResponsesEqual };