@@ -48,6 +48,7 @@ import type {
4848 SignUpResource ,
4949 State ,
5050 TaskChooseOrganizationProps ,
51+ TaskResetPasswordProps ,
5152 TasksRedirectOptions ,
5253 UnsubscribeCallback ,
5354 UserAvatarProps ,
@@ -150,7 +151,7 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk {
150151 private premountAPIKeysNodes = new Map < HTMLDivElement , APIKeysProps | undefined > ( ) ;
151152 private premountOAuthConsentNodes = new Map < HTMLDivElement , __internal_OAuthConsentProps | undefined > ( ) ;
152153 private premountTaskChooseOrganizationNodes = new Map < HTMLDivElement , TaskChooseOrganizationProps | undefined > ( ) ;
153-
154+ private premountTaskResetPasswordNodes = new Map < HTMLDivElement , TaskResetPasswordProps | undefined > ( ) ;
154155 // A separate Map of `addListener` method calls to handle multiple listeners.
155156 private premountAddListenerCalls = new Map <
156157 ListenerCallback ,
@@ -1218,6 +1219,22 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk {
12181219 }
12191220 } ;
12201221
1222+ mountTaskResetPassword = ( node : HTMLDivElement , props ?: TaskResetPasswordProps ) : void => {
1223+ if ( this . clerkjs && this . loaded ) {
1224+ this . clerkjs . mountTaskResetPassword ( node , props ) ;
1225+ } else {
1226+ this . premountTaskResetPasswordNodes . set ( node , props ) ;
1227+ }
1228+ } ;
1229+
1230+ unmountTaskResetPassword = ( node : HTMLDivElement ) : void => {
1231+ if ( this . clerkjs && this . loaded ) {
1232+ this . clerkjs . unmountTaskResetPassword ( node ) ;
1233+ } else {
1234+ this . premountTaskResetPasswordNodes . delete ( node ) ;
1235+ }
1236+ } ;
1237+
12211238 addListener = ( listener : ListenerCallback ) : UnsubscribeCallback => {
12221239 if ( this . clerkjs ) {
12231240 return this . clerkjs . addListener ( listener ) ;
0 commit comments