@equinor/fusion-framework-app 13.1.8 → 13.1.10

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.
@@ -83,6 +83,10 @@ export interface IAppConfigurator<TModules extends Array<AnyModule> | unknown =
83
83
  * the `event`, `http`, and `msal` (auth) modules by default and reads any HTTP
84
84
  * endpoints declared in the application's environment config.
85
85
  *
86
+ * Hosted apps inherit parent authentication through MSAL's version-compatible proxy during
87
+ * initialization; no app-side `enableMSAL` call is needed. An explicitly configured auth
88
+ * provider takes precedence over the parent, including when that provider is signed out.
89
+ *
86
90
  * @template TModules - Additional application-specific modules beyond the defaults.
87
91
  * @template TRef - The resolved Fusion modules instance used as an initialization reference.
88
92
  * @template TEnv - The application environment descriptor (manifest, config, basename).
@@ -19,6 +19,13 @@ import type { AppModulesInstance, AppModuleInitiator, AppEnv } from './types.js'
19
19
  * 3. Invoke the optional user-supplied configuration callback.
20
20
  * 4. Initialize all registered modules and dispatch an `onAppModulesLoaded` event.
21
21
  *
22
+ * @remarks
23
+ * `AppConfigurator` registers auth before the callback runs. Ordinary portal-hosted apps,
24
+ * including apps using Roles V2, do not need to call `enableMSAL`: initialization passes
25
+ * `fusion.modules` as the parent reference and MSAL reuses the portal provider through its
26
+ * version-compatible proxy. An explicit `setProvider` configuration takes precedence.
27
+ * Telemetry does not supply this auth registration.
28
+ *
22
29
  * @template TModules - Additional application-specific modules to register.
23
30
  * @template TRef - The Fusion instance type, used as a configuration reference.
24
31
  * @template TEnv - The application environment descriptor (manifest, config, basename).
@@ -1 +1 @@
1
- export declare const version = "13.1.8";
1
+ export declare const version = "13.1.10";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-app",
3
- "version": "13.1.8",
3
+ "version": "13.1.10",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
@@ -63,26 +63,27 @@
63
63
  "directory": "packages/app"
64
64
  },
65
65
  "dependencies": {
66
- "@equinor/fusion-framework": "9.0.2",
66
+ "@equinor/fusion-framework": "9.0.4",
67
67
  "@equinor/fusion-framework-module": "6.1.5",
68
68
  "@equinor/fusion-framework-module-app": "8.2.1",
69
69
  "@equinor/fusion-framework-module-event": "6.1.2",
70
70
  "@equinor/fusion-framework-module-http": "8.1.3",
71
71
  "@equinor/fusion-framework-module-msal": "12.0.1",
72
- "@equinor/fusion-framework-module-telemetry": "7.2.0",
72
+ "@equinor/fusion-framework-module-telemetry": "7.2.1",
73
73
  "lodash.clonedeep": "^4.5.0",
74
74
  "rxjs": "^7.8.1"
75
75
  },
76
76
  "devDependencies": {
77
- "@equinor/fusion-framework-module-bookmark": "^4.1.3",
78
- "@equinor/fusion-framework-module-state": "^2.0.5",
77
+ "@equinor/fusion-framework-module-bookmark": "^4.1.4",
78
+ "@equinor/fusion-framework-module-roles": "^0.3.1",
79
+ "@equinor/fusion-framework-module-state": "^2.0.6",
79
80
  "@types/lodash.clonedeep": "^4.5.9",
80
81
  "typescript": "^7.0.2",
81
82
  "vitest": "^4.1.10"
82
83
  },
83
84
  "peerDependencies": {
84
- "@equinor/fusion-framework-module-bookmark": "^4.1.3",
85
- "@equinor/fusion-framework-module-state": "^2.0.5"
85
+ "@equinor/fusion-framework-module-bookmark": "^4.1.4",
86
+ "@equinor/fusion-framework-module-state": "^2.0.6"
86
87
  },
87
88
  "peerDependenciesMeta": {
88
89
  "@equinor/fusion-framework-module-bookmark": {