@@ -113,7 +113,10 @@ type IsomorphicLoadedClerk = Without<
113
113
buildOrganizationProfileUrl : ( ) => string | void ;
114
114
// TODO: Align return type
115
115
buildUrlWithAuth : ( to : string , opts ?: BuildUrlWithAuthParams | undefined ) => string | void ;
116
-
116
+ // TODO: Align return type
117
+ buildAfterSignInUrl : ( ) => string | void ;
118
+ // TODO: Align return type
119
+ buildAfterSignUpUrl : ( ) => string | void ;
117
120
// TODO: Align optional props
118
121
mountUserButton : ( node : HTMLDivElement , props : UserButtonProps ) => void ;
119
122
mountOrganizationList : ( node : HTMLDivElement , props : OrganizationListProps ) => void ;
@@ -259,6 +262,24 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk {
259
262
}
260
263
} ;
261
264
265
+ buildAfterSignInUrl = ( ) : string | void => {
266
+ const callback = ( ) => this . clerkjs ?. buildAfterSignInUrl ( ) || '' ;
267
+ if ( this . clerkjs && this . #loaded) {
268
+ return callback ( ) ;
269
+ } else {
270
+ this . premountMethodCalls . set ( 'buildAfterSignInUrl' , callback ) ;
271
+ }
272
+ } ;
273
+
274
+ buildAfterSignUpUrl = ( ) : string | void => {
275
+ const callback = ( ) => this . clerkjs ?. buildAfterSignUpUrl ( ) || '' ;
276
+ if ( this . clerkjs && this . #loaded) {
277
+ return callback ( ) ;
278
+ } else {
279
+ this . premountMethodCalls . set ( 'buildAfterSignUpUrl' , callback ) ;
280
+ }
281
+ } ;
282
+
262
283
buildUserProfileUrl = ( ) : string | void => {
263
284
const callback = ( ) => this . clerkjs ?. buildUserProfileUrl ( ) || '' ;
264
285
if ( this . clerkjs && this . #loaded) {
0 commit comments