@equinor/fusion-framework-react 7.4.18 → 7.4.19-next.1

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,38 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.4.19-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`895a49a`](https://github.com/equinor/fusion-framework/commit/895a49aaa815a6cd317e60f40875b1763bd6bded) Thanks [@odinr](https://github.com/odinr)! - relase next of all packages
8
+
9
+ - Updated dependencies [[`895a49a`](https://github.com/equinor/fusion-framework/commit/895a49aaa815a6cd317e60f40875b1763bd6bded)]:
10
+ - @equinor/fusion-framework-react-module-signalr@3.0.35-next.1
11
+ - @equinor/fusion-framework-react-module-http@10.0.1-next.1
12
+ - @equinor/fusion-framework@7.4.2-next.1
13
+ - @equinor/fusion-framework-module-feature-flag@1.1.27-next.0
14
+ - @equinor/fusion-framework-module@5.0.6-next.0
15
+ - @equinor/fusion-framework-react-module@3.1.14-next.0
16
+ - @equinor/fusion-observable@8.5.7-next.0
17
+
18
+ ## 7.4.19-next.0
19
+
20
+ ### Patch Changes
21
+
22
+ - [#3693](https://github.com/equinor/fusion-framework/pull/3693) [`d6be2c4`](https://github.com/equinor/fusion-framework/commit/d6be2c4f2e01bab008b4d1f78f9adecb06647e66) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix MSAL v4 compatibility in React framework useCurrentUser hook.
23
+
24
+ - Replace deprecated defaultAccount with account property
25
+ - Ensure proper null/undefined handling for account information
26
+ - Maintain type safety for AccountInfo return type
27
+
28
+ This change ensures the React framework hook works correctly with MSAL v4 while maintaining backward compatibility.
29
+
30
+ - Updated dependencies [[`d6be2c4`](https://github.com/equinor/fusion-framework/commit/d6be2c4f2e01bab008b4d1f78f9adecb06647e66)]:
31
+ - @equinor/fusion-framework@7.4.2-next.0
32
+ - @equinor/fusion-framework-module-feature-flag@1.1.26
33
+ - @equinor/fusion-framework-react-module-http@10.0.1-next.0
34
+ - @equinor/fusion-framework-react-module-signalr@3.0.35-next.0
35
+
3
36
  ## 7.4.18
4
37
 
5
38
  ### 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.defaultAccount;
4
+ return framework.modules.auth.account || undefined;
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":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAG,GAA4B,EAAE;IAC1D,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC;AAC/C,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;IAC1D,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC;AACrD,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '7.4.18';
2
+ export const version = '7.4.19-next.1';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC"}