@thorwebdev Any update on a possible release with the changes to the monorepo? It's been a month since the issue of a version mismatch with React was reported (this ticket) and I'm really looking forward to getting the auth helper in my project since it's the recommended way to handle auth moving forward 😄
@mirkoisaia I've tried removing @supabase/ui
from a local clone of the repo but I'm getting a bunch of type errors. What did you do to get it to work locally? (Whilst we wait for this to be fixed)
Remove supabase ui
Merge branch 'next' of github.com:Murkrage/supabase-auth-helpers into next
I'm not sure if that makes sense for an auth helper, to be honest. I'd expect it to be UI agnostic. Since @supabase/ui
exists I would expect an easy API on that side to get it all to work.
Remove supabase/ui dependency
To be precise
"@supabase/ui": "^0.36.3",
is the culprit, as it requiresreact@"^16.13.1 || ^17.0.1" from @supabase/ui@0.36.4
if you clone the repository of auth-helpers and then proceed to remove supabase/ui from dependencies, then build and it works.
it will be missing supabase ui, but a force npm install closed the circle for me.
I'm wondering why @supabase/ui
is required for the auth helpers. Can't seem to find a reference of it in the auth helpers at all.