@applitools/eyes-cypress 3.25.4 → 3.25.5

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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@
5
5
 
6
6
 
7
7
 
8
+ ## 3.25.5 - 2022/4/19
9
+
10
+ ### Features
11
+ ### Bug fixes
12
+ - fix beforeCaptureScreenshot hook not being respected
13
+
8
14
  ## 3.25.4 - 2022/4/15
9
15
 
10
16
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-cypress",
3
- "version": "3.25.4",
3
+ "version": "3.25.5",
4
4
  "main": "index.js",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "bin": {
@@ -47,10 +47,10 @@
47
47
  "dependencies": {
48
48
  "@applitools/dom-snapshot": "4.5.12",
49
49
  "@applitools/eyes-api": "1.3.0",
50
- "@applitools/eyes-universal": "2.2.0",
50
+ "@applitools/eyes-universal": "2.2.1",
51
51
  "@applitools/functional-commons": "1.6.0",
52
52
  "@applitools/logger": "1.0.12",
53
- "@applitools/visual-grid-client": "15.12.1",
53
+ "@applitools/visual-grid-client": "15.12.2",
54
54
  "body-parser": "1.19.0",
55
55
  "chalk": "3.0.0",
56
56
  "cors": "2.8.5",
@@ -5,7 +5,7 @@ function eyesCheckMapValues({args}) {
5
5
  function toCheckWindowConfiguration(config = {}) {
6
6
  const mappedValues = [
7
7
  'tag',
8
- 'hooks',
8
+ 'scriptHooks',
9
9
  'ignore',
10
10
  'floating',
11
11
  'strict',
@@ -20,7 +20,7 @@ function toCheckWindowConfiguration(config = {}) {
20
20
  let shadowDomSettings = {};
21
21
  const checkSettings = {
22
22
  name: config.tag,
23
- scriptHooks: config.hooks,
23
+ hooks: config.scriptHooks,
24
24
  ignoreRegions: config.ignore,
25
25
  floatingRegions: convertFloatingRegion(config.floating),
26
26
  strictRegions: config.strict,