Is there any documentation for the breaking changes?
I am using email/password recipe for node backend and vanila js frontend. I see certain changes on the docs site and trying to follow that.
1. To install on frontend,
supertokens-website.js
import seems to be replaced with
supertokens.js
and
session.js
But this replacement had breaking changes, few I can see as following on the frontend side
2.
supertokens.init()
function now seems to have different options schema.
supertokens.init({apiDomain: ....})
seems to be replaced with
supertokens.init({appInfo: {apiDomain: ....}})
.
3.
appInfo
object
appName
and
recipeList
property seems to have become mandatory (earlier they were optional)
4.
supertokens.signOut
fn seems to be removed. Will need to dig through doc for the replacement.
I am figuring these out as I see the errors popping up. It will be great if we can have a documentation of the breaking changes and if possible, a migration guide