next-auth
Advanced tools
Comparing version
import type { NextRequest } from "next/server"; | ||
import type { Awaitable } from "@auth/core/types"; | ||
/** | ||
@@ -8,3 +7,3 @@ * AppRouteHandlerFnContext is the context that is passed to the handler as the | ||
export type AppRouteHandlerFnContext = { | ||
params: Awaitable<Record<string, string | string[]>>; | ||
params: Promise<any>; | ||
}; | ||
@@ -11,0 +10,0 @@ /** |
{ | ||
"name": "next-auth", | ||
"version": "5.0.0-beta.26", | ||
"version": "5.0.0-beta.27", | ||
"description": "Authentication for Next.js", | ||
@@ -103,3 +103,3 @@ "homepage": "https://nextjs.authjs.dev", | ||
"dotenv": "^10.0.0", | ||
"next": "15.0.0-rc.1", | ||
"next": "15.3.1", | ||
"nodemailer": "^6.9.3", | ||
@@ -106,0 +106,0 @@ "react": "^18.2.0" |
// @ts-expect-error Next.js does not yet correctly use the `package.json#exports` field | ||
import type { NextRequest } from "next/server" | ||
import type { Awaitable } from "@auth/core/types" | ||
@@ -10,3 +9,3 @@ /** | ||
export type AppRouteHandlerFnContext = { | ||
params: Awaitable<Record<string, string | string[]>> | ||
params: Promise<any> | ||
} | ||
@@ -13,0 +12,0 @@ /** |
Sorry, the diff of this file is not supported yet
199708
-0.13%3945
-0.05%