Skip to content

Commit d467a8b

Browse files
committed
fix(react): Add methods to state proxy
1 parent c69e298 commit d467a8b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.changeset/gold-seals-sort.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
'@clerk/clerk-js': minor
3+
'@clerk/react': minor
34
'@clerk/shared': minor
45
---
56

packages/react/src/stateProxy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ export class StateProxy implements State {
175175
mfa: this.wrapMethods(() => target().mfa, [
176176
'sendPhoneCode',
177177
'verifyPhoneCode',
178+
'sendEmailCode',
179+
'verifyEmailCode',
178180
'verifyTOTP',
179181
'verifyBackupCode',
180182
] as const),

0 commit comments

Comments
 (0)