@glomex/integration-web-component 1.1382.0 → 1.1383.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.
@@ -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
- * { startMethods: ['click-to-play'], muted: false, requiredVendors: ['967'] },
27
- * { startMethods: ['autoplay-scroll'], muted: undefined, requiredVendors: undefined } // undefined = no filtering
26
+ * { startMethods: ['click-to-play'], muted: false, requiredVendors: ['967'], probability: 1 },
27
+ * { startMethods: ['autoplay-scroll'], muted: undefined, requiredVendors: undefined, probability: 1 } // undefined = no filtering
28
28
  * ]
29
29
  * }
30
30
  * ```
@@ -39,8 +39,9 @@ declare interface ApiScript {
39
39
  */
40
40
  conditions?: {
41
41
  startMethods: StartMethod[];
42
- muted: boolean | undefined;
42
+ muted?: boolean | undefined;
43
43
  requiredVendors?: string[];
44
+ probability: number;
44
45
  }[];
45
46
  }
46
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1382.0",
3
+ "version": "1.1383.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",
@@ -15,22 +15,22 @@
15
15
  "custom-element"
16
16
  ],
17
17
  "type": "module",
18
- "main": "./build/index.js",
19
- "types": "./build/index.d.ts",
18
+ "main": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
20
  "files": [
21
21
  "LICENSE.md",
22
- "build/**/*.js",
23
- "build/**/*.d.ts"
22
+ "dist/**/*.js",
23
+ "dist/**/*.d.ts"
24
24
  ],
25
25
  "scripts": {
26
- "prepare": "rm -rf build && tsc --build --force && rslib build",
27
- "build": "rm -rf build && tsc --build && rslib build",
26
+ "prepare": "rm -rf dist && tsc --build --force && rslib build",
27
+ "build": "rm -rf dist && 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.1382.0",
33
+ "@glomex/integration": "^1.1383.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": "1ccb414f6b546e814fdfcc8af324b197d1eff6c1"
42
+ "gitHead": "39b78db86afac9747c2a15f0186520175284694d"
43
43
  }
File without changes