diff --git a/package.json b/package.json index 07eacd2..374a3b4 100644 --- a/package.json +++ b/package.json @@ -39,5 +39,5 @@ "dependencies": { "svelte-feather-icons": "^3.3.0" }, - "version": "0.1.1" + "version": "0.1.2" } diff --git a/src/index.d.ts b/src/index.d.ts index 28a5083..041a9e1 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,9 +1,11 @@ import type { SvelteComponentTyped } from 'svelte' import type { SupabaseClient } from '@supabase/supabase-js' +export type Providers = 'azure' | 'bitbucket' | 'discord' | 'facebook' | 'github' | 'gitlab' | 'google'; + export interface AuthProps { supabaseClient: SupabaseClient - providers?: ('azure' | 'bitbucket' | 'facebook' | 'github' | 'gitlab' | 'google')[] + providers?: Providers[] view?: 'sign_in' | 'sign_up' | 'magic_link' | 'forgotten_password' classes?: string style?: string