@percy/core 1.31.5 → 1.31.6-beta.5

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/dist/config.js CHANGED
@@ -20,6 +20,41 @@ export const configSchema = {
20
20
  skipBaseBuild: {
21
21
  type: 'boolean',
22
22
  default: false
23
+ },
24
+ platforms: {
25
+ type: 'array',
26
+ items: {
27
+ type: 'object',
28
+ additionalProperties: false,
29
+ properties: {
30
+ browserName: {
31
+ type: 'string'
32
+ },
33
+ browserVersion: {
34
+ oneOf: [{
35
+ type: 'string'
36
+ }, {
37
+ type: 'number'
38
+ }]
39
+ },
40
+ osVersion: {
41
+ oneOf: [{
42
+ type: 'string'
43
+ }, {
44
+ type: 'number'
45
+ }]
46
+ },
47
+ deviceName: {
48
+ type: 'string'
49
+ },
50
+ os: {
51
+ type: 'string'
52
+ },
53
+ percyBrowserCustomName: {
54
+ type: 'string'
55
+ }
56
+ }
57
+ }
23
58
  }
24
59
  }
25
60
  },
@@ -1053,6 +1088,9 @@ export const comparisonSchema = {
1053
1088
  },
1054
1089
  resolution: {
1055
1090
  type: 'string'
1091
+ },
1092
+ percyBrowserCustomName: {
1093
+ type: 'string'
1056
1094
  }
1057
1095
  }
1058
1096
  },
package/dist/utils.js CHANGED
@@ -56,6 +56,7 @@ export function percyAutomateRequestHandler(req, percy) {
56
56
  algorithm: percy.config.snapshot.algorithm,
57
57
  algorithmConfiguration: percy.config.snapshot.algorithmConfiguration,
58
58
  sync: percy.config.snapshot.sync,
59
+ platforms: percy.config.percy.platforms,
59
60
  version: 'v2'
60
61
  }, camelCasedOptions], (path, prev, next) => {
61
62
  switch (path.map(k => k.toString()).join('.')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.31.5",
3
+ "version": "1.31.6-beta.5",
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": "latest"
12
+ "tag": "beta"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -43,12 +43,12 @@
43
43
  "test:types": "tsd"
44
44
  },
45
45
  "dependencies": {
46
- "@percy/client": "1.31.5",
47
- "@percy/config": "1.31.5",
48
- "@percy/dom": "1.31.5",
49
- "@percy/logger": "1.31.5",
50
- "@percy/monitoring": "1.31.5",
51
- "@percy/webdriver-utils": "1.31.5",
46
+ "@percy/client": "1.31.6-beta.5",
47
+ "@percy/config": "1.31.6-beta.5",
48
+ "@percy/dom": "1.31.6-beta.5",
49
+ "@percy/logger": "1.31.6-beta.5",
50
+ "@percy/monitoring": "1.31.6-beta.5",
51
+ "@percy/webdriver-utils": "1.31.6-beta.5",
52
52
  "content-disposition": "^0.5.4",
53
53
  "cross-spawn": "^7.0.3",
54
54
  "extract-zip": "^2.0.1",
@@ -61,5 +61,5 @@
61
61
  "ws": "^8.17.1",
62
62
  "yaml": "^2.4.1"
63
63
  },
64
- "gitHead": "835297c48a25843d8c719d6b476134c603721d13"
64
+ "gitHead": "fbcc28ce81ae902a32a5856c46efa0de6ae19300"
65
65
  }