-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Next.js >= 13.2 #6
base: main
Are you sure you want to change the base?
Conversation
fixed: sam3d#4 `ensureApiPage` was removed in v13.1.7-cannary.14 https://github.com/vercel/next.js/pull/45716/files#diff-2f6fd5a9538abfaf3d5b76a82a8d1ffa029f84a36f0cdae5460520c5cfc2db6bL1402
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent spot, thank you! Please could you also update the README.md with the tested version?
I have updated the |
The typescript type check fails because it needs to be aware of both possible versions of |
I see,
But looks like |
This reverts commit f329a53.
I still kept the Not sure when i was added so can not garanti it works with a version lower than 13.1.6. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oooh I like this solution! Please could you change it to just ensureEdgeFunction
and I will give it a test and merge?
Changed ensurePage to use ensureEdgeFunction Change it to just ensureEdgeFunction
Fixes #4
ensureApiPage
was removed inv13.1.7-canary.14
https://github.com/vercel/next.js/pull/45716/files#diff-2f6fd5a9538abfaf3d5b76a82a8d1ffa029f84a36f0cdae5460520c5cfc2db6bL1402