@lgsm/modules 1.5.1 → 1.5.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const loginRedirect: (url: string) => void;
|
|
1
|
+
export declare const loginRedirect: (url: string | undefined) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
2
|
declare let axiosInstance: AxiosInstance;
|
|
3
3
|
export type TokenProvider = () => string | null | undefined;
|
|
4
|
-
export declare function setupBaseURL(baseUrl: string, tokenProvider?: TokenProvider): void;
|
|
4
|
+
export declare function setupBaseURL(baseUrl: string, tokenProvider?: TokenProvider, redirect_to?: string): void;
|
|
5
5
|
export { axiosInstance };
|