diff --git a/package.json b/package.json index b4fc8c4ca..fcc3f3cc6 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,8 @@ "prepublishOnly": "yarn run build" }, "dependencies": { - "iron-session": "~6.3.1", + "@types/cookie": "^0.6.0", + "iron-session": "~8.0.3", "jose": "~5.6.3", "pluralize": "8.0.0" }, diff --git a/src/common/iron-session/edge-iron-session-provider.ts b/src/common/iron-session/edge-iron-session-provider.ts index ffcbc60cb..46f06009a 100644 --- a/src/common/iron-session/edge-iron-session-provider.ts +++ b/src/common/iron-session/edge-iron-session-provider.ts @@ -1,4 +1,4 @@ -import { sealData, unsealData } from 'iron-session/edge'; +import { sealData, unsealData } from 'iron-session'; import { IronSessionProvider, SealDataOptions,