@trackunit/react-core-hooks 1.0.51 → 1.0.58

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/index.cjs.js CHANGED
@@ -855,7 +855,7 @@ const CurrentUserProvider = (props) => {
855
855
  * const { data, loading } = useGetAccountByIdQuery({
856
856
  * variables: { accountId: assumedUser?.accountId || accountId || "" },
857
857
  * });
858
- * @see {@link ICurrentUserContext}
858
+ * @see {@link CurrentUserContext}
859
859
  */
860
860
  const useCurrentUser = () => {
861
861
  const context = react.useContext(CurrentUserContext);
package/index.esm.js CHANGED
@@ -853,7 +853,7 @@ const CurrentUserProvider = (props) => {
853
853
  * const { data, loading } = useGetAccountByIdQuery({
854
854
  * variables: { accountId: assumedUser?.accountId || accountId || "" },
855
855
  * });
856
- * @see {@link ICurrentUserContext}
856
+ * @see {@link CurrentUserContext}
857
857
  */
858
858
  const useCurrentUser = () => {
859
859
  const context = useContext(CurrentUserContext);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-hooks",
3
- "version": "1.0.51",
3
+ "version": "1.0.58",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -10,9 +10,9 @@
10
10
  "react": "18.3.1",
11
11
  "jest-fetch-mock": "^3.0.3",
12
12
  "zod": "3.22.4",
13
- "@trackunit/react-core-contexts-api": "1.0.51",
14
- "@trackunit/iris-app-runtime-core": "1.0.51",
15
- "@trackunit/shared-utils": "1.2.43"
13
+ "@trackunit/react-core-contexts-api": "1.0.58",
14
+ "@trackunit/iris-app-runtime-core": "1.0.58",
15
+ "@trackunit/shared-utils": "1.2.50"
16
16
  },
17
17
  "module": "./index.esm.js",
18
18
  "main": "./index.cjs.js",
@@ -1,7 +1,7 @@
1
- import { ICurrentUserContext } from "@trackunit/react-core-contexts-api";
1
+ import { CurrentUserContextInterface } from "@trackunit/react-core-contexts-api";
2
2
  import { ReactNode } from "react";
3
3
  interface Props {
4
- value: ICurrentUserContext;
4
+ value: CurrentUserContextInterface;
5
5
  children?: ReactNode;
6
6
  }
7
7
  /**
@@ -20,7 +20,7 @@ export declare const CurrentUserProvider: (props: Props) => import("react/jsx-ru
20
20
  * const { data, loading } = useGetAccountByIdQuery({
21
21
  * variables: { accountId: assumedUser?.accountId || accountId || "" },
22
22
  * });
23
- * @see {@link ICurrentUserContext}
23
+ * @see {@link CurrentUserContext}
24
24
  */
25
- export declare const useCurrentUser: () => ICurrentUserContext;
25
+ export declare const useCurrentUser: () => CurrentUserContextInterface;
26
26
  export {};