@wscsports/blaze-web-sdk 0.21.0 → 0.21.1
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 -4
- package/publish/index.d.ts +3 -2
- package/publish/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wscsports/blaze-web-sdk",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"main": "publish/index",
|
|
5
5
|
"types": "publish/index",
|
|
6
6
|
"files": [
|
|
@@ -15,18 +15,15 @@
|
|
|
15
15
|
"publish:latest": "npm run build:prod && npm publish --access public --tag latest",
|
|
16
16
|
"publish:beta": "npm run build:prod && npm publish --access public --tag beta",
|
|
17
17
|
"version-download": "node ./version-downloader.js",
|
|
18
|
-
|
|
19
18
|
"test": "node ./node_modules/@playwright/test/cli.js test --project='Desktop Chrome'",
|
|
20
19
|
"test:desktop": "node ./node_modules/@playwright/test/cli.js test --project='Desktop Chrome' --project='Desktop Firefox' --project='Desktop Safari'",
|
|
21
20
|
"test:desktop:stories": "node ./node_modules/@playwright/test/cli.js test --project='Desktop Chrome' --project='Desktop Safari' e2e-tests/tests/stories",
|
|
22
21
|
"test:desktop:moments": "node ./node_modules/@playwright/test/cli.js test --project='Desktop Chrome' --project='Desktop Safari' e2e-tests/tests/moments",
|
|
23
22
|
"test:desktop:long-form": "node ./node_modules/@playwright/test/cli.js test --project='Desktop Chrome' --project='Desktop Safari' e2e-tests/tests/video-longform",
|
|
24
|
-
|
|
25
23
|
"test:mobile": "node ./node_modules/@playwright/test/cli.js test --project='iOS Safari 13' --project='Android Chrome'",
|
|
26
24
|
"test:mobile:stories": "node ./node_modules/@playwright/test/cli.js test --project='iOS Safari 13' --project='Android Chrome' e2e-tests/tests/stories",
|
|
27
25
|
"test:mobile:moments": "node ./node_modules/@playwright/test/cli.js test --project='iOS Safari 13' e2e-tests/tests/moments",
|
|
28
26
|
"test:mobile:long-form": "node ./node_modules/@playwright/test/cli.js test --project='iOS Safari 13' e2e-tests/tests/video-longform",
|
|
29
|
-
|
|
30
27
|
"test:android:stories": "export USE_PHYSICAL_DEVICE=true && export $(cat .env.physical-device 2>/dev/null | xargs) && node ./node_modules/@playwright/test/cli.js test --config=playwright.config.physical-device.ts --project='Android Mobile Chrome' e2e-tests/tests/stories",
|
|
31
28
|
"test:android:moments": "export USE_PHYSICAL_DEVICE=true && export $(cat .env.physical-device 2>/dev/null | xargs) && node ./node_modules/@playwright/test/cli.js test --config=playwright.config.physical-device.ts --project='Android Mobile Chrome' e2e-tests/tests/moments"
|
|
32
29
|
},
|
package/publish/index.d.ts
CHANGED
|
@@ -971,7 +971,7 @@ export declare class BlazeButton extends BaseWidget {
|
|
|
971
971
|
get refElement(): ShadowRoot | this;
|
|
972
972
|
constructor();
|
|
973
973
|
private setupFocusDelegation;
|
|
974
|
-
static get observedAttributes(): ("height" | "order" | "width" | "icon-color" | "disabled" | "blaze-btn-
|
|
974
|
+
static get observedAttributes(): ("height" | "order" | "width" | "icon-color" | "disabled" | "blaze-btn-hidden" | "blaze-btn-visible" | "button-desktop-animation")[];
|
|
975
975
|
private onMouseEnter;
|
|
976
976
|
private onMouseLeave;
|
|
977
977
|
private onClick;
|
|
@@ -5998,6 +5998,7 @@ export declare class BlazeWidgetVastAd extends HTMLElement {
|
|
|
5998
5998
|
private adContainer;
|
|
5999
5999
|
private adLoaderContainer;
|
|
6000
6000
|
private videoElement?;
|
|
6001
|
+
private videoUrl?;
|
|
6001
6002
|
private currentAdTag;
|
|
6002
6003
|
private currentAdInfo?;
|
|
6003
6004
|
private currentAddExtraAnalyticsParams?;
|
|
@@ -6010,7 +6011,7 @@ export declare class BlazeWidgetVastAd extends HTMLElement {
|
|
|
6010
6011
|
private initializeGoogleIma;
|
|
6011
6012
|
private buildImaUrl;
|
|
6012
6013
|
private cleanupAdSession;
|
|
6013
|
-
startAd(videoElement: HTMLVideoElement, adInfo: IImaAdInfo, contentExtraInfo?: ContentExtraInfo, addCustomParams?: (url: URL) => void, addExtraAnalyticsParams?: AddExtraAnalyticsParams): Promise<Boolean>;
|
|
6014
|
+
startAd(videoElement: HTMLVideoElement, adInfo: IImaAdInfo, contentExtraInfo?: ContentExtraInfo, addCustomParams?: (url: URL) => void, addExtraAnalyticsParams?: AddExtraAnalyticsParams, videoUrl?: string, videoDuration?: number): Promise<Boolean>;
|
|
6014
6015
|
private onAdsManagerLoaded;
|
|
6015
6016
|
private loadAds;
|
|
6016
6017
|
private onAdEvent;
|