Files
myeasycms-v2/packages/supabase
giancarlo 51a90bde83 Improve user session handling in middleware
The changes add user session handling directly in the middleware. This ensures the user data is fetched at the start of a request and then passed on to route handlers, reducing repeated data fetching. Also, these improvements include adjustments for how sign-out and auth-change events are managed, particularly when the user session state changes. Additionally, it corrects the error response from useUser hook to return `undefined` instead of `null`.
2024-04-28 13:20:25 +07:00
..
2024-04-27 14:39:28 +07:00
2024-03-24 02:23:22 +08:00

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": "*"
    }
}