@wscsports/blaze-web-sdk 0.1.14 → 0.1.15
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 +13 -5
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare abstract class BaseWidget extends HTMLElement {
|
|
|
45
45
|
protected _animationDuration: number;
|
|
46
46
|
constructor();
|
|
47
47
|
getAttribute<T = boolean | string | number>(qualifiedName: string): T;
|
|
48
|
-
setStyle<T extends keyof CSSStyleDeclaration>(styles: Record<T, string | null>): void;
|
|
48
|
+
setStyle<T extends keyof CSSStyleDeclaration | string>(styles: Record<T, string | null>): void;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export declare class EventsListener {
|
|
@@ -350,7 +350,11 @@ export declare enum ErrorCode {
|
|
|
350
350
|
FailedLoadingMoments = 110,
|
|
351
351
|
FailedEnrichMoments = 111,
|
|
352
352
|
VisualViewportScaled = 150,
|
|
353
|
-
VideoError = 200
|
|
353
|
+
VideoError = 200,
|
|
354
|
+
PreviewStoryNotFound = 300,
|
|
355
|
+
PreviewStoryLoadFailed = 301,
|
|
356
|
+
PreviewMomentNotFound = 310,
|
|
357
|
+
PreviewMomentLoadFailed = 311
|
|
354
358
|
}
|
|
355
359
|
|
|
356
360
|
export declare enum Delegation {
|
|
@@ -715,7 +719,11 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
|
|
|
715
719
|
totalItems: number;
|
|
716
720
|
result: IMoment[];
|
|
717
721
|
}>>;
|
|
718
|
-
preview(storyId: string, publishedOnly?: boolean): Promise<IResponse<
|
|
722
|
+
preview(storyId: string, publishedOnly?: boolean): Promise<IResponse<{
|
|
723
|
+
assetsExpiryTime: string;
|
|
724
|
+
totalItems: number;
|
|
725
|
+
result: IStory[];
|
|
726
|
+
}>>;
|
|
719
727
|
preivewMoment(momentId: string, publishedOnly?: boolean): Promise<IResponse<any>>;
|
|
720
728
|
analyticsEvents(body: Partial<AnalyticsEvent>[]): Promise<IResponse<unknown>>;
|
|
721
729
|
}
|
|
@@ -745,7 +753,7 @@ declare abstract class ConfigServiceClass extends ConfigServiceClass_base implem
|
|
|
745
753
|
get analyticsApiUrl(): string;
|
|
746
754
|
get apiUrl(): string;
|
|
747
755
|
get apiKey(): string;
|
|
748
|
-
get previewUrl(): string
|
|
756
|
+
get previewUrl(): string;
|
|
749
757
|
get previewMomentsUrl(): string;
|
|
750
758
|
}
|
|
751
759
|
export declare const ConfigService: ConfigServiceClass;
|
|
@@ -1562,7 +1570,7 @@ export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements
|
|
|
1562
1570
|
widgetType(): 'row' | 'grid';
|
|
1563
1571
|
}
|
|
1564
1572
|
|
|
1565
|
-
export declare class BlazeWidgetModal extends
|
|
1573
|
+
export declare class BlazeWidgetModal extends BaseWidget {
|
|
1566
1574
|
isOpen: boolean;
|
|
1567
1575
|
constructor();
|
|
1568
1576
|
connectedCallback(): void;
|