Skip to content

Commit

Permalink
feat: add VerificationCodeMessageOptions (#14)
Browse files Browse the repository at this point in the history
* feat: add VerificationCodeMessageOptions type

* feat: change VerificationCodeMessageOptions verificationLinkParams type to string
  • Loading branch information
allisonrod authored May 2, 2023
1 parent 3f0e45f commit c928bdd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ export interface VerificationCodeOptions {
phone?: string;
}

/**
* Options for creating a VerificationCodeMessage
*/
export interface VerificationCodeMessageOptions {
email?: string;
phone?: string;
verificationLinkParams?: string;
}

/**
* Options for a Credential data
*/
Expand Down

0 comments on commit c928bdd

Please sign in to comment.