@24i/bigscreen-sdk 1.0.51-alpha.2791 → 1.0.51-alpha.2793

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.51-alpha.2791",
3
+ "version": "1.0.51-alpha.2793",
4
4
  "description": "SmartApps BIGscreen SDK monorepo",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -283,7 +283,9 @@ export class DeviceSmartCast extends DeviceBase {
283
283
  async getAdInfo() {
284
284
  const adId = this.IFA?.IFA ?? null;
285
285
  const type = this.IFA?.IFA_TYPE ?? 'vida';
286
- const latEnabled = this.IFA?.LMT ?? true;
286
+ const latEnabled = (this.IFA?.LMT !== null || this.IFA?.LMT !== undefined)
287
+ ? Boolean(this.IFA?.LMT)
288
+ : true;
287
289
  return { adId, type, latEnabled };
288
290
  }
289
291
 
@@ -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: false,
34
+ LMT: 0,
35
35
  }),
36
36
 
37
37
  setContentChangeHandler:
@@ -61,8 +61,8 @@ export type IFA = {
61
61
  IFA: string,
62
62
  /** String value for IFA type ("vida") */
63
63
  IFA_TYPE: string,
64
- /** true=Limited tracking enabled, false=Limited tracking disabled */
65
- LMT: boolean,
64
+ /** 0=Limited tracking not enabled, 1=Limited tracking enabled */
65
+ LMT: 0 | 1,
66
66
  };
67
67
 
68
68
  export type DevicePlaybackQuality = 'UHD' | 'HD' | 'SD';