Skip to content

v0.1.2 - Updated Provider types to match documentation #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
"dependencies": {
"svelte-feather-icons": "^3.3.0"
},
"version": "0.1.1"
"version": "0.1.2"
}
4 changes: 3 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down