@equinor/fusion-framework-react 7.3.8 → 7.4.0-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2

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,5 +1,24 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.4.0-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2814](https://github.com/equinor/fusion-framework/pull/2814) [`e67ed8f`](https://github.com/equinor/fusion-framework/commit/e67ed8f7d2fd11a56954692633f424174beb8c44) Thanks [@odinr](https://github.com/odinr)! - Updated `useCurrentUser` to consume new MSAL provider interface
8
+
9
+ ### Patch Changes
10
+
11
+ - pre-release changeset for tag **msal**, all public packages are patched
12
+
13
+ - Updated dependencies [[`65b1049`](https://github.com/equinor/fusion-framework/commit/65b1049d69a7767b41ba3662d8536b3d7106aee3)]:
14
+ - @equinor/fusion-framework@7.3.0-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
15
+ - @equinor/fusion-framework-module-feature-flag@1.1.13-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
16
+ - @equinor/fusion-framework-module@4.3.6-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
17
+ - @equinor/fusion-framework-react-module-http@8.0.1-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
18
+ - @equinor/fusion-framework-react-module@3.1.7-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
19
+ - @equinor/fusion-framework-react-module-signalr@3.0.21-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
20
+ - @equinor/fusion-observable@8.4.5-msal-6cf764b628c2afdd64dfd06e42abc953d78556d2
21
+
3
22
  ## 7.3.8
4
23
 
5
24
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import { useFramework } from '../useFramework';
2
2
  export const useCurrentUser = () => {
3
3
  const framework = useFramework();
4
- return framework.modules.auth.defaultClient.account;
4
+ return framework.modules.auth.defaultAccount;
5
5
  };
6
6
  //# sourceMappingURL=use-current-user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-current-user.js","sourceRoot":"","sources":["../../../src/hooks/use-current-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAW/C,MAAM,CAAC,MAAM,cAAc,GAAG,GAA4B,EAAE;IACxD,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC;AACxD,CAAC,CAAC"}
1
+ {"version":3,"file":"use-current-user.js","sourceRoot":"","sources":["../../../src/hooks/use-current-user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAG,GAA4B,EAAE;IACxD,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC;AACjD,CAAC,CAAC"}