@equinor/fusion-framework-react-app 5.2.2 → 5.2.3

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/dist/esm/bookmark/useBookmark.js +16 -0
  3. package/dist/esm/bookmark/useBookmark.js.map +1 -1
  4. package/dist/esm/bookmark/useCurrentBookmark.js +12 -0
  5. package/dist/esm/bookmark/useCurrentBookmark.js.map +1 -1
  6. package/dist/esm/create-component.js +50 -0
  7. package/dist/esm/create-component.js.map +1 -1
  8. package/dist/esm/create-legacy-app.js +2 -0
  9. package/dist/esm/create-legacy-app.js.map +1 -1
  10. package/dist/esm/feature-flag/enable-feature-flag.js +5 -0
  11. package/dist/esm/feature-flag/enable-feature-flag.js.map +1 -1
  12. package/dist/esm/feature-flag/useFeature.js +11 -0
  13. package/dist/esm/feature-flag/useFeature.js.map +1 -1
  14. package/dist/esm/framework/index.js +1 -0
  15. package/dist/esm/framework/index.js.map +1 -1
  16. package/dist/esm/index.js +1 -0
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/make-component.js +21 -0
  19. package/dist/esm/make-component.js.map +1 -1
  20. package/dist/esm/msal/useAccessToken.js +6 -0
  21. package/dist/esm/msal/useAccessToken.js.map +1 -1
  22. package/dist/esm/msal/useCurrentAccount.js +4 -0
  23. package/dist/esm/msal/useCurrentAccount.js.map +1 -1
  24. package/dist/esm/msal/useToken.js +5 -0
  25. package/dist/esm/msal/useToken.js.map +1 -1
  26. package/dist/esm/navigation/useNavigationModule.js +1 -0
  27. package/dist/esm/navigation/useNavigationModule.js.map +1 -1
  28. package/dist/esm/navigation/useRouter.js +6 -0
  29. package/dist/esm/navigation/useRouter.js.map +1 -1
  30. package/dist/esm/render-app.js +1 -0
  31. package/dist/esm/render-app.js.map +1 -1
  32. package/dist/esm/render-component.js +16 -0
  33. package/dist/esm/render-component.js.map +1 -1
  34. package/dist/esm/useAppEnvironmentVariables.js +29 -0
  35. package/dist/esm/useAppEnvironmentVariables.js.map +1 -1
  36. package/dist/esm/useAppModule.js +8 -0
  37. package/dist/esm/useAppModule.js.map +1 -1
  38. package/dist/esm/useAppModules.js +6 -0
  39. package/dist/esm/useAppModules.js.map +1 -1
  40. package/dist/esm/version.js +2 -1
  41. package/dist/esm/version.js.map +1 -1
  42. package/dist/tsconfig.tsbuildinfo +1 -1
  43. package/dist/types/bookmark/useBookmark.d.ts +16 -0
  44. package/dist/types/bookmark/useCurrentBookmark.d.ts +12 -0
  45. package/dist/types/context/useCurrentContext.d.ts +1 -1
  46. package/dist/types/create-component.d.ts +51 -1
  47. package/dist/types/create-legacy-app.d.ts +1 -2
  48. package/dist/types/feature-flag/enable-feature-flag.d.ts +20 -0
  49. package/dist/types/feature-flag/useFeature.d.ts +7 -1
  50. package/dist/types/framework/useFrameworkCurrentContext.d.ts +1 -1
  51. package/dist/types/make-component.d.ts +22 -1
  52. package/dist/types/msal/useAccessToken.d.ts +7 -1
  53. package/dist/types/msal/useCurrentAccount.d.ts +4 -0
  54. package/dist/types/msal/useToken.d.ts +6 -1
  55. package/dist/types/navigation/useNavigationModule.d.ts +1 -0
  56. package/dist/types/navigation/useRouter.d.ts +7 -1
  57. package/dist/types/render-app.d.ts +1 -1
  58. package/dist/types/render-component.d.ts +1 -0
  59. package/dist/types/useAppEnvironmentVariables.d.ts +25 -0
  60. package/dist/types/useAppModule.d.ts +8 -0
  61. package/dist/types/useAppModules.d.ts +8 -1
  62. package/dist/types/version.d.ts +1 -1
  63. package/dist/types/widget/index.d.ts +4 -0
  64. package/package.json +17 -17
  65. package/src/version.ts +1 -1
@@ -1,2 +1,18 @@
1
+ /**
2
+ * For application development the useCurrentBookmark should be sufficient enough
3
+ *
4
+ * Functionality provided here is:
5
+ * - addBookmarkCreator
6
+ * - getAllBookmarks
7
+ * - createBookmark
8
+ * - updateBookmark
9
+ * - deleteBookmarkById
10
+ * - setCurrentBookmark
11
+ * - currentBookmark
12
+ * - bookmarks,
13
+ *
14
+ * @template TData - Current applications bookmark type
15
+ * @return {*} {Bookmarks<TData>} the full api fro handling bookmarks
16
+ */
1
17
  export declare const useBookmark: <TData>() => import("@equinor/fusion-framework-react-module-bookmark").Bookmarks<TData>;
2
18
  export default useBookmark;
@@ -1,3 +1,15 @@
1
1
  import { CreateBookMarkFn } from '@equinor/fusion-framework-react-module-bookmark';
2
+ /**
3
+ * By providing a CreateBookMarkFn bookmarks is enabled for the current application.
4
+ *
5
+ * @template TData - Type of data stored in bookmark
6
+ * @param {CreateBookMarkFn<TData>} [createBookmarkState] - Function for creating bookmark payload, this function should be wrapped in useCallback
7
+ *
8
+ * ```TS
9
+ * // Example
10
+ * const { currentBookmark } = useCurrentBookmark(useCallback(()=> someState, [someState]))
11
+ * ```
12
+ * @return {*} {CurrentBookmark<TData>}
13
+ */
2
14
  export declare const useCurrentBookmark: <TData>(createBookmarkState?: CreateBookMarkFn<TData>) => import("@equinor/fusion-framework-react-module-bookmark").CurrentBookmark<TData>;
3
15
  export default useCurrentBookmark;
@@ -1,5 +1,5 @@
1
1
  export declare const useCurrentContext: () => {
2
2
  currentContext: import("@equinor/fusion-framework-react-module-context").ContextItem | null | undefined;
3
- setCurrentContext: (entry?: string | import("@equinor/fusion-framework-react-module-context").ContextItem | null | undefined) => void | Promise<import("@equinor/fusion-framework-react-module-context").ContextItem<Record<string, unknown>> | null>;
3
+ setCurrentContext: (entry?: import("@equinor/fusion-framework-react-module-context").ContextItem | string | null) => void | Promise<import("@equinor/fusion-framework-react-module-context").ContextItem<Record<string, unknown>> | null>;
4
4
  };
5
5
  export default useCurrentContext;
@@ -9,7 +9,57 @@ export type ComponentRenderArgs<TFusion extends Fusion = Fusion, TEnv = AppEnv>
9
9
  env: TEnv;
10
10
  };
11
11
  export type ComponentRenderer<TFusion extends Fusion = Fusion, TEnv = AppEnv> = (fusion: TFusion, env: TEnv) => React.LazyExoticComponent<React.ComponentType>;
12
- export declare const createComponent: <TModules extends AnyModule[], TRef extends Fusion<unknown> = Fusion<unknown>, TEnv extends AppEnv = AppEnv>(Component: React.ElementType, configure?: AppModuleInitiator<TModules, TRef, TEnv>) => ComponentRenderer<TRef, TEnv>;
12
+ /**
13
+ * @deprecated
14
+ * Creates an lazy loading Component which configures modules
15
+ * and provides context to framework and configured modules
16
+ *
17
+ *
18
+ * ```mermaid
19
+ * sequenceDiagram
20
+ * App ->>+Framework: createApp
21
+ * Framework->>-Framework: initializeModules
22
+ * Framework->>App: configure(modules, framework, args)
23
+ * App-->Framework: await configuration
24
+ * Framework->>App: React.LazyExoticComponent
25
+ * ```
26
+ *
27
+ * @example
28
+ * ```tsx
29
+ * const configCallback: AppConfigurator = (configurator) => {
30
+ * configurator.http.configureClient(
31
+ * 'bar', {
32
+ * baseUri: 'https://somewhere-test.com',
33
+ * defaultScopes: ['foo/.default']
34
+ * }
35
+ * );
36
+ * };
37
+ *
38
+ * export const App = () => {
39
+ * const client = useHttpClient('bar');
40
+ * const [foo, setFoo] = useState('no value');
41
+ * const onClick = useCallback(() => {
42
+ * client.fetchAsync('api').then(x => x.json).then(setFoo);
43
+ * }, [client]);
44
+ * return <Button onClick={onClick}>{foo}</Button>
45
+ * }
46
+ *
47
+ * export const render = createApp(App, configCallback);
48
+ *
49
+ * export default render;
50
+ * ```
51
+ *
52
+ *
53
+ * __Exposed providers__
54
+ * @see {@link @equinor/fusion-framework-react.FrameworkProvider | FrameworkProvider}
55
+ * @see {@link ModuleProvider | ModuleProvider}
56
+ *
57
+ * @template TModules module types included in configuration.
58
+ * @param Component - React component to render
59
+ * @param configure - Callback for configuring application
60
+ * @param modules - required modules for application
61
+ */
62
+ export declare const createComponent: <TModules extends Array<AnyModule>, TRef extends Fusion = Fusion<unknown>, TEnv extends AppEnv = AppEnv>(Component: React.ElementType, configure?: AppModuleInitiator<TModules, TRef, TEnv>) => ComponentRenderer<TRef, TEnv>;
13
63
  declare module '@equinor/fusion-framework-module-event' {
14
64
  interface FrameworkEventMap {
15
65
  onReactAppLoaded: FrameworkEvent<FrameworkEventInit<{
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { AnyModule } from '@equinor/fusion-framework-module';
3
2
  import type { AppModuleInitiator } from '@equinor/fusion-framework-app';
4
- export declare const createLegacyApp: <TModules extends AnyModule[]>(Component: React.ElementType, configure?: AppModuleInitiator<TModules>) => () => JSX.Element;
3
+ export declare const createLegacyApp: <TModules extends Array<AnyModule>>(Component: React.ElementType, configure?: AppModuleInitiator<TModules>) => () => JSX.Element;
@@ -1,13 +1,33 @@
1
1
  import { type IAppConfigurator } from '@equinor/fusion-framework-app';
2
2
  import { type FeatureFlagBuilderCallback, type IFeatureFlag } from '@equinor/fusion-framework-module-feature-flag';
3
+ /**
4
+ * Enables the specified feature flags.
5
+ *
6
+ * @param configurator - The AppConfigurator instance.
7
+ * @param flags - An array of feature flags to enable.
8
+ */
3
9
  export interface enableFeatureFlag {
4
10
  (configurator: IAppConfigurator, flags: Array<IFeatureFlag<unknown> & {
5
11
  allowUrl?: boolean | undefined;
6
12
  }>): void;
7
13
  }
14
+ /**
15
+ * Enables a feature flag by invoking the provided configurator and callback.
16
+ *
17
+ * @param configurator - The AppConfigurator responsible for configuring the feature flag.
18
+ * @param cb - The FeatureFlagBuilderCallback to be executed for the feature flag.
19
+ *
20
+ * @remarks
21
+ * Advance use __ONLY__
22
+ */
8
23
  export interface enableFeatureFlag {
9
24
  (configurator: IAppConfigurator, cb: FeatureFlagBuilderCallback): void;
10
25
  }
26
+ /**
27
+ * Enables feature flagging based on the provided configurator and flags callback.
28
+ * @param configurator The AppConfigurator instance.
29
+ * @param flags_cb Optional flags callback that can be an array of feature flags or a callback function.
30
+ */
11
31
  export declare function enableFeatureFlag(configurator: IAppConfigurator, flags_cb: Array<IFeatureFlag<unknown> & {
12
32
  allowUrl?: boolean | undefined;
13
33
  }> | FeatureFlagBuilderCallback): void;
@@ -1,6 +1,12 @@
1
1
  import { type IFeatureFlag } from '@equinor/fusion-framework-module-feature-flag';
2
+ /**
3
+ * Custom hook for accessing and manipulating feature flags.
4
+ * @template T - The type of the feature flag value.
5
+ * @param key - The key of the feature flag.
6
+ * @returns An object containing the feature flag, toggle function, and error (if any).
7
+ */
2
8
  export declare const useFeature: <T = unknown>(key: string) => {
3
- feature?: IFeatureFlag<T> | undefined;
9
+ feature?: IFeatureFlag<T>;
4
10
  toggleFeature: (enabled?: boolean) => void;
5
11
  error?: unknown;
6
12
  };
@@ -1,5 +1,5 @@
1
1
  export declare const useFrameworkCurrentContext: () => {
2
2
  currentContext: import("@equinor/fusion-framework-react-module-context").ContextItem | null | undefined;
3
- setCurrentContext: (entry?: string | import("@equinor/fusion-framework-react-module-context").ContextItem | null | undefined) => void | Promise<import("@equinor/fusion-framework-react-module-context").ContextItem<Record<string, unknown>> | null>;
3
+ setCurrentContext: (entry?: import("@equinor/fusion-framework-react-module-context").ContextItem | string | null) => void | Promise<import("@equinor/fusion-framework-react-module-context").ContextItem<Record<string, unknown>> | null>;
4
4
  };
5
5
  export default useFrameworkCurrentContext;
@@ -9,7 +9,28 @@ export type ComponentRenderArgs<TFusion extends Fusion = Fusion, TEnv = AppEnv>
9
9
  env: TEnv;
10
10
  };
11
11
  export type ComponentRenderer<TFusion extends Fusion = Fusion, TEnv = AppEnv> = (fusion: TFusion, env: TEnv) => React.LazyExoticComponent<React.ComponentType>;
12
- export declare const makeComponent: <TModules extends AnyModule[], TRef extends Fusion<unknown> = Fusion<unknown>, TEnv extends AppEnv = AppEnv>(Component: React.ReactNode, args: {
12
+ /**
13
+ * Creates a lazy loading React Component that initializes and configures modules,
14
+ * then provides the necessary context to both the Fusion framework and the configured modules.
15
+ * This function is particularly useful for setting up a React application with modular architecture,
16
+ * allowing for lazy loading of components along with their dependencies.
17
+ *
18
+ * __Exposed providers__:
19
+ * - {@link @equinor/fusion-framework-react.FrameworkProvider | FrameworkProvider} to provide Fusion context.
20
+ * - {@link @equinor/fusion-framework-react-module.ModuleProvider | ModuleProvider} to provide module instances.
21
+ *
22
+ * @template TModules The types of modules included in the configuration.
23
+ * @template TRef The type of the Fusion instance.
24
+ * @template TEnv The environment type for the application.
25
+ * @param {React.ReactNode} Component - The React component to render lazily.
26
+ * @param {Object} args - The arguments required for module configuration and component rendering.
27
+ * @param {TRef} args.fusion - The Fusion instance to be used by the component and modules.
28
+ * @param {TEnv} args.env - The environment context for the application.
29
+ * @param {AppModuleInitiator<TModules, TRef, TEnv>} [configure] - Optional callback function for configuring application modules.
30
+ * @returns {React.LazyExoticComponent<React.ComponentType>} A lazy component that, when rendered,
31
+ * initializes the specified modules and provides the necessary Fusion and module context.
32
+ */
33
+ export declare const makeComponent: <TModules extends Array<AnyModule>, TRef extends Fusion = Fusion<unknown>, TEnv extends AppEnv = AppEnv>(Component: React.ReactNode, args: {
13
34
  fusion: TRef;
14
35
  env: TEnv;
15
36
  }, configure?: AppModuleInitiator<TModules, TRef, TEnv>) => React.LazyExoticComponent<React.ComponentType>;
@@ -1,6 +1,12 @@
1
1
  import { AuthRequest } from '@equinor/fusion-framework-module-msal/client';
2
+ /**
3
+ * Custom hook that retrieves an access token for the specified authentication request.
4
+ *
5
+ * @param req - The authentication request.
6
+ * @returns An object containing the access token, pending state, and error.
7
+ */
2
8
  export declare const useAccessToken: (req: AuthRequest) => {
3
- token?: string | undefined;
9
+ token?: string;
4
10
  pending: boolean;
5
11
  error: unknown;
6
12
  };
@@ -1,2 +1,6 @@
1
1
  import { AccountInfo } from '@equinor/fusion-framework-module-msal';
2
+ /**
3
+ * Retrieves the current account information from the MSAL provider.
4
+ * @returns The current account information or undefined if no account is available.
5
+ */
2
6
  export declare const useCurrentAccount: () => AccountInfo | undefined;
@@ -1,6 +1,11 @@
1
1
  import { AuthRequest, AuthenticationResult } from '@equinor/fusion-framework-module-msal/client';
2
+ /**
3
+ * Custom hook for acquiring an authentication token using MSAL.
4
+ * @param req - The authentication request.
5
+ * @returns An object containing the acquired token, pending state, and error.
6
+ */
2
7
  export declare const useToken: (req: AuthRequest) => {
3
- token?: AuthenticationResult | undefined;
8
+ token?: AuthenticationResult;
4
9
  pending: boolean;
5
10
  error: unknown;
6
11
  };
@@ -1,2 +1,3 @@
1
1
  import { INavigationProvider } from '@equinor/fusion-framework-module-navigation';
2
+ /** hook for getting the navigation provider (if enabled!) */
2
3
  export declare const useNavigationModule: () => INavigationProvider;
@@ -1,2 +1,8 @@
1
1
  import { type INavigationProvider } from '@equinor/fusion-framework-module-navigation';
2
- export declare const useRouter: (routes: Parameters<INavigationProvider['createRouter']>[0]) => ReturnType<INavigationProvider['createRouter']>;
2
+ /**
3
+ * create a router for react routing
4
+ * @see {@link [docs](https://equinor.github.io/fusion-framework/modules/navigation/)}
5
+ * @see {@link [react-router](https://reactrouter.com/en/main/routers/create-browser-router)}
6
+ * @param routes router objects __(must be static | memorized)__
7
+ */
8
+ export declare const useRouter: (routes: Parameters<INavigationProvider["createRouter"]>[0]) => ReturnType<INavigationProvider["createRouter"]>;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { RenderTeardown } from './render-component';
3
2
  import type { ComponentRenderArgs } from './create-component';
3
+ /** @deprecated */
4
4
  export declare const renderApp: (Component: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>, configure?: import("@equinor/fusion-framework-app").AppModuleInitiator<import("@equinor/fusion-framework-module").AnyModule[], import("@equinor/fusion-framework-react").Fusion<unknown>, import("@equinor/fusion-framework-app").AppEnv> | undefined) => (el: HTMLElement, args: ComponentRenderArgs) => RenderTeardown;
5
5
  export default renderApp;
@@ -1,4 +1,5 @@
1
1
  import type { ComponentRenderArgs, ComponentRenderer } from './create-component';
2
2
  export type RenderTeardown = VoidFunction;
3
+ /** @deprecated */
3
4
  export declare const renderComponent: (renderer: ComponentRenderer) => (el: HTMLElement, args: ComponentRenderArgs) => RenderTeardown;
4
5
  export default renderComponent;
@@ -1,2 +1,27 @@
1
1
  import { type ObservableStateReturnType } from '@equinor/fusion-observable/react';
2
+ /**
3
+ * A React hook that provides access to the application's environment variables.
4
+ *
5
+ * This hook returns an observable state object that represents the current environment configuration.
6
+ * The environment configuration is retrieved from the app module provided by the framework.
7
+ *
8
+ * @note This hook is only available when the app module is loaded (should be always for applications).
9
+ * This hook in theory should always have a value if config was provided for the application, but is async by nature, hence the `complete` and `error` properties.
10
+ *
11
+ * @example
12
+ * ```typescript
13
+ * const MyComponent = () => {
14
+ * const env = useAppEnvironmentVariables();
15
+ * if(!env.complete) {
16
+ * return <div>Loading environment variables...</div>;
17
+ * }
18
+ * if(env.error) {
19
+ * return <div>Error loading environment variables</div>;
20
+ * }
21
+ * return <div>My environment variables: {JSON.stringify(env.value)}</div>;
22
+ * }
23
+ *
24
+ * @template TEnvironmentVariables - The type of the environment variables. Defaults to `unknown`.
25
+ * @returns An observable state object containing the current environment configuration.
26
+ */
2
27
  export declare const useAppEnvironmentVariables: <TEnvironmentVariables = unknown>() => ObservableStateReturnType<TEnvironmentVariables>;
@@ -1,4 +1,12 @@
1
1
  import type { AppModules, AppModulesInstance } from '@equinor/fusion-framework-app';
2
2
  import type { AnyModule, ModuleKey, ModuleType, ModuleTypes } from '@equinor/fusion-framework-module';
3
+ /**
4
+ * Retrieves the specified app module from the app scope.
5
+ *
6
+ * @template TType - The type of the app module.
7
+ * @template TKey - The key of the app module.
8
+ * @param module - The key of the app module to retrieve.
9
+ * @returns The app module instance if found, otherwise throws an error.
10
+ */
3
11
  export declare function useAppModule<TType extends AnyModule | unknown = unknown, TKey extends string = ModuleKey<ModuleTypes<AppModules<[TType]>>>>(module: TKey): TType extends AnyModule ? ModuleType<TType> : AppModulesInstance[Extract<keyof AppModulesInstance, TKey>];
4
12
  export default useAppModule;
@@ -1,3 +1,10 @@
1
1
  import type { AppModulesInstance } from '@equinor/fusion-framework-app';
2
- export declare const useAppModules: <T extends unknown = unknown>() => AppModulesInstance<T>;
2
+ import type { AnyModule } from '@equinor/fusion-framework-module';
3
+ /**
4
+ * Custom hook that returns an instance of the app modules.
5
+ *
6
+ * @template T - The type of the app modules.
7
+ * @returns An instance of the app modules.
8
+ */
9
+ export declare const useAppModules: <T extends Array<AnyModule> | unknown = unknown>() => AppModulesInstance<T>;
3
10
  export default useAppModules;
@@ -1 +1 @@
1
- export declare const version = "5.2.2";
1
+ export declare const version = "5.2.3";
@@ -1,3 +1,7 @@
1
+ /**
2
+ * [[include:react-app/README.MD]]
3
+ * @module
4
+ */
1
5
  export type { WidgetModuleInitiator } from '@equinor/fusion-framework-react-widget';
2
6
  export type { WidgetProps, WidgetModule, WidgetRenderArgs, WidgetStateInitial, } from '@equinor/fusion-framework-react-widget';
3
7
  export { Widget } from '@equinor/fusion-framework-react-widget';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-react-app",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
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.2",
86
- "@equinor/fusion-framework-module": "^4.3.1",
87
- "@equinor/fusion-framework-module-navigation": "^4.0.2",
88
- "@equinor/fusion-framework-module-app": "^5.3.7",
89
- "@equinor/fusion-framework-react": "^7.1.1",
90
- "@equinor/fusion-framework-react-module": "^3.1.2",
91
- "@equinor/fusion-framework-react-module-http": "^6.0.0"
85
+ "@equinor/fusion-framework-app": "^9.1.3",
86
+ "@equinor/fusion-framework-module-app": "^5.3.8",
87
+ "@equinor/fusion-framework-react": "^7.1.2",
88
+ "@equinor/fusion-framework-module": "^4.3.2",
89
+ "@equinor/fusion-framework-module-navigation": "^4.0.3",
90
+ "@equinor/fusion-framework-react-module": "^3.1.3",
91
+ "@equinor/fusion-framework-react-module-http": "^6.0.1"
92
92
  },
93
93
  "devDependencies": {
94
94
  "@types/react": "^18.2.50",
@@ -96,21 +96,21 @@
96
96
  "react": "^18.2.0",
97
97
  "react-dom": "^18.2.0",
98
98
  "rxjs": "^7.8.1",
99
- "typescript": "^5.4.2",
100
- "@equinor/fusion-framework-module-event": "^4.1.2",
101
- "@equinor/fusion-framework-module-feature-flag": "^1.1.4",
102
- "@equinor/fusion-framework-module-msal": "^3.1.1",
103
- "@equinor/fusion-framework-react-module-bookmark": "^2.1.10",
104
- "@equinor/fusion-framework-react-module-context": "^6.2.8",
105
- "@equinor/fusion-framework-react-widget": "^1.1.10",
106
- "@equinor/fusion-observable": "^8.3.2"
99
+ "typescript": "^5.5.3",
100
+ "@equinor/fusion-framework-module-event": "^4.2.0",
101
+ "@equinor/fusion-framework-module-feature-flag": "^1.1.5",
102
+ "@equinor/fusion-framework-module-msal": "^3.1.2",
103
+ "@equinor/fusion-framework-react-module-context": "^6.2.9",
104
+ "@equinor/fusion-framework-react-module-bookmark": "^2.1.11",
105
+ "@equinor/fusion-framework-react-widget": "^1.1.11",
106
+ "@equinor/fusion-observable": "^8.3.3"
107
107
  },
108
108
  "peerDependencies": {
109
109
  "@types/react": "^17.0.0 || ^18.0.0",
110
110
  "react": "^17.0.0 || ^18.0.0",
111
111
  "react-dom": "^17.0.0 || ^18.0.0",
112
112
  "rxjs": "^7.8.1",
113
- "@equinor/fusion-framework-module-msal": "^3.1.1"
113
+ "@equinor/fusion-framework-module-msal": "^3.1.2"
114
114
  },
115
115
  "peerDependenciesMeta": {
116
116
  "@equinor/fusion-framework-react-module-context": {
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '5.2.2';
2
+ export const version = '5.2.3';