Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 819666d

Browse files
fix(auth-ui-svelte): make additionalData prop optional (#217)
* fix(svelte): make additionalData prop optional * Add changeset file to bump the package version --------- Co-authored-by: Andrew Smith <a.smith@silentworks.co.uk>
1 parent 7cd0d2d commit 819666d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/tame-mails-act.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@supabase/auth-ui-svelte': patch
3+
---
4+
5+
Make additionalData optional by default

packages/svelte/src/lib/Auth/Auth.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
export let theme: 'default' | string = 'default';
3535
export let localization: { variables?: I18nVariables } = {};
3636
export let otpType: OtpType = 'email';
37-
export let additionalData: { [key: string]: any } | undefined;
37+
export let additionalData: { [key: string]: any } | undefined = undefined;
3838
3939
onMount(() => {
4040
const { data: authListener } = supabaseClient.auth.onAuthStateChange((event) => {

0 commit comments

Comments
 (0)