Skip to content

Commit

Permalink
chore: add friendly name to enroll response (#812)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?

We introduced friendly name in the response of `enroll` a while back:
supabase/auth#1277

This PR adds the field to the client library response

---------

Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Stojan Dimitrovski <[email protected]>
  • Loading branch information
3 people authored Jan 19, 2024
1 parent 3c74318 commit 5d4fdb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,8 @@ export type AuthMFAEnrollResponse =
* to use it. Avoid loggin this value to the console. */
uri: string
}
/** Friendly name of the factor, useful for distinguishing between factors **/
friendly_name?: string
}
error: null
}
Expand Down

0 comments on commit 5d4fdb5

Please sign in to comment.