@topconsultnpm/sdkui-react 6.19.0-dev2.55 → 6.19.0-dev2.56

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.
@@ -6,7 +6,7 @@ declare const TABLET_WIDTH = 1024;
6
6
  declare const MOBILE_WIDTH = 640;
7
7
  declare const calcResponsiveDirection: (deviceType: DeviceType, desktopDir: "horizontal" | "vertical", tabletDir: "horizontal" | "vertical", mobileDir: "horizontal" | "vertical") => "horizontal" | "vertical";
8
8
  declare const openApps: (appModule: AppModules, tmSession: ITopMediaSession, appRoutes?: any[]) => Promise<void>;
9
- export declare const setSDK_GlobalsInfoAsync: (tms: ITopMediaSession | undefined) => Promise<void>;
9
+ export declare const setSDK_GlobalsInfoAsync: (tms: ITopMediaSession | undefined) => Promise<ITopMediaSession | undefined>;
10
10
  declare const calcResponsiveSizes: (deviceType: DeviceType | undefined, desktopSize: string, tabletSize: string, mobileSize: string) => string;
11
11
  declare const getColor: (color: ColorsType) => string;
12
12
  /**
@@ -38,10 +38,11 @@ const openApps = async (appModule, tmSession, appRoutes) => {
38
38
  };
39
39
  export const setSDK_GlobalsInfoAsync = async (tms) => {
40
40
  try {
41
- await SetGlobalsInfoAsync(tms);
41
+ return await SetGlobalsInfoAsync(tms);
42
42
  }
43
43
  catch (e) {
44
44
  TMExceptionBoxManager.show({ exception: e.message });
45
+ return undefined;
45
46
  }
46
47
  };
47
48
  const calcResponsiveSizes = (deviceType, desktopSize, tabletSize, mobileSize) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react",
3
- "version": "6.19.0-dev2.55",
3
+ "version": "6.19.0-dev2.56",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -39,7 +39,7 @@
39
39
  "lib"
40
40
  ],
41
41
  "dependencies": {
42
- "@topconsultnpm/sdk-ts": "6.19.0-dev2.6",
42
+ "@topconsultnpm/sdk-ts": "file:../tm-sdk-ts",
43
43
  "buffer": "^6.0.3",
44
44
  "devextreme": "25.1.7",
45
45
  "devextreme-react": "25.1.7",