Skip to content

Commit d9b5c7d

Browse files
authored
docs(repo): Update description of isSatellite prop for satellite domains guide (#8845)
1 parent f4167ec commit d9b5c7d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.changeset/silver-poems-repeat.md‎

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+
Clarify the `isSatellite` JSDoc to note it must be set in `load()`, unlike `domain`, which is set in the `Clerk` constructor. This corrects the generated API reference for direct `@clerk/clerk-js` and `<script>` consumers, where `load()` is the only way to configure a satellite app.

‎packages/shared/src/types/clerk.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ export type ClerkOptions = ClerkOptionsNavigation &
13961396
*/
13971397
allowedRedirectProtocols?: Array<string>;
13981398
/**
1399-
* Indicates whether the application is a satellite application.
1399+
* Indicates whether the current application should behave as a satellite app. Unlike `domain`, which must be set in the [`Clerk` constructor](https://clerk.com/docs/reference/objects/clerk), `isSatellite` must be set in [`load()`](https://clerk.com/docs/reference/objects/clerk#load).
14001400
*/
14011401
isSatellite?: boolean | ((url: URL) => boolean);
14021402
/**

0 commit comments

Comments
 (0)