@wscsports/blaze-web-sdk 0.25.0 → 0.26.0

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": "@wscsports/blaze-web-sdk",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -30,6 +30,7 @@ export declare function setBeforeContentPlayCallback(callback: BeforeContentPlay
30
30
  export declare function appendContentToPlayer(contentType: ContentType, dataSource: BlazeDataSourceType, options?: {
31
31
  shouldOrderContentByReadStatus?: boolean;
32
32
  }): Promise<void>;
33
+ export declare function setDisableAnalytics(value: boolean): void;
33
34
  declare const _default: {
34
35
  Initialize: typeof Initialize;
35
36
  WidgetGridView: typeof WidgetGridView;
@@ -39,6 +40,7 @@ declare const _default: {
39
40
  Theme: typeof Theme;
40
41
  addDelegateListener: typeof addDelegateListener;
41
42
  setDoNotTrack: typeof setDoNotTrack;
43
+ setDisableAnalytics: typeof setDisableAnalytics;
42
44
  setGeoLocation: typeof setGeoLocation;
43
45
  setOnItemClick: typeof setOnItemClick;
44
46
  LabelBuilder: typeof LabelBuilder;
@@ -2061,6 +2063,7 @@ export interface IBlazeSDKOptions {
2061
2063
  previewUrl?: string;
2062
2064
  previewMomentUrl?: string;
2063
2065
  doNotTrack?: boolean;
2066
+ disableAnalytics?: boolean;
2064
2067
  geoLocation?: string;
2065
2068
  staticContent?: boolean;
2066
2069
  staticContentType?: ContentType;
@@ -2604,6 +2607,7 @@ declare abstract class ConfigServiceClass extends ConfigServiceClass_base implem
2604
2607
  private _previewUrl;
2605
2608
  private _previewMomentUrl;
2606
2609
  private _sendAnalytics;
2610
+ private _disableAnalytics;
2607
2611
  private _doNotTrack;
2608
2612
  private _geoLocation;
2609
2613
  private _staticContent;
@@ -2644,6 +2648,8 @@ declare abstract class ConfigServiceClass extends ConfigServiceClass_base implem
2644
2648
  get environment(): EnvironmentType;
2645
2649
  private set environment(value);
2646
2650
  get sendAnalytics(): boolean;
2651
+ get disableAnalytics(): boolean;
2652
+ set disableAnalytics(value: boolean);
2647
2653
  get shouldCreateUser(): boolean;
2648
2654
  get analyticsApiUrl(): string;
2649
2655
  get loggerApiUrl(): string;