@wscsports/blaze-web-sdk 0.1.78 → 0.1.80
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 +1 -1
- package/publish/index.d.ts +8 -3
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -586,6 +586,7 @@ export interface IWidgetViewOptionsBase {
|
|
|
586
586
|
contentType?: ContentType;
|
|
587
587
|
theme?: IWidgetTheme | ThemeType;
|
|
588
588
|
delegates?: Record<Delegation, EventListenerOrEventListenerObject>;
|
|
589
|
+
labelsPriority?: string;
|
|
589
590
|
}
|
|
590
591
|
export interface IWidgetViewOptionsWithLabels extends IWidgetViewOptionsBase {
|
|
591
592
|
labels: string | string[] | BlazeWidgetLabel;
|
|
@@ -601,6 +602,7 @@ export interface IWidgetView {
|
|
|
601
602
|
setTheme: (theme: IWidgetTheme) => void;
|
|
602
603
|
getTheme: () => IWidgetTheme;
|
|
603
604
|
setLabels: (labels: string | string[] | BlazeWidgetLabel) => void;
|
|
605
|
+
setLabelsPriority: (labelsPriority: string) => void;
|
|
604
606
|
setContentIds: (storyIds: string[]) => void;
|
|
605
607
|
reload: () => void;
|
|
606
608
|
setMaxItemsDisplaySize: (size: number) => void;
|
|
@@ -713,6 +715,7 @@ export declare class ReferringEventInfo {
|
|
|
713
715
|
'origin_widget_type': string;
|
|
714
716
|
'origin_placement_id': string;
|
|
715
717
|
'origin_placement_name': string;
|
|
718
|
+
'story_source': string;
|
|
716
719
|
}
|
|
717
720
|
export declare class AnalyticsEvent {
|
|
718
721
|
'timestamp_utc': string;
|
|
@@ -825,7 +828,7 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
|
|
|
825
828
|
};
|
|
826
829
|
error?: Error | undefined;
|
|
827
830
|
}>;
|
|
828
|
-
getStories(labels: string, orderType: OrderType, maxItemsSize?: number): Promise<{
|
|
831
|
+
getStories(labels: string, orderType: OrderType, maxItemsSize?: number, labelsPriority?: string): Promise<{
|
|
829
832
|
result: IStory[];
|
|
830
833
|
data: {
|
|
831
834
|
assetsExpiryTime: string;
|
|
@@ -1572,6 +1575,7 @@ export declare function GuardNullOrEmpty(name: string, value: any): void;
|
|
|
1572
1575
|
|
|
1573
1576
|
export declare function formatDuration(startDate: Date): string;
|
|
1574
1577
|
export declare function removeUndefined(value: any): object;
|
|
1578
|
+
export declare function isCssPropertySupported(property: string): boolean;
|
|
1575
1579
|
export declare function isObject(item: any): boolean;
|
|
1576
1580
|
export declare function mergeDeep(target: any, ...sources: any[]): any;
|
|
1577
1581
|
export declare function cloneDeep<T>(target: T): T;
|
|
@@ -1760,13 +1764,14 @@ export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements
|
|
|
1760
1764
|
connectedCallback(): void;
|
|
1761
1765
|
getParentHeightWithoutPadding(): number | null;
|
|
1762
1766
|
disconnectedCallback(): void;
|
|
1763
|
-
set storyIds(value: string);
|
|
1764
|
-
setContentIds(storyIds: string[]): void;
|
|
1765
1767
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
1766
1768
|
setId(id: string): void;
|
|
1767
1769
|
onResize(): void;
|
|
1768
1770
|
handlePopState(_event: Event): void;
|
|
1769
1771
|
addDelegateListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1772
|
+
set storyIds(value: string);
|
|
1773
|
+
setContentIds(storyIds: string[]): void;
|
|
1774
|
+
setLabelsPriority(labelsPriority: string): void;
|
|
1770
1775
|
setLabels(labels: labelType): void;
|
|
1771
1776
|
getTheme(): IWidgetTheme;
|
|
1772
1777
|
setTheme(theme: IWidgetTheme | string): void;
|