v0.3.0
What's Changed
In order to resolve #114, I have made the choice to separate the useSupabaseClient in two other composables:
- The
useSupabaseAuthClientis dedicated to authentification purpose only. It won't be recreate if your token expires, it is used in the client plugin to listen toonAuthStateChangeevents. - The
useSupabaseClientis 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