From c665c7dcba1f4650542e1e764284b382d53ab861 Mon Sep 17 00:00:00 2001 From: Jordan Wong <42422209+JorWo@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:58:37 -1000 Subject: [PATCH] Fix support for Vitest (#37) --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a4aec3..5bfe6df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "next-cas-client", - "version": "1.3.1", + "version": "1.3.2", "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", @@ -17,16 +17,19 @@ "exports": { ".": { "types": "./dist/index.d.mts", + "node": "./dist/index.js", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./app": { "types": "./dist/app.d.mts", + "node": "./dist/app.js", "import": "./dist/app.mjs", "require": "./dist/app.js" }, "./pages": { "types": "./dist/pages.d.mts", + "node": "./dist/pages.js", "import": "./dist/pages.mjs", "require": "./dist/pages.js" }