@wscsports/blaze-web-sdk 0.1.15 → 0.1.16
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 +6 -13
- 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
|
|
48
|
+
setStyle<T extends keyof CSSStyleDeclaration>(styles: Record<T, string | null>): void;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export declare class EventsListener {
|
|
@@ -350,11 +350,7 @@ export declare enum ErrorCode {
|
|
|
350
350
|
FailedLoadingMoments = 110,
|
|
351
351
|
FailedEnrichMoments = 111,
|
|
352
352
|
VisualViewportScaled = 150,
|
|
353
|
-
VideoError = 200
|
|
354
|
-
PreviewStoryNotFound = 300,
|
|
355
|
-
PreviewStoryLoadFailed = 301,
|
|
356
|
-
PreviewMomentNotFound = 310,
|
|
357
|
-
PreviewMomentLoadFailed = 311
|
|
353
|
+
VideoError = 200
|
|
358
354
|
}
|
|
359
355
|
|
|
360
356
|
export declare enum Delegation {
|
|
@@ -719,11 +715,7 @@ declare abstract class ApiServiceClass extends ApiServiceClass_base implements I
|
|
|
719
715
|
totalItems: number;
|
|
720
716
|
result: IMoment[];
|
|
721
717
|
}>>;
|
|
722
|
-
preview(storyId: string, publishedOnly?: boolean): Promise<IResponse<
|
|
723
|
-
assetsExpiryTime: string;
|
|
724
|
-
totalItems: number;
|
|
725
|
-
result: IStory[];
|
|
726
|
-
}>>;
|
|
718
|
+
preview(storyId: string, publishedOnly?: boolean): Promise<IResponse<any>>;
|
|
727
719
|
preivewMoment(momentId: string, publishedOnly?: boolean): Promise<IResponse<any>>;
|
|
728
720
|
analyticsEvents(body: Partial<AnalyticsEvent>[]): Promise<IResponse<unknown>>;
|
|
729
721
|
}
|
|
@@ -753,7 +745,7 @@ declare abstract class ConfigServiceClass extends ConfigServiceClass_base implem
|
|
|
753
745
|
get analyticsApiUrl(): string;
|
|
754
746
|
get apiUrl(): string;
|
|
755
747
|
get apiKey(): string;
|
|
756
|
-
get previewUrl(): string;
|
|
748
|
+
get previewUrl(): string | undefined;
|
|
757
749
|
get previewMomentsUrl(): string;
|
|
758
750
|
}
|
|
759
751
|
export declare const ConfigService: ConfigServiceClass;
|
|
@@ -1570,7 +1562,7 @@ export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements
|
|
|
1570
1562
|
widgetType(): 'row' | 'grid';
|
|
1571
1563
|
}
|
|
1572
1564
|
|
|
1573
|
-
export declare class BlazeWidgetModal extends
|
|
1565
|
+
export declare class BlazeWidgetModal extends HTMLElement {
|
|
1574
1566
|
isOpen: boolean;
|
|
1575
1567
|
constructor();
|
|
1576
1568
|
connectedCallback(): void;
|
|
@@ -1824,6 +1816,7 @@ export declare class BlazeWidgetStoryModal extends BlazeWidgetModal {
|
|
|
1824
1816
|
private handlePan;
|
|
1825
1817
|
private handleDoubleTap;
|
|
1826
1818
|
private setupHammer;
|
|
1819
|
+
handlePinchOut(ev: HammerInput): void;
|
|
1827
1820
|
private cleanupHammer;
|
|
1828
1821
|
render(): void;
|
|
1829
1822
|
}
|