@percy/client 1.27.4-beta.0 → 1.27.4-beta.2
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/client.js +7 -0
- package/package.json +4 -4
package/dist/client.js
CHANGED
|
@@ -515,6 +515,13 @@ export class PercyClient {
|
|
|
515
515
|
await this.finalizeComparison(comparison.data.id);
|
|
516
516
|
return comparison;
|
|
517
517
|
}
|
|
518
|
+
async sendBuildEvents(buildId, body) {
|
|
519
|
+
validateId('build', buildId);
|
|
520
|
+
this.log.debug('Sending Build Events');
|
|
521
|
+
return this.post(`builds/${buildId}/send-events`, {
|
|
522
|
+
data: body
|
|
523
|
+
});
|
|
524
|
+
}
|
|
518
525
|
|
|
519
526
|
// decides project type
|
|
520
527
|
tokenType() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/client",
|
|
3
|
-
"version": "1.27.4-beta.
|
|
3
|
+
"version": "1.27.4-beta.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"test:coverage": "yarn test --coverage"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@percy/env": "1.27.4-beta.
|
|
36
|
-
"@percy/logger": "1.27.4-beta.
|
|
35
|
+
"@percy/env": "1.27.4-beta.2",
|
|
36
|
+
"@percy/logger": "1.27.4-beta.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "9dc3b46642f608a762a7c4a1ca564813ece1b370"
|
|
39
39
|
}
|