@percy/core 1.31.12 → 1.31.13-beta.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/package.json +10 -10
  2. package/types/index.d.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.31.12",
3
+ "version": "1.31.13-beta.0",
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": "latest"
12
+ "tag": "beta"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -43,12 +43,12 @@
43
43
  "test:types": "tsd"
44
44
  },
45
45
  "dependencies": {
46
- "@percy/client": "1.31.12",
47
- "@percy/config": "1.31.12",
48
- "@percy/dom": "1.31.12",
49
- "@percy/logger": "1.31.12",
50
- "@percy/monitoring": "1.31.12",
51
- "@percy/webdriver-utils": "1.31.12",
46
+ "@percy/client": "1.31.13-beta.0",
47
+ "@percy/config": "1.31.13-beta.0",
48
+ "@percy/dom": "1.31.13-beta.0",
49
+ "@percy/logger": "1.31.13-beta.0",
50
+ "@percy/monitoring": "1.31.13-beta.0",
51
+ "@percy/webdriver-utils": "1.31.13-beta.0",
52
52
  "content-disposition": "^0.5.4",
53
53
  "cross-spawn": "^7.0.3",
54
54
  "extract-zip": "^2.0.1",
@@ -62,7 +62,7 @@
62
62
  "yaml": "^2.4.1"
63
63
  },
64
64
  "optionalDependencies": {
65
- "@percy/cli-doctor": "1.31.12"
65
+ "@percy/cli-doctor": "1.31.13-beta.0"
66
66
  },
67
- "gitHead": "442fd8d120574657ee9e0c6e84af707a57db9503"
67
+ "gitHead": "69c6ad10d5724455cebf57f2043adc30559c3b31"
68
68
  }
package/types/index.d.ts CHANGED
@@ -28,6 +28,13 @@ interface ScopeOptions {
28
28
  scroll?: boolean;
29
29
  }
30
30
 
31
+ interface PseudoClassEnabledElements {
32
+ id?: string[];
33
+ className?: string[];
34
+ xpath?: string[];
35
+ selectors?: string[];
36
+ }
37
+
31
38
  interface DiscoveryLaunchOptions {
32
39
  executable?: string;
33
40
  args?: string[];
@@ -59,6 +66,7 @@ interface CommonSnapshotOptions {
59
66
  devicePixelRatio?: number;
60
67
  scopeOptions?: ScopeOptions;
61
68
  browsers?: string[];
69
+ pseudoClassEnabledElements?: PseudoClassEnabledElements;
62
70
  }
63
71
  // Region support for TypeScript
64
72
  interface BoundingBox {