@percy/client 1.27.4-beta.1 → 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.
Files changed (2) hide show
  1. package/dist/client.js +7 -0
  2. 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.1",
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.1",
36
- "@percy/logger": "1.27.4-beta.1"
35
+ "@percy/env": "1.27.4-beta.2",
36
+ "@percy/logger": "1.27.4-beta.2"
37
37
  },
38
- "gitHead": "d0eea0c0d75cb6c034dceba122b1bc1f946b679a"
38
+ "gitHead": "9dc3b46642f608a762a7c4a1ca564813ece1b370"
39
39
  }