diff --git a/package.json b/package.json index 0c6ff12..fb44a72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "next-cas-client", - "version": "1.0.2", + "version": "1.0.3", "description": "A CAS client built for Next.js to authenticate, validate tickets, and provide session management to a CAS server", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/src/index.ts b/src/index.ts index 03555d9..250ad11 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -export { getCurrentUser } from './lib/server'; +export { getCurrentUser, isLoggedIn } from './lib/server'; export { handleAuth } from './lib/handler'; export { ValidatorProtocol } from './lib/validators/validator'; export type { CasUser } from './lib/types';