@percy/core 1.32.5 → 1.32.6-beta.1
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/snapshot.js +7 -1
- package/package.json +10 -10
package/dist/snapshot.js
CHANGED
|
@@ -449,13 +449,19 @@ export function createSnapshotsQueue(percy) {
|
|
|
449
449
|
});
|
|
450
450
|
let url = data.attributes['web-url'];
|
|
451
451
|
let number = data.attributes['build-number'];
|
|
452
|
+
// Server-decided build source, exposed via /percy/healthcheck so SDKs can key on it.
|
|
453
|
+
// Only assigned when the API returned one — a `source: undefined` key would drop out
|
|
454
|
+
// of JSON responses, breaking shape equality for clients.
|
|
455
|
+
let source = data.attributes.source;
|
|
452
456
|
let usageWarning = data.attributes['usage-warning'];
|
|
453
457
|
percy.client.buildType = (_data$attributes = data.attributes) === null || _data$attributes === void 0 ? void 0 : _data$attributes.type;
|
|
454
458
|
Object.assign(build, {
|
|
455
459
|
id: data.id,
|
|
456
460
|
url,
|
|
457
461
|
number
|
|
458
|
-
}
|
|
462
|
+
}, source ? {
|
|
463
|
+
source
|
|
464
|
+
} : {});
|
|
459
465
|
|
|
460
466
|
// Display usage warning if present
|
|
461
467
|
if (usageWarning) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/core",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.6-beta.1",
|
|
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": "
|
|
12
|
+
"tag": "beta"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=14"
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@grpc/grpc-js": "^1.14.3",
|
|
48
48
|
"@grpc/proto-loader": "^0.8.0",
|
|
49
|
-
"@percy/client": "1.32.
|
|
50
|
-
"@percy/config": "1.32.
|
|
51
|
-
"@percy/dom": "1.32.
|
|
52
|
-
"@percy/logger": "1.32.
|
|
53
|
-
"@percy/monitoring": "1.32.
|
|
54
|
-
"@percy/webdriver-utils": "1.32.
|
|
49
|
+
"@percy/client": "1.32.6-beta.1",
|
|
50
|
+
"@percy/config": "1.32.6-beta.1",
|
|
51
|
+
"@percy/dom": "1.32.6-beta.1",
|
|
52
|
+
"@percy/logger": "1.32.6-beta.1",
|
|
53
|
+
"@percy/monitoring": "1.32.6-beta.1",
|
|
54
|
+
"@percy/webdriver-utils": "1.32.6-beta.1",
|
|
55
55
|
"adm-zip": "^0.6.0",
|
|
56
56
|
"busboy": "^1.6.0",
|
|
57
57
|
"content-disposition": "^0.5.4",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"yaml": "^2.4.1"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
|
-
"@percy/cli-doctor": "1.32.
|
|
70
|
+
"@percy/cli-doctor": "1.32.6-beta.1"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "ec8718b71355d501057197c9f5172c99fefc9f03"
|
|
73
73
|
}
|