From e87d3f58569f74b24106e2f1221e0a4b3f43afdc Mon Sep 17 00:00:00 2001 From: Peter Phanouvong Date: Thu, 9 Nov 2023 13:39:06 +1100 Subject: [PATCH 1/2] 2.0.4 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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", From 7cdbbd99e1c25b2495140f59cbb4085ce78663fa Mon Sep 17 00:00:00 2001 From: Peter Phanouvong Date: Fri, 10 Nov 2023 11:30:08 +1100 Subject: [PATCH 2/2] fix: import instead of require cookie --- src/session/sessionManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'; /** *