Skip to content

Commit

Permalink
fix: handle new auth state event
Browse files Browse the repository at this point in the history
  • Loading branch information
j4w8n committed Dec 2, 2024
1 parent 9524528 commit e717a18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/createServerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export function createServerClient<
event === "USER_UPDATED" ||
event === "PASSWORD_RECOVERY" ||
event === "SIGNED_OUT" ||
event === "STORAGE_UPDATED" ||

Check failure on line 194 in src/createServerClient.ts

View workflow job for this annotation

GitHub Actions / Build and test

This comparison appears to be unintentional because the types '"INITIAL_SESSION" | "MFA_CHALLENGE_VERIFIED"' and '"STORAGE_UPDATED"' have no overlap.
event === "MFA_CHALLENGE_VERIFIED")
) {
await applyServerStorage(
Expand Down

0 comments on commit e717a18

Please sign in to comment.