@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 CHANGED
@@ -1,4 +1,4 @@
1
1
  # [Versions](https://github.com/Tracktor/shared-module/releases)
2
2
 
3
- ## v2.3.2
4
- - **[doc]** - add doc `useCurrentLanguage` hook
3
+ ## v2.3.3
4
+ - **[fix]** - `useAuth` hook across tabs to sync auth token
@@ -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;