@@ -54,14 +54,17 @@ export interface Clerk {
5454 /**
5555 * Clerk SDK version number.
5656 */
57- version ? : string ;
57+ version : string | undefined ;
5858
5959 /**
6060 * If present, contains information about the SDK that the host application is using.
6161 * For example, if Clerk is loaded through `@clerk/nextjs`, this would be `{ name: '@clerk /nextjs', version: '1.0.0' }`
6262 */
63- sdkMetadata ? : SDKMetadata ;
63+ sdkMetadata : SDKMetadata | undefined ;
6464
65+ /**
66+ * If true the bootstrapping of Clerk.load() has completed successfully.
67+ */
6568 loaded : boolean ;
6669
6770 frontendApi : string ;
@@ -70,7 +73,7 @@ export interface Clerk {
7073 publishableKey : string ;
7174
7275 /** Clerk Proxy url string. */
73- proxyUrl ? : string ;
76+ proxyUrl : string | undefined ;
7477
7578 /** Clerk Satellite Frontend API string. */
7679 domain : string ;
@@ -79,22 +82,22 @@ export interface Clerk {
7982 isSatellite : boolean ;
8083
8184 /** Clerk Instance type is defined from the Publishable key */
82- instanceType ? : InstanceType ;
85+ instanceType : InstanceType | undefined ;
8386
8487 /** Clerk flag for loading Clerk in a standard browser setup */
85- isStandardBrowser ? : boolean ;
88+ isStandardBrowser : boolean | undefined ;
8689
8790 /** Client handling most Clerk operations. */
88- client ? : ClientResource ;
91+ client : ClientResource | undefined ;
8992
9093 /** Active Session. */
91- session ? : ActiveSessionResource | null ;
94+ session : ActiveSessionResource | null | undefined ;
9295
9396 /** Active Organization */
94- organization ? : OrganizationResource | null ;
97+ organization : OrganizationResource | null | undefined ;
9598
9699 /** Current User. */
97- user ? : UserResource | null ;
100+ user : UserResource | null | undefined ;
98101
99102 /**
100103 * Signs out the current user on single-session instances, or all users on multi-session instances
@@ -516,12 +519,6 @@ type ClerkOptionsNavigation = ClerkOptionsNavigationFn & {
516519export type ClerkOptions = ClerkOptionsNavigation & {
517520 appearance ?: Appearance ;
518521 localization ?: LocalizationResource ;
519- /**
520- * Navigation
521- */
522- routerPush ?: ( to : string ) => Promise < unknown > | unknown ;
523- routerReplace ?: ( to : string ) => Promise < unknown > | unknown ;
524- routerDebug ?: boolean ;
525522 polling ?: boolean ;
526523 selectInitialSession ?: ( client : ClientResource ) => ActiveSessionResource | null ;
527524 /** Controls if ClerkJS will load with the standard browser setup using Clerk cookies */
@@ -772,8 +769,8 @@ export type UserButtonProps = UserButtonProfileMode & {
772769 */
773770 showName ?: boolean ;
774771 /**
775- Controls the default state of the UserButton
776- */
772+ * Controls the default state of the UserButton
773+ */
777774 defaultOpen ?: boolean ;
778775 /**
779776 * Full URL or path to navigate after sign out is complete
@@ -825,7 +822,7 @@ type CreateOrganizationMode =
825822export type OrganizationSwitcherProps = CreateOrganizationMode &
826823 OrganizationProfileMode & {
827824 /**
828- Controls the default state of the OrganizationSwitcher
825+ * Controls the default state of the OrganizationSwitcher
829826 */
830827 defaultOpen ?: boolean ;
831828 /**
0 commit comments