import NextAuth from "next-auth";
import { authConfig } from "./auth.config.js";

// Lightweight NextAuth instance for Edge runtime (middleware).
// Does not import any native modules — only verifies JWT sessions.
export const { auth } = NextAuth(authConfig);
