@wscsports/blaze-web-sdk 0.9.0 → 0.10.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/README.md +1 -8
- package/package.json +1 -1
- package/publish/index.d.ts +4 -0
- package/publish/index.js +1 -1
package/README.md
CHANGED
|
@@ -3,11 +3,4 @@ Welcome to WSC Sports Web SDK.
|
|
|
3
3
|
|
|
4
4
|
# Getting Started
|
|
5
5
|
Please visit out documentation website for installation guides:<br/>
|
|
6
|
-
https://dev.wsc-sports.com/docs/sdk-integration
|
|
7
|
-
|
|
8
|
-
# Local Development
|
|
9
|
-
To run the project locally, follow these steps:
|
|
10
|
-
1. Install Docker on your local machine
|
|
11
|
-
2. run `npm run start:dev-docker` in the root directory of the project
|
|
12
|
-
3. Open your browser and navigate to `http://localhost:3005`
|
|
13
|
-
|
|
6
|
+
https://dev.wsc-sports.com/docs/sdk-integration
|
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare function playContent(contentType: ContentType, options: PlayConte
|
|
|
29
29
|
export declare function setAbTestParams(abTestParams: BlazeAbTestType): void;
|
|
30
30
|
export declare function getAppContextManager(): Record<string, any>;
|
|
31
31
|
export declare const pushConsentEvent: (action: string, body: Record<string, any>) => void;
|
|
32
|
+
export declare const isInitialized: () => boolean;
|
|
32
33
|
declare const _default: {
|
|
33
34
|
Initialize: typeof Initialize;
|
|
34
35
|
WidgetGridView: typeof WidgetGridView;
|
|
@@ -52,6 +53,7 @@ declare const _default: {
|
|
|
52
53
|
setAbTestParams: typeof setAbTestParams;
|
|
53
54
|
getAppContextManager: typeof getAppContextManager;
|
|
54
55
|
pushConsentEvent: (action: string, body: Record<string, any>) => void;
|
|
56
|
+
isInitialized: () => boolean;
|
|
55
57
|
};
|
|
56
58
|
export default _default;
|
|
57
59
|
|
|
@@ -4587,9 +4589,11 @@ export declare class BlazeWidgetScrollable extends BaseWidget {
|
|
|
4587
4589
|
|
|
4588
4590
|
export type playRefType = 'Share' | 'SingleContent' | 'AutoAdvance';
|
|
4589
4591
|
export declare class BlazeWidgetSDK extends BaseWidget {
|
|
4592
|
+
private static _isSdkConnected;
|
|
4590
4593
|
modal: BlazeWidgetStoryModal | BlazeWidgetMomentModal | BlazeWidgetVideoModal;
|
|
4591
4594
|
boundOnResizeEvent: (this: Window, ev: UIEvent) => void;
|
|
4592
4595
|
boundOnResizeEventDelay: () => void;
|
|
4596
|
+
static isSdkConnected(): boolean;
|
|
4593
4597
|
static get observedAttributes(): string[];
|
|
4594
4598
|
constructor();
|
|
4595
4599
|
connectedCallback(): Promise<void>;
|