@glomex/integration-web-component 1.1347.0 → 1.1348.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.
Files changed (2) hide show
  1. package/build/index.d.ts +3 -1
  2. 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.1347.0",
3
+ "version": "1.1348.0",
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.1347.0",
33
+ "@glomex/integration": "^1.1348.0",
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": "d541c9c088a4733ccc5b659f8fbeab3220b69781"
42
+ "gitHead": "7b26bf1cd17770e0907d4cfc5a365df949e7dac7"
43
43
  }