diff --git a/package-lock.json b/package-lock.json index 3ac591f..ffaf388 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.0.1-beta.10", + "version": "2.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.0.1-beta.10", + "version": "2.0.4", "dependencies": { "@kinde-oss/kinde-typescript-sdk": "^2.2.3", "cookie": "^0.5.0", diff --git a/package.json b/package.json index cecc8f0..9cfe7ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.0.1-beta.10", + "version": "2.0.4", "description": "Kinde Auth SDK for NextJS", "type": "module", "module": "dist/index.js", diff --git a/src/session/sessionManager.js b/src/session/sessionManager.js index d4fbf8f..391f80a 100644 --- a/src/session/sessionManager.js +++ b/src/session/sessionManager.js @@ -1,7 +1,6 @@ import {isAppRouter} from '../utils/isAppRouter'; import {cookies} from 'next/headers'; - -var cookie = require('cookie'); +import cookie from 'cookie'; /** *