simple_network_handler_supabase 2.0.1
simple_network_handler_supabase: ^2.0.1 copied to clipboard
Supabase error handling for simple_network_handler - map AuthException, PostgrestException, StorageException and FunctionException to typed failures.
2.0.1 #
- perf: registry declarations are read once per
SupabaseHandlerinstead of on every error — implementations return map literals, so each lookup previously rebuilt the whole map and every closure in it. Declare registry getters as literals; they are now cached.
2.0.0 #
- Initial release, extracted from
simple_network_handler1.x (simple_network_handler_supabase.dartlibrary):SupabaseHandler/SupabaseNetworkHandler,SupabaseErrorRegistrywith auth/postgrest/storage/function registries, transport classification, and the built-in Supabase failures. - Migrated to the v2 API: sealed
Result<T>, factories returningFailuredirectly, instance-based handler,LocalizedFailuremixin.