@24i/bigscreen-sdk 1.0.6-alpha.2143 → 1.0.6-alpha.2147

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/bigscreen-sdk",
3
- "version": "1.0.6-alpha.2143",
3
+ "version": "1.0.6-alpha.2147",
4
4
  "description": "SmartApps BIGscreen SDK monorepo",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,12 +35,8 @@ type Props = {
35
35
  profileName: string,
36
36
  /** Version of application. */
37
37
  appVersion: string,
38
- /** Version of Bigscreen SDK currently used. */
39
- sdkVersion: string,
40
- /** Version of Bigscreen WL currently used. */
41
- wlVersion: string,
42
- /** Version of Bigscreen DataLayer currently used. */
43
- dlVersion: string,
38
+ /** Version of the currently used core packages. */
39
+ appCoreVersions: string,
44
40
  /** App resolution, in format like "1280x720". */
45
41
  appResolution: string,
46
42
  /** OVP/CMS back-end base URL. */
@@ -269,19 +265,9 @@ class TechnicalInfoProvider implements ITechnicalInfoProvider {
269
265
  return this.props.backendBaseUrl || unknown;
270
266
  }
271
267
 
272
- async getSdkVersion() {
268
+ async getAppCoreVersions() {
273
269
  const { unknown } = this.translations;
274
- return this.props.sdkVersion || unknown;
275
- }
276
-
277
- async getWlVersion() {
278
- const { unknown } = this.translations;
279
- return this.props.wlVersion || unknown;
280
- }
281
-
282
- async getDlVersion() {
283
- const { unknown } = this.translations;
284
- return this.props.dlVersion || unknown;
270
+ return this.props.appCoreVersions || unknown;
285
271
  }
286
272
 
287
273
  getSourceDataLayout() {
@@ -291,15 +277,13 @@ class TechnicalInfoProvider implements ITechnicalInfoProvider {
291
277
  publicIpAddress, connectionType, macAddress, memoryHeapSize,
292
278
  usedLocalStorage, timeZone, dateAndTime, flavour, userAgent,
293
279
  emeSupport, emeDrmSystems, mseSupport, fourKSupport, resolution, baseUrl,
294
- sdkVersion, wlVersion, dlVersion,
280
+ appCoreVersions,
295
281
  } = this.translations;
296
282
  const dataLayout: SourceDataLayout = [
297
283
  { label: username, getter: this.getUserName },
298
284
  { label: profile, getter: this.getProfileName },
299
285
  { label: appVersion, getter: this.getAppVersion },
300
- { label: sdkVersion, getter: this.getSdkVersion },
301
- { label: wlVersion, getter: this.getWlVersion },
302
- { label: dlVersion, getter: this.getDlVersion },
286
+ { label: appCoreVersions, getter: this.getAppCoreVersions },
303
287
  { label: firmwareVersion, getter: this.getFirmwareVersion },
304
288
  { label: deviceModel, getter: this.getDeviceModelName },
305
289
  { label: deviceManufacturer, getter: this.getDeviceManufacturer },
@@ -10,6 +10,7 @@ export type TranslationKeys = {
10
10
  username: string,
11
11
  profile: string,
12
12
  appVersion: string,
13
+ appCoreVersions: string,
13
14
  firmwareVersion: string,
14
15
  deviceModel: string,
15
16
  deviceManufacturer: string,
@@ -35,9 +36,6 @@ export type TranslationKeys = {
35
36
  fourKSupport: string,
36
37
  resolution: string,
37
38
  baseUrl: string,
38
- sdkVersion: string,
39
- wlVersion: string,
40
- dlVersion: string,
41
39
  };
42
40
 
43
41
  export const defaultTranslations = {
@@ -50,6 +48,7 @@ export const defaultTranslations = {
50
48
  username: 'Username',
51
49
  profile: 'Profile',
52
50
  appVersion: 'App version',
51
+ appCoreVersions: 'Core versions',
53
52
  firmwareVersion: 'Firmware version',
54
53
  deviceModel: 'Device model',
55
54
  deviceManufacturer: 'Device manufacturer',
@@ -75,7 +74,4 @@ export const defaultTranslations = {
75
74
  fourKSupport: '4K support',
76
75
  resolution: 'Resolution',
77
76
  baseUrl: 'Base URL',
78
- sdkVersion: 'SDK version',
79
- wlVersion: 'Whitelabel version',
80
- dlVersion: 'DataLayer version',
81
77
  };