@equinor/fusion-framework-react-app 5.2.9 → 5.2.10-next-499bdf0f6597dbdcfdabd563b94ed08de36bbfe4
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 +67 -0
- package/dist/esm/feature-flag/enable-feature-flag.js +3 -2
- package/dist/esm/feature-flag/enable-feature-flag.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +11 -11
- package/src/feature-flag/enable-feature-flag.ts +2 -1
- package/src/index.ts +2 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export type { AppConfig, AppEnv, AppModuleInitiator, AppModules, AppModulesInstance,
|
|
1
|
+
export type { AppConfig, AppEnv, AppModuleInitiator, AppModules, AppModulesInstance, AppRenderFn, IAppConfigurator, } from '@equinor/fusion-framework-app';
|
|
2
|
+
export { AppManifest } from '@equinor/fusion-framework-module-app';
|
|
2
3
|
export { useAppModule } from './useAppModule';
|
|
3
4
|
export { useAppModules } from './useAppModules';
|
|
4
5
|
export { useAppEnvironmentVariables } from './useAppEnvironmentVariables';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-react-app",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.10-next-499bdf0f6597dbdcfdabd563b94ed08de36bbfe4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
"directory": "packages/react"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@equinor/fusion-framework-app": "^9.1.9",
|
|
86
|
-
"@equinor/fusion-framework-module-app": "^5.3.11",
|
|
87
85
|
"@equinor/fusion-framework-module": "^4.3.5",
|
|
86
|
+
"@equinor/fusion-framework-app": "^9.1.10-next-499bdf0f6597dbdcfdabd563b94ed08de36bbfe4",
|
|
87
|
+
"@equinor/fusion-framework-module-app": "^6.0.0-next-499bdf0f6597dbdcfdabd563b94ed08de36bbfe4",
|
|
88
88
|
"@equinor/fusion-framework-module-navigation": "^4.0.7",
|
|
89
|
-
"@equinor/fusion-framework-react": "^
|
|
90
|
-
"@equinor/fusion-framework-react
|
|
91
|
-
"@equinor/fusion-framework-react-module": "^
|
|
89
|
+
"@equinor/fusion-framework-react-module": "^3.1.6",
|
|
90
|
+
"@equinor/fusion-framework-react": "^7.3.0-next-499bdf0f6597dbdcfdabd563b94ed08de36bbfe4",
|
|
91
|
+
"@equinor/fusion-framework-react-module-http": "^8.0.0"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@types/react": "^18.2.50",
|
|
@@ -97,13 +97,13 @@
|
|
|
97
97
|
"react-dom": "^18.2.0",
|
|
98
98
|
"rxjs": "^7.8.1",
|
|
99
99
|
"typescript": "^5.5.4",
|
|
100
|
-
"@equinor/fusion-framework-module-feature-flag": "^1.1.9",
|
|
101
100
|
"@equinor/fusion-framework-module-event": "^4.2.4",
|
|
101
|
+
"@equinor/fusion-framework-module-feature-flag": "^1.1.9",
|
|
102
102
|
"@equinor/fusion-framework-module-msal": "^3.1.5",
|
|
103
|
-
"@equinor/fusion-framework-react-
|
|
104
|
-
"@equinor/fusion-framework-react-module-
|
|
105
|
-
"@equinor/fusion-
|
|
106
|
-
"@equinor/fusion-
|
|
103
|
+
"@equinor/fusion-framework-react-module-bookmark": "^2.1.18-next-499bdf0f6597dbdcfdabd563b94ed08de36bbfe4",
|
|
104
|
+
"@equinor/fusion-framework-react-module-context": "^6.2.13",
|
|
105
|
+
"@equinor/fusion-framework-react-widget": "^1.1.18-next-499bdf0f6597dbdcfdabd563b94ed08de36bbfe4",
|
|
106
|
+
"@equinor/fusion-observable": "^8.4.1"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|
|
109
109
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
@@ -63,9 +63,10 @@ export function enableFeatureFlag(
|
|
|
63
63
|
return localFlag;
|
|
64
64
|
});
|
|
65
65
|
enableFeatureFlagging(configurator, async (builder) => {
|
|
66
|
+
// TODO: should unnamed application be allowed to use feature flags?
|
|
66
67
|
builder.addPlugin(
|
|
67
68
|
createLocalStoragePlugin(localFlags, {
|
|
68
|
-
name: (configurator as AppConfigurator).env?.manifest.
|
|
69
|
+
name: (configurator as AppConfigurator).env?.manifest.appKey ?? undefined,
|
|
69
70
|
}),
|
|
70
71
|
);
|
|
71
72
|
builder.addPlugin(createUrlPlugin(urlFlags));
|
package/src/index.ts
CHANGED
|
@@ -4,11 +4,12 @@ export type {
|
|
|
4
4
|
AppModuleInitiator,
|
|
5
5
|
AppModules,
|
|
6
6
|
AppModulesInstance,
|
|
7
|
-
AppManifest,
|
|
8
7
|
AppRenderFn,
|
|
9
8
|
IAppConfigurator,
|
|
10
9
|
} from '@equinor/fusion-framework-app';
|
|
11
10
|
|
|
11
|
+
export { AppManifest } from '@equinor/fusion-framework-module-app';
|
|
12
|
+
|
|
12
13
|
export { useAppModule } from './useAppModule';
|
|
13
14
|
export { useAppModules } from './useAppModules';
|
|
14
15
|
export { useAppEnvironmentVariables } from './useAppEnvironmentVariables';
|