Skip to content

Commit 6f97ef5

Browse files
authored
docs(shared): fix touchSession Frontend API link (#9097)
1 parent 5f2e749 commit 6f97ef5

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/shared': patch
3+
---
4+
5+
Fix the `touchSession` option documentation to link directly to the Frontend API touch endpoint.

packages/shared/src/types/clerk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ export type ClerkOptions = ClerkOptionsNavigation &
14011401
*/
14021402
supportEmail?: string;
14031403
/**
1404-
* By default, the [Clerk Frontend API `touch` endpoint](https://clerk.com/docs/reference/frontend-api/tag/Sessions#operation/touchSession){{ target: '_blank' }} is called during page focus to keep the last active session alive. This option allows you to disable this behavior.
1404+
* By default, the [Clerk Frontend API `touch` endpoint](https://clerk.com/docs/reference/frontend-api/tag/sessions/POST/v1/client/sessions/%7Bsession_id%7D/touch){{ target: '_blank' }} is called during page focus to keep the last active session alive. This option allows you to disable this behavior.
14051405
*/
14061406
touchSession?: boolean;
14071407
/**

0 commit comments

Comments
 (0)