Commit Graph

3 Commits

Author SHA1 Message Date
gbuomprisco
f7a5202c51 Improve errors and description of the Zod object responsible for parsing the Supabase keys. 2025-01-13 02:33:58 +07:00
giancarlo
87e8376af6 Refactor key access and role warning in Supabase clients
The update simplifies accessing environment keys and role warnings in Supabase clients by moving them to new functions 'getSupabaseClientKeys' and 'getServiceRoleKey'. The redundancy in the code is reduced promoting clearer and more maintainable code. The '@epic-web/invariant' import has been removed from files as it is no longer needed.
2024-04-13 12:57:56 +08:00
giancarlo
bce3479368 Cleanup 2024-03-24 02:23:22 +08:00