Fixes a warning that NextJS was giving for the use of cookies(). It turns out that the warning only occurs if you call cookies() inside a try/catch block.
Also fixed a type mismatch that iron-session has with the NextJS cookie store type, by directly depending on @types/cookie 0.6.0.
Closes https://linear.app/0xparc-pcd/issue/0XP-766/zuath-build-warning
Fixes a warning that NextJS was giving for the use of
cookies()
. It turns out that the warning only occurs if you callcookies()
inside a try/catch block.Also fixed a type mismatch that
iron-session
has with the NextJS cookie store type, by directly depending on@types/cookie
0.6.0.