@glomex/integration-web-component 1.1491.0 → 1.1492.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/dist/index.d.ts +8 -2
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -3,11 +3,11 @@
3
3
  export declare interface Ad {
4
4
  sessionId: string;
5
5
  id: string;
6
- isLinear: boolean;
6
+ adFormat: AdFormat;
7
7
  duration?: number;
8
8
  positionIndex: number;
9
9
  breakIndex: number;
10
- breakName: string;
10
+ breakName: AdBreakName;
11
11
  mimetype: string;
12
12
  totalAds: number;
13
13
  adUrl?: string;
@@ -27,12 +27,18 @@ export declare interface Ad {
27
27
  clickThroughUrl?: string;
28
28
  }
29
29
 
30
+ /** Name of ad break - when the ad appears, `overlay` is deprecated */
31
+ export declare type AdBreakName = 'preroll' | 'midroll' | 'postroll' | 'overlay';
32
+
30
33
  export declare class AdError extends Error {
31
34
  code: string;
32
35
  name: string;
33
36
  constructor(message: string, code: string);
34
37
  }
35
38
 
39
+ /** Format of the ad - how it is presented */
40
+ export declare type AdFormat = 'linear' | 'overlay' | 'cutin' | 'pause';
41
+
36
42
  export declare const ALLOWED_UI_ACTIONS: readonly ["play", "pause", "openEpg", "startAgeSetup", "forgotPin"];
37
43
 
38
44
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1491.0",
3
+ "version": "1.1492.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",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@biomejs/biome": "catalog:",
35
- "@glomex/integration": "1.1491.0",
35
+ "@glomex/integration": "1.1492.0",
36
36
  "@microsoft/api-extractor": "catalog:",
37
37
  "@rslib/core": "catalog:",
38
38
  "npm-run-all": "catalog:",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "license": "MIT",
45
- "gitHead": "f70a983ee5f3afbb63415301d071f9d20ea9c8ec"
45
+ "gitHead": "c8251c8e398b1e7662a4a8448ef9b7bda1d03811"
46
46
  }