@tracktor/shared-module 2.3.2 → 2.3.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.
- package/CHANGELOG.md +2 -2
- package/dist/hooks/useAuth/useAuth.d.ts +5 -0
- package/dist/main.js +378 -364
- package/dist/main.umd.cjs +9 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ interface useAuthParams {
|
|
|
4
4
|
* Axios library
|
|
5
5
|
*/
|
|
6
6
|
axios?: NonNullable<InjectDependenciesContextProps["libraries"]>["axios"];
|
|
7
|
+
/**
|
|
8
|
+
* Local storage key
|
|
9
|
+
* @default user
|
|
10
|
+
*/
|
|
11
|
+
localStorageKey?: string;
|
|
7
12
|
}
|
|
8
13
|
declare const useAuth: (params?: useAuthParams) => {
|
|
9
14
|
clearAuthenticationToken: () => void;
|