Replaced the requireAuth method with requireUser to improve clarity and modified all instances where it was used. Renamed the import throughout multiple files and services and made changes accordingly, thus making it more specific and understandable that a logged-in user is needed. The return type of the method was also updated from Session to User to more accurately reflect the information it provides.
Supabase - @kit/supabase
This package is responsible for managing the Supabase client and various utilities related to Supabase.
Make sure the app installs the @kit/supabase package before using it.
{
"name": "my-app",
"dependencies": {
"@kit/supabase": "*"
}
}