@glomex/integration-web-component 1.1374.1 → 1.1376.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.
- package/build/index.d.ts +5 -3
- package/package.json +4 -4
package/build/index.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ export declare interface Ad {
|
|
|
23
23
|
* name: 'some-name',
|
|
24
24
|
* scriptUrl: 'https://content-owner.com/tracking/script.js',
|
|
25
25
|
* conditions: [
|
|
26
|
-
* {
|
|
27
|
-
* {
|
|
26
|
+
* { startMethods: ['click-to-play'], muted: false, requiredVendors: ['967'] },
|
|
27
|
+
* { startMethods: ['autoplay-scroll'], muted: undefined, requiredVendors: undefined } // undefined = no filtering
|
|
28
28
|
* ]
|
|
29
29
|
* }
|
|
30
30
|
* ```
|
|
@@ -38,8 +38,9 @@ declare interface ApiScript {
|
|
|
38
38
|
* Conditions under which the API script should be executed. Undefined means always.
|
|
39
39
|
*/
|
|
40
40
|
conditions?: {
|
|
41
|
-
|
|
41
|
+
startMethods: StartMethod[];
|
|
42
42
|
muted: boolean | undefined;
|
|
43
|
+
requiredVendors?: string[];
|
|
43
44
|
}[];
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -959,6 +960,7 @@ export declare interface IntegrationProperties {
|
|
|
959
960
|
useAdsSdk?: boolean;
|
|
960
961
|
/**
|
|
961
962
|
* Allows the publisher to provide an optional placement attribute, which supplies additional contextual information for enhanced analytics tracking.
|
|
963
|
+
* This can be a simple string or a stringified JSON object. If it is a stringified JSON object, its contents are forwarded as `placementDetail`. If the object contains a property key `name`, its value will be tracked for the placement attribute.
|
|
962
964
|
*/
|
|
963
965
|
placement?: string;
|
|
964
966
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1376.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",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"build/**/*.d.ts"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"prepare": "
|
|
26
|
+
"prepare": "rm -rf build && tsc --build --force && rslib build",
|
|
27
27
|
"build": "rm -rf build && tsc --build && rslib build",
|
|
28
28
|
"lint": "tsc --build && biome ci",
|
|
29
29
|
"watch": "tsc --build && rslib build --watch"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@biomejs/biome": "^1.9.4",
|
|
33
|
-
"@glomex/integration": "^1.
|
|
33
|
+
"@glomex/integration": "^1.1376.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": "
|
|
42
|
+
"gitHead": "2d6b6a431b1fc69dcdebafe2cc5e24c3fcc1ad3d"
|
|
43
43
|
}
|