@equinor/echo-framework 0.25.3 → 0.25.5

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@equinor/echo-framework",
3
- "version": "0.25.3",
3
+ "version": "0.25.5",
4
4
  "peerDependencies": {
5
- "@equinor/echo-base": ">= 0.7.5 < 0.8.0",
5
+ "@equinor/echo-base": ">= 0.7.6 < 0.8.0",
6
6
  "@equinor/echo-components": ">= 0.12.4 < 0.13.0",
7
- "@equinor/echo-core": ">= 0.9.19 < 0.10.0",
7
+ "@equinor/echo-core": ">= 0.9.20 < 0.10.0",
8
8
  "@equinor/echo-search": ">= 0.15.7 < 0.16.0",
9
- "@equinor/echo-utils": ">= 0.4.11 < 0.5.0",
9
+ "@equinor/echo-utils": ">= 0.4.16 < 0.5.0",
10
10
  "@equinor/eds-core-react": "0.43.0",
11
11
  "@equinor/eds-icons": "0.22.0",
12
12
  "react": ">= 17.0.2",
@@ -19,13 +19,13 @@
19
19
  "react-router-dom": "5.3.4",
20
20
  "zustand": ">= 4.4.7 < 5",
21
21
  "immer": "10.1.1",
22
- "ag-charts-enterprise": "11.2.4"
22
+ "ag-charts-enterprise": "11.3.2"
23
23
  },
24
24
  "dependencies": {
25
25
  "dexie": "4.0.11",
26
26
  "mark.js": "8.11.1",
27
- "ag-charts-community": "11.2.4",
28
- "ag-charts-react": "11.2.4"
27
+ "ag-charts-community": "11.3.2",
28
+ "ag-charts-react": "11.3.2"
29
29
  },
30
30
  "main": "./index.cjs.js",
31
31
  "type": "commonjs",
@@ -1,4 +1,2 @@
1
1
  import React from 'react';
2
- export declare const FullScreenModeButton: React.FC<{
3
- toolTipDisabled?: boolean;
4
- }>;
2
+ export declare const FullScreenModeButton: React.FC;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Function which fires an async function without 'await'.
3
+ * This makes it clear that we do not wish to use 'await' for this particular
4
+ * async function.
5
+ * @param asyncFunc the async function to be executed
6
+ * @param options user friendly error message if error is thrown, and whether to display a toast
7
+ */
8
+ export declare function fireAndForget(asyncFunc: () => Promise<void>, options: {
9
+ userFriendlyErrorMessage: string;
10
+ displayToast?: boolean;
11
+ }): void;
@@ -1,3 +1,4 @@
1
+ export { fireAndForget } from './asyncUtils';
1
2
  export { echopediaWebReactPortalUtils } from './echopediaWebReactPortal.utils';
2
3
  export * from './formatTimeHelpers';
3
4
  export * from './highlightTextUtil';
@@ -3,4 +3,4 @@
3
3
  * @export
4
4
  * @return {*} {Promise<void>}
5
5
  */
6
- export declare function startup(): Promise<void>;
6
+ export declare function echoFrameworkStartup(): Promise<void>;