Skip to content

Commit cfca64c

Browse files
authored
Merge pull request #98 from calendee/feature/export-additional-types
feat: add type exports for client side use
2 parents 0d6e768 + f2ce337 commit cfca64c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import SupabaseClient from './SupabaseClient'
2-
import { SupabaseClientOptions } from './lib/types'
2+
import { SupabaseClientOptions, SupabaseRealtimePayload } from './lib/types'
3+
export * from '@supabase/gotrue-js'
4+
export * from '@supabase/realtime-js'
35

46
/**
57
* Creates a new Supabase Client.
@@ -12,4 +14,4 @@ const createClient = (
1214
return new SupabaseClient(supabaseUrl, supabaseKey, options)
1315
}
1416

15-
export { createClient }
17+
export { createClient, SupabaseClient, SupabaseClientOptions, SupabaseRealtimePayload }

0 commit comments

Comments
 (0)