@glomex/integration-web-component 1.1460.0 → 1.1462.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 +11 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -506,6 +506,11 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
506
506
  * @attribute crossorigin
507
507
  */
508
508
  crossorigin?: IntegrationProperties['crossorigin'];
509
+ /**
510
+ * {@inheritDoc IntegrationProperties.userLanguage}
511
+ * @attribute user-language
512
+ */
513
+ userLanguage?: string;
509
514
  extraContext?: ExtraContext;
510
515
  /**
511
516
  * Optional callback function invoked when the integration fails to load an advertisement.
@@ -1212,6 +1217,12 @@ export declare interface IntegrationProperties {
1212
1217
  * for the loaded media files, though text-tracks from foreign origins then cannot be loaded.
1213
1218
  */
1214
1219
  crossorigin?: '' | 'anonymous' | 'use-credentials' | 'none';
1220
+ /**
1221
+ * Preferred language for the current user.
1222
+ * When provided, this value is used for the UI instead of the browser language detected in the environment.
1223
+ * Expected to be an ISO 639-1 language code (e.g. "de", "en", "it", "es").
1224
+ */
1225
+ userLanguage?: string;
1215
1226
  /**
1216
1227
  * {@inheritDoc ExtraContext}
1217
1228
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1460.0",
3
+ "version": "1.1462.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.1460.0",
35
+ "@glomex/integration": "1.1462.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": "0150ba23758b623f77d3549c243e79c201035b8b"
45
+ "gitHead": "f0fb66d486f8e1d9a633902a75fe4a2856f8cfb2"
46
46
  }