@glomex/integration-web-component 1.1519.1 → 1.1520.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 +9 -3
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -35,10 +35,16 @@ export declare enum AdBreakName {
35
35
  POSTROLL = "postroll"
36
36
  }
37
37
 
38
- export declare class AdError extends Error {
39
- code: string;
38
+ /**
39
+ * A broad error shape accepted by AD_ERROR events.
40
+ * Any `Error` with a `name` and `code` satisfies this contract,
41
+ * so domain-specific errors can flow through without normalisation
42
+ * while preserving their origin.
43
+ */
44
+ export declare interface AdError extends Error {
40
45
  name: string;
41
- constructor(message: string, code: string);
46
+ message: string;
47
+ code: string;
42
48
  }
43
49
 
44
50
  /** Format of the ad - how it is presented */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1519.1",
3
+ "version": "1.1520.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.1519.1",
35
+ "@glomex/integration": "1.1520.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": "26707f6137155ee706f7bf67e32fea9634d9ec17"
45
+ "gitHead": "4f1e398f87a9f4a6897f3c8597bfa4b6f5b45a8e"
46
46
  }