@percy/client 1.22.0 → 1.24.0

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 +4 -2
  2. package/package.json +4 -4
package/dist/client.js CHANGED
@@ -363,7 +363,8 @@ export class PercyClient {
363
363
  async createComparison(snapshotId, {
364
364
  tag,
365
365
  tiles = [],
366
- externalDebugUrl
366
+ externalDebugUrl,
367
+ ignoredElementsData
367
368
  } = {}) {
368
369
  validateId('snapshot', snapshotId);
369
370
  this.log.debug(`Creating comparision: ${tag.name}...`);
@@ -380,7 +381,8 @@ export class PercyClient {
380
381
  data: {
381
382
  type: 'comparisons',
382
383
  attributes: {
383
- 'external-debug-url': externalDebugUrl || null
384
+ 'external-debug-url': externalDebugUrl || null,
385
+ 'ignore-elements-data': ignoredElementsData || null
384
386
  },
385
387
  relationships: {
386
388
  tag: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/client",
3
- "version": "1.22.0",
3
+ "version": "1.24.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,8 +31,8 @@
31
31
  "test:coverage": "yarn test --coverage"
32
32
  },
33
33
  "dependencies": {
34
- "@percy/env": "1.22.0",
35
- "@percy/logger": "1.22.0"
34
+ "@percy/env": "1.24.0",
35
+ "@percy/logger": "1.24.0"
36
36
  },
37
- "gitHead": "473ae8925585bc77f584bbcaa7058fc967bd3c61"
37
+ "gitHead": "8de18f03aa611d539d45b40ba3af5accf237a78b"
38
38
  }