[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Updated some dependencies (incl. @supabase/ssr)
I moved the provide for the client in both plugins before the first await (instead of returning it at the end). This is because we found some Sentry logs that showed one of our plugins with an async setup method not having provided early enough which lead to "Right side of assignment could not be destructured" even though I would have expected that the app only runs once the plugins' setup is finished and everything is provided. Since I made the change, the errors have stopped. @larbish is this necessary or how could the provide have gone wrong in an async context?
Checklist:
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)
Types of changes
Description
@supabase/ssr
)provide
for the client in both plugins before the firstawait
(instead of returning it at the end). This is because we found some Sentry logs that showed one of our plugins with anasync setup
method not having provided early enough which lead to "Right side of assignment could not be destructured" even though I would have expected that the app only runs once the plugins'setup
is finished and everything is provided. Since I made the change, the errors have stopped. @larbish is this necessary or how could the provide have gone wrong in an async context?Checklist: