• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-js / 15874278845

25 Jun 2025 10:46AM UTC coverage: 72.889%. Remained the same
15874278845

Pull #1468

github

web-flow
Merge e03bdb03f into 008063e4e
Pull Request #1468: fix: bump realtime-js to 2.11.15

55 of 93 branches covered (59.14%)

Branch coverage included in aggregate %.

109 of 132 relevant lines covered (82.58%)

8.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/index.ts
1
import SupabaseClient from './SupabaseClient'
1✔
2
import type { GenericSchema, SupabaseClientOptions } from './lib/types'
3

4
export * from '@supabase/auth-js'
1✔
5
export type { User as AuthUser, Session as AuthSession } from '@supabase/auth-js'
6
export {
1✔
7
  type PostgrestResponse,
8
  type PostgrestSingleResponse,
9
  type PostgrestMaybeSingleResponse,
10
  PostgrestError,
1✔
11
} from '@supabase/postgrest-js'
12
export {
1✔
13
  FunctionsHttpError,
1✔
14
  FunctionsFetchError,
1✔
15
  FunctionsRelayError,
1✔
16
  FunctionsError,
1✔
17
  type FunctionInvokeOptions,
18
  FunctionRegion,
1✔
19
} from '@supabase/functions-js'
20
export * from '@supabase/realtime-js'
1✔
21
export { default as SupabaseClient } from './SupabaseClient'
2✔
22
export type { SupabaseClientOptions, QueryResult, QueryData, QueryError } from './lib/types'
23

24
/**
25
 * Creates a new Supabase Client.
26
 */
27
export const createClient = <
1✔
28
  Database = any,
29
  SchemaName extends string & keyof Database = 'public' extends keyof Database
30
    ? 'public'
31
    : string & keyof Database,
32
  Schema extends GenericSchema = Database[SchemaName] extends GenericSchema
33
    ? Database[SchemaName]
34
    : any
35
>(
36
  supabaseUrl: string,
37
  supabaseKey: string,
38
  options?: SupabaseClientOptions<SchemaName>
39
): SupabaseClient<Database, SchemaName, Schema> => {
40
  return new SupabaseClient<Database, SchemaName, Schema>(supabaseUrl, supabaseKey, options)
20✔
41
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc