supabase_common

Warning

This is an internal package. It is an implementation detail of the Supabase client packages and is not intended to be consumed directly. Breaking changes can be expected as the client packages evolve, so please do not depend on it directly.

Shared internal utilities used across the Supabase Dart and Flutter client packages (supabase_auth, postgrest, supabase_realtime, supabase_storage, iceberg, supabase_functions, supabase, supabase_flutter).

This package holds code that would otherwise be duplicated across those packages: the SupabaseException base class the auth, postgrest, realtime, storage, iceberg and functions exceptions extend, the shared HttpMethod enum and HTTP request helpers, the X-Client-Info header builder, platform detection, a small replay stream subject, base64url/PKCE helpers and a few other primitives. It also holds the Postgres value types, such as PostgresDate and PostgresRange, which postgrest re-exports as public API.

Libraries

supabase_common
Shared internal utilities used across the Supabase client packages, and the Postgres value types they re-export, such as PostgresDate.
testing
Configuration of the local Supabase CLI stack that the integration tests of the client packages run against.