@glomex/integration-web-component 1.1347.0 → 1.1348.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/build/index.d.ts +3 -1
- package/package.json +3 -3
package/build/index.d.ts
CHANGED
|
@@ -363,6 +363,7 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
|
|
|
363
363
|
*/
|
|
364
364
|
placement?: string;
|
|
365
365
|
variant?: string;
|
|
366
|
+
crossorigin?: IntegrationProperties['crossorigin'];
|
|
366
367
|
/**
|
|
367
368
|
* Optional callback function invoked when the integration fails to load an advertisement.
|
|
368
369
|
* The callback receives an object with a `reason` property that explains why no ad was loaded.
|
|
@@ -380,7 +381,7 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
|
|
|
380
381
|
*/
|
|
381
382
|
pause(): void;
|
|
382
383
|
/**
|
|
383
|
-
* Snapshots current video frame.
|
|
384
|
+
* Snapshots current video frame. Requires {@link crossorigin} to be set to `anonymous`.
|
|
384
385
|
*/
|
|
385
386
|
getCurrentVideoFrame(): Promise<ImageBitmap>;
|
|
386
387
|
/**
|
|
@@ -919,6 +920,7 @@ export declare interface IntegrationProperties {
|
|
|
919
920
|
ppid?: string;
|
|
920
921
|
env?: 'stage' | 'local';
|
|
921
922
|
variant?: string;
|
|
923
|
+
crossorigin?: '' | 'anonymous' | 'use-credentials';
|
|
922
924
|
}
|
|
923
925
|
|
|
924
926
|
export declare enum KnownMarkerName {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1348.1",
|
|
4
4
|
"description": "Web component and types to integrate the glomex player",
|
|
5
5
|
"documentation": "https://docs.glomex.com",
|
|
6
6
|
"homepage": "https://glomex.com",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@biomejs/biome": "^1.9.4",
|
|
33
|
-
"@glomex/integration": "^1.
|
|
33
|
+
"@glomex/integration": "^1.1348.1",
|
|
34
34
|
"@microsoft/api-extractor": "^7.52.8",
|
|
35
35
|
"@rslib/core": "^0.8.0",
|
|
36
36
|
"typescript": "^5.8.3"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "3ab39a3732ba4158ff3c080318e1b85e885fb6ff"
|
|
43
43
|
}
|