@24i/bigscreen-sdk 1.0.37-alpha.2649 → 1.0.37
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 +8 -8
- package/packages/driver-smartcast/src/DeviceSmartCast.ts +4 -3
- package/packages/driver-smartcast/src/__mocks__/api.ts +2 -2
- package/packages/driver-smartcast/src/types.ts +2 -2
- package/packages/sass-utils/src/linear-gradient.scss +3 -2
- package/packages/sass-utils/src/scale.1080.scss +3 -1
- package/packages/sass-utils/src/scale.720.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@24i/bigscreen-sdk",
|
|
3
|
-
"version": "1.0.37
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"description": "SmartApps BIGscreen SDK monorepo",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@24i/appstage-shared-analytics": "1.0.20-alpha.72",
|
|
42
42
|
"@24i/appstage-shared-events-manager": "1.0.11",
|
|
43
43
|
"@24i/appstage-shared-perf-utils": "1.0.11",
|
|
44
|
-
"@24i/bigscreen-players-engine-base": "4.0.
|
|
44
|
+
"@24i/bigscreen-players-engine-base": "4.0.8",
|
|
45
45
|
"@24i/smartapps-datalayer": "3.0.15",
|
|
46
46
|
"@sentry/browser": "7.35.0",
|
|
47
47
|
"@sentry/types": "7.35.0",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"@24i/bigscreen-sdk": "file:.",
|
|
55
55
|
"@24i/eslint-config-smartapps-bigscreen-linters": "file:./libs/linters",
|
|
56
56
|
"@24i/smartapps-bigscreen-changelog-generator": "0.17.0",
|
|
57
|
-
"@babel/core": "^7.24.
|
|
58
|
-
"@babel/preset-env": "^7.24.
|
|
57
|
+
"@babel/core": "^7.24.5",
|
|
58
|
+
"@babel/preset-env": "^7.24.5",
|
|
59
59
|
"@types/fs-extra": "^11.0.4",
|
|
60
60
|
"@types/gtag.js": "^0.0.19",
|
|
61
61
|
"@types/inquirer": "^9.0.7",
|
|
62
62
|
"@types/jest": "^29.5.12",
|
|
63
63
|
"@types/minimist": "^1.2.5",
|
|
64
|
-
"@types/node": "^20.12.
|
|
64
|
+
"@types/node": "^20.12.7",
|
|
65
65
|
"@types/prop-types": "^15.7.12",
|
|
66
66
|
"@types/react": "18.0.33",
|
|
67
67
|
"@types/scheduler": "^0.23.0",
|
|
@@ -72,19 +72,19 @@
|
|
|
72
72
|
"fs-extra": "^11.2.0",
|
|
73
73
|
"full-icu": "^1.5.0",
|
|
74
74
|
"identity-obj-proxy": "^3.0.0",
|
|
75
|
-
"inquirer": "^9.2.
|
|
75
|
+
"inquirer": "^9.2.20",
|
|
76
76
|
"jest": "^29.7.0",
|
|
77
77
|
"jest-canvas-mock": "^2.5.2",
|
|
78
78
|
"jest-environment-jsdom": "^29.7.0",
|
|
79
79
|
"jest-sonar": "^0.2.15",
|
|
80
80
|
"minimist": "^1.2.8",
|
|
81
81
|
"patch-package": "^8.0.0",
|
|
82
|
-
"sass": "^1.
|
|
82
|
+
"sass": "^1.76.0",
|
|
83
83
|
"sass-true": "^8.0.0",
|
|
84
84
|
"ts-jest": "^29.1.2",
|
|
85
85
|
"ts-node": "^10.9.2",
|
|
86
86
|
"tsconfig-paths-jest": "0.0.1",
|
|
87
|
-
"typescript": "^5.4.
|
|
87
|
+
"typescript": "^5.4.5"
|
|
88
88
|
},
|
|
89
89
|
"exports": {
|
|
90
90
|
"./adobe-heartbeat": "./packages/adobe-heartbeat/src/index.ts",
|
|
@@ -193,14 +193,14 @@ export class DeviceSmartCast extends DeviceBase {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
*
|
|
196
|
+
* Returns the status of Closed Captions feature.
|
|
197
197
|
*/
|
|
198
198
|
async getClosedCaptionsStatus() {
|
|
199
199
|
return this.closedCaptionsStatus;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
203
|
+
* Returns the status of Text to Speech Engine if it is available by the device.
|
|
204
204
|
*/
|
|
205
205
|
async getTextToSpeechStatus() {
|
|
206
206
|
return this.textToSpeechStatus;
|
|
@@ -225,7 +225,8 @@ export class DeviceSmartCast extends DeviceBase {
|
|
|
225
225
|
.replace('{{ifa}}', IFAObject.IFA)
|
|
226
226
|
.replace('{{ifa_type}}', IFAObject.IFA_TYPE)
|
|
227
227
|
.replace('{{ip_address}}', this.publicIpAddress!)
|
|
228
|
-
.replace('{{lmt}}',
|
|
228
|
+
.replace('{{lmt}}', IFAObject.LMT ? '1' : '0')
|
|
229
|
+
.replace('{{us_privacy}}', IFAObject.LMT ? '1YYN' : '1YNN');
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
async getManufacturerName() {
|
|
@@ -9,7 +9,7 @@ export const deeplinkUrl = 'https://smartapps-bigscreen.24i.com/#/detail/SERIES/
|
|
|
9
9
|
// eslint-disable-next-line max-len
|
|
10
10
|
export const deeplinkUrl2 = 'https://smartapps-bigscreen.24i.com/#/detail/SERIES/Ge1sO4gBXRsigNB1TBwy/undefined/undefined/';
|
|
11
11
|
// eslint-disable-next-line max-len
|
|
12
|
-
export const vastTagTemplate = 'w={{width}}&h={{height}}&did={{ifa}}&ifa_type={{ifa_type}}&lmt={{lmt}}&ip={{ip_address}}';
|
|
12
|
+
export const vastTagTemplate = 'w={{width}}&h={{height}}&did={{ifa}}&ifa_type={{ifa_type}}&lmt={{lmt}}&ip={{ip_address}}&us_privacy={{us_privacy}}';
|
|
13
13
|
|
|
14
14
|
export const SmartCastMockApi: ISmartCastApi = {
|
|
15
15
|
deviceModel,
|
|
@@ -31,7 +31,7 @@ export const SmartCastMockApi: ISmartCastApi = {
|
|
|
31
31
|
setAdvertiserIDListener: (callback: (advertiserID: IFA) => void): void => callback({
|
|
32
32
|
IFA: deviceId,
|
|
33
33
|
IFA_TYPE: 'vida',
|
|
34
|
-
LMT:
|
|
34
|
+
LMT: false,
|
|
35
35
|
}),
|
|
36
36
|
|
|
37
37
|
setContentChangeHandler:
|
|
@@ -56,8 +56,8 @@ export type IFA = {
|
|
|
56
56
|
IFA: string,
|
|
57
57
|
/** String value for IFA type ("vida") */
|
|
58
58
|
IFA_TYPE: string,
|
|
59
|
-
/**
|
|
60
|
-
LMT:
|
|
59
|
+
/** true=Limited tracking enabled, false=Limited tracking disabled */
|
|
60
|
+
LMT: boolean,
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
export type DevicePlaybackQuality = 'UHD' | 'HD' | 'SD';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use 'sass:list';
|
|
2
2
|
@use 'sass:math';
|
|
3
3
|
@use 'sass:meta';
|
|
4
|
+
@use 'sass:map';
|
|
4
5
|
|
|
5
6
|
@function legacy-direction($value) {
|
|
6
7
|
@if is-direction($value) == false {
|
|
@@ -20,8 +21,8 @@
|
|
|
20
21
|
to left top : right bottom,
|
|
21
22
|
to top left : bottom right
|
|
22
23
|
);
|
|
23
|
-
@if map
|
|
24
|
-
@return map
|
|
24
|
+
@if map.has-key($conversion-map, $value) {
|
|
25
|
+
@return map.get($conversion-map, $value);
|
|
25
26
|
}
|
|
26
27
|
@return 90deg - $value;
|
|
27
28
|
}
|