@fastr-pro/global-header 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -134,6 +134,7 @@ export interface AppConfig {
134
134
  export interface HeaderConfig {
135
135
  authApiUrl?: string;
136
136
  authRedirectUrl?: string;
137
+ redirectOnInvalidSession?: boolean;
137
138
  profileGetter?: (() => Promise<User | any> | User | any) | null;
138
139
  uiTheme?: 'light' | 'dark' | 'system' | string;
139
140
  theme?: 'light' | 'dark' | 'system' | string;
@@ -153,6 +154,7 @@ export interface GlobalHeaderProps {
153
154
  config?: HeaderConfig;
154
155
  authApiUrl?: string;
155
156
  authRedirectUrl?: string;
157
+ redirectOnInvalidSession?: boolean;
156
158
  profileGetter?: () => Promise<User | any> | User | any;
157
159
  uiTheme?: 'light' | 'dark' | 'system' | string;
158
160
  apps?: Record<string, AppConfig> | AppConfig[];