⚠️ BREAKING CHANGES ⚠️
What's Changed
In order to resolve #114, I have made the choice to separate the useSupabaseClient
in two other composables:
- The
useSupabaseAuthClient
is dedicated to authentification purpose only. It won't be recreate if your token expires, it is used in the client plugin to listen toonAuthStateChange
events. - The
useSupabaseClient
is now only useful for data request.
To avoid regression you just need to use useSupabaseAuthClient
instead of useSupabaseClient
everywhere you use Supabase auth methods.
Documentation has been updated.
Full Changelog: v0.2.6...v0.3.0