@percy/client 1.31.2-beta.0 → 1.31.2-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/README.md CHANGED
@@ -51,7 +51,7 @@ await client.sendSnapshot(buildId, snapshotOptions)
51
51
 
52
52
  - `name` — Snapshot name
53
53
  - `widths` — Widths to take screenshots at
54
- - `minHeight` — Miniumum screenshot height
54
+ - `minHeight` — Minimum screenshot height
55
55
  - `enableJavaScript` — Enable JavaScript for screenshots
56
56
  - `clientInfo` — Additional client info
57
57
  - `environmentInfo` — Additional environment info
@@ -164,4 +164,4 @@ await client.waitForBuild({
164
164
  - `commit` — Commit SHA (**required** when missing `build`)
165
165
  - `project` — Project slug (**required** when using `commit`)
166
166
  - `timeout` — Timeout in milliseconds to wait with no updates (**default** `10 * 60 * 1000`)
167
- - `interval` — Interval in miliseconds to check for updates (**default** `10000`)
167
+ - `interval` — Interval in milliseconds to check for updates (**default** `10000`)
package/dist/client.js CHANGED
@@ -160,7 +160,7 @@ export class PercyClient {
160
160
 
161
161
  // Creates a build with optional build resources. Only one build can be
162
162
  // created at a time per instance so snapshots and build finalization can be
163
- // done more seemlessly without manually tracking build ids
163
+ // done more seamlessly without manually tracking build ids
164
164
  async createBuild({
165
165
  resources = [],
166
166
  projectType,
@@ -539,7 +539,7 @@ export class PercyClient {
539
539
  } = {}) {
540
540
  validateId('snapshot', snapshotId);
541
541
  // Remove post percy api deploy
542
- this.log.debug(`Creating comparision: ${tag.name}...`, meta);
542
+ this.log.debug(`Creating comparison: ${tag.name}...`, meta);
543
543
  for (let tile of tiles) {
544
544
  if (tile.sha) continue;
545
545
  if (tile.content && typeof tile.content === 'string') {
@@ -550,7 +550,7 @@ export class PercyClient {
550
550
  }
551
551
  }
552
552
  let regionsArr = makeRegions(regions, algorithm, algorithmConfiguration);
553
- this.log.debug(`${tiles.length} tiles for comparision: ${tag.name}...`, meta);
553
+ this.log.debug(`${tiles.length} tiles for comparison: ${tag.name}...`, meta);
554
554
  return this.post(`snapshots/${snapshotId}/comparisons`, {
555
555
  data: {
556
556
  type: 'comparisons',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/client",
3
- "version": "1.31.2-beta.0",
3
+ "version": "1.31.2-beta.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,11 +33,11 @@
33
33
  "test:coverage": "yarn test --coverage"
34
34
  },
35
35
  "dependencies": {
36
- "@percy/config": "1.31.2-beta.0",
37
- "@percy/env": "1.31.2-beta.0",
38
- "@percy/logger": "1.31.2-beta.0",
36
+ "@percy/config": "1.31.2-beta.1",
37
+ "@percy/env": "1.31.2-beta.1",
38
+ "@percy/logger": "1.31.2-beta.1",
39
39
  "pac-proxy-agent": "^7.0.2",
40
40
  "pako": "^2.1.0"
41
41
  },
42
- "gitHead": "6d36e464efaa1261bf1f1e7c7302c64cc85eccc7"
42
+ "gitHead": "c8ba03fdd3ab7543f741a68eb5c357e38b48129e"
43
43
  }