File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1232,7 +1232,7 @@ export class Clerk implements ClerkInterface {
1232
1232
const sessionIsPending = newSession ?. status === 'pending' ;
1233
1233
1234
1234
if ( sessionIsPending ) {
1235
- warnMissingPendingTaskHandlers ( params ) ;
1235
+ warnMissingPendingTaskHandlers ( { ... this . #options , ... params } ) ;
1236
1236
}
1237
1237
1238
1238
// At this point, the `session` variable should contain either an `SignedInSessionResource`
@@ -1305,7 +1305,7 @@ export class Clerk implements ClerkInterface {
1305
1305
}
1306
1306
1307
1307
const taskUrl =
1308
- sessionIsPending && this . session ?. currentTask && this . #options. taskUrls ?. [ this . session ?. currentTask . key ] ;
1308
+ sessionIsPending && newSession ?. currentTask && this . #options. taskUrls ?. [ newSession ?. currentTask . key ] ;
1309
1309
const shouldNavigate = ( redirectUrl || taskUrl || setActiveNavigate ) && ! beforeEmit ;
1310
1310
if ( shouldNavigate ) {
1311
1311
await tracker . track ( async ( ) => {
Original file line number Diff line number Diff line change 1
1
import { deprecated } from '@clerk/shared/deprecated' ;
2
2
import type {
3
- ProtectProps as _ProtectProps ,
4
3
HandleOAuthCallbackParams ,
5
4
PendingSessionOptions ,
5
+ ProtectProps as _ProtectProps ,
6
6
RedirectOptions ,
7
7
} from '@clerk/types' ;
8
8
import { defineComponent } from 'vue' ;
You can’t perform that action at this time.
0 commit comments