Skip to content

Commit 0a099ed

Browse files
committed
fix(clerk-react): Add ticket methods to stateProxy
1 parent 268276b commit 0a099ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react/src/stateProxy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export class StateProxy implements State {
9191
'verifyTOTP',
9292
'verifyBackupCode',
9393
] as const),
94+
ticket: this.gateMethod(target, 'ticket'),
9495
},
9596
};
9697
}
@@ -119,6 +120,7 @@ export class StateProxy implements State {
119120
update: gateMethod(target, 'update'),
120121
sso: gateMethod(target, 'sso'),
121122
password: gateMethod(target, 'password'),
123+
ticket: gateMethod(target, 'ticket'),
122124
finalize: gateMethod(target, 'finalize'),
123125

124126
verifications: wrapMethods(() => target().verifications, [

0 commit comments

Comments
 (0)