@percy/webdriver-utils 1.31.0-alpha.3 → 1.31.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.
@@ -173,6 +173,9 @@ export default class GenericProvider {
173
173
  consideredElementsData: {
174
174
  considerElementsData: considerRegions
175
175
  },
176
+ regions: this.options.regions || null,
177
+ algorithm: this.options.algorithm || null,
178
+ algorithmConfiguration: this.options.algorithmConfiguration || null,
176
179
  environmentInfo: this.getUserAgentString(this.environmentInfoDetails),
177
180
  clientInfo: this.getUserAgentString(this.clientInfoDetails),
178
181
  domInfoSha: tiles.domInfoSha,
@@ -51,6 +51,9 @@ export default class PlaywrightProvider extends GenericProvider {
51
51
  consideredElementsData: {
52
52
  considerElementsData: tiles.considerRegionsData
53
53
  },
54
+ regions: options.regions || null,
55
+ algorithm: options.algorithm || null,
56
+ algorithmConfiguration: options.algorithmConfiguration || null,
54
57
  environmentInfo: this.environmentInfo,
55
58
  clientInfo: this.clientInfo,
56
59
  domInfoSha: tiles.domInfoSha,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/webdriver-utils",
3
- "version": "1.31.0-alpha.3",
3
+ "version": "1.31.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "alpha"
12
+ "tag": "latest"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -29,8 +29,8 @@
29
29
  "test:coverage": "yarn test --coverage"
30
30
  },
31
31
  "dependencies": {
32
- "@percy/config": "1.31.0-alpha.3",
33
- "@percy/sdk-utils": "1.31.0-alpha.3"
32
+ "@percy/config": "1.31.0",
33
+ "@percy/sdk-utils": "1.31.0"
34
34
  },
35
- "gitHead": "14ae0b4319c1c2ae28729d56cba3b159e80386a8"
35
+ "gitHead": "49895470c0dfa7242881db43e293317d1fb8f8b6"
36
36
  }