@applitools/eyes 1.5.1 → 1.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,85 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.6.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.5.2...js/eyes@1.6.0) (2023-07-10)
4
+
5
+
6
+ ### Features
7
+
8
+ * added new chrome emulation devices - `Galaxy S21`, `Galaxy S21 Ultra`, and `Galaxy S22 Ultra` ([0dac7f7](https://github.com/applitools/eyes.sdk.javascript1/commit/0dac7f7941558a4e9416f70a104b96d125d38fc7))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * adjusted behavior of `nmgOptions` property around different screenshot mods ([2709afa](https://github.com/applitools/eyes.sdk.javascript1/commit/2709afa51c98f89d506d901b04454d9f37bacd87))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/core bumped from 3.5.1 to 3.6.0
19
+ #### Features
20
+
21
+ * ability to skip deserialize dom snapshot ([#1703](https://github.com/applitools/eyes.sdk.javascript1/issues/1703)) ([a461af4](https://github.com/applitools/eyes.sdk.javascript1/commit/a461af4fb72b7cba1ae15a5d20376fd02e7d9003))
22
+ * prevent animated gif images from playing in ufg ([#1721](https://github.com/applitools/eyes.sdk.javascript1/issues/1721)) ([30f39cc](https://github.com/applitools/eyes.sdk.javascript1/commit/30f39cc8ef2cdfa1d85bd7a0037b818db1b52e1b))
23
+ * support custom property per renderer ([#1715](https://github.com/applitools/eyes.sdk.javascript1/issues/1715)) ([8cf6b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/8cf6b1fb0563b2485ca18eebc2efd236c2287db8))
24
+
25
+
26
+
27
+ * @applitools/core-base bumped from 1.3.0 to 1.4.0
28
+ #### Features
29
+
30
+ * support custom property per renderer ([#1715](https://github.com/applitools/eyes.sdk.javascript1/issues/1715)) ([8cf6b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/8cf6b1fb0563b2485ca18eebc2efd236c2287db8))
31
+
32
+
33
+
34
+ * @applitools/image bumped from 1.0.36 to 1.1.0
35
+ #### Features
36
+
37
+ * prevent animated gif images from playing in ufg ([#1721](https://github.com/applitools/eyes.sdk.javascript1/issues/1721)) ([30f39cc](https://github.com/applitools/eyes.sdk.javascript1/commit/30f39cc8ef2cdfa1d85bd7a0037b818db1b52e1b))
38
+ * @applitools/ec-client bumped from 1.6.1 to 1.6.2
39
+ #### Bug Fixes
40
+
41
+ * fixed issue that caused creation of unnecessary tunnels ([b38fe37](https://github.com/applitools/eyes.sdk.javascript1/commit/b38fe3754f97c5f312ceffd74406255654466ab7))
42
+ * start tunnels with proper regional server ([2a34ed8](https://github.com/applitools/eyes.sdk.javascript1/commit/2a34ed8cd72dc9ac54957348cbe8ba9e67032340))
43
+
44
+
45
+
46
+ * @applitools/tunnel-client bumped from 1.0.1 to 1.0.2
47
+ #### Bug Fixes
48
+
49
+ * start tunnels with proper regional server ([2a34ed8](https://github.com/applitools/eyes.sdk.javascript1/commit/2a34ed8cd72dc9ac54957348cbe8ba9e67032340))
50
+ * @applitools/ufg-client bumped from 1.3.0 to 1.4.0
51
+ #### Features
52
+
53
+ * ability to skip deserialize dom snapshot ([#1703](https://github.com/applitools/eyes.sdk.javascript1/issues/1703)) ([a461af4](https://github.com/applitools/eyes.sdk.javascript1/commit/a461af4fb72b7cba1ae15a5d20376fd02e7d9003))
54
+ * add support for resource fetching through eg tunnel ([3daa4da](https://github.com/applitools/eyes.sdk.javascript1/commit/3daa4da975cbe23ffb33bb3e9f5f76732ead1075))
55
+ * added new chrome emulation devices - `Galaxy S21`, `Galaxy S21 Ultra`, and `Galaxy S22 Ultra` ([0dac7f7](https://github.com/applitools/eyes.sdk.javascript1/commit/0dac7f7941558a4e9416f70a104b96d125d38fc7))
56
+ * prevent animated gif images from playing in ufg ([#1721](https://github.com/applitools/eyes.sdk.javascript1/issues/1721)) ([30f39cc](https://github.com/applitools/eyes.sdk.javascript1/commit/30f39cc8ef2cdfa1d85bd7a0037b818db1b52e1b))
57
+
58
+
59
+ #### Bug Fixes
60
+
61
+ * add support for resource fetching through eg tunnel ([a0b98e3](https://github.com/applitools/eyes.sdk.javascript1/commit/a0b98e364cf95bf6bed84c1afe3376384d781717))
62
+ * add support for resource fetching through eg tunnel ([3daa4da](https://github.com/applitools/eyes.sdk.javascript1/commit/3daa4da975cbe23ffb33bb3e9f5f76732ead1075))
63
+
64
+
65
+
66
+ * @applitools/screenshoter bumped from 3.8.2 to 3.8.3
67
+
68
+
69
+ ## [1.5.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.5.1...js/eyes@1.5.2) (2023-07-05)
70
+
71
+
72
+ ### Dependencies
73
+
74
+ * @applitools/tunnel-client bumped from 1.0.0 to 1.0.1
75
+ #### Bug Fixes
76
+
77
+ * re-release ([438a9aa](https://github.com/applitools/eyes.sdk.javascript1/commit/438a9aa6331ba76d6bdc7d94e8f27d7ae45730da))
78
+ * @applitools/core bumped from 3.5.0 to 3.5.1
79
+
80
+ * @applitools/ec-client bumped from 1.6.0 to 1.6.1
81
+
82
+
3
83
  ## [1.5.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.5.0...js/eyes@1.5.1) (2023-07-05)
4
84
 
5
85
 
package/dist/Eyes.js CHANGED
@@ -257,7 +257,12 @@ class Eyes {
257
257
  const config = this._config.toJSON();
258
258
  // TODO remove when major version of sdk should be released
259
259
  (_a = (_c = config.screenshot).fully) !== null && _a !== void 0 ? _a : (_c.fully = false);
260
- const type = this._runner.type === 'ufg' && ((_b = settings === null || settings === void 0 ? void 0 : settings.nmgOptions) === null || _b === void 0 ? void 0 : _b.nonNMGCheck) === 'addToAllDevices' ? 'classic' : undefined;
260
+ let type;
261
+ if (this._runner.type === 'ufg' &&
262
+ ((_b = settings === null || settings === void 0 ? void 0 : settings.nmgOptions) === null || _b === void 0 ? void 0 : _b.nonNMGCheck) === 'addToAllDevices') {
263
+ type = 'classic';
264
+ settings.screenshotMode = 'default';
265
+ }
261
266
  const [result] = await this._eyes.check({ type, target, settings, config });
262
267
  return new MatchResult_1.MatchResultData(result);
263
268
  }
@@ -22,7 +22,10 @@ var DeviceNameEnum;
22
22
  DeviceNameEnum["Galaxy_S10"] = "Galaxy S10";
23
23
  DeviceNameEnum["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
24
24
  DeviceNameEnum["Galaxy_S20"] = "Galaxy S20";
25
+ DeviceNameEnum["Galaxy_S21"] = "Galaxy S21";
26
+ DeviceNameEnum["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
25
27
  DeviceNameEnum["Galaxy_S22"] = "Galaxy S22";
28
+ DeviceNameEnum["Galaxy_S22_Ultra"] = "Galaxy S22 Ultra";
26
29
  DeviceNameEnum["Galaxy_Tab_S7"] = "Galaxy Tab S7";
27
30
  DeviceNameEnum["iPad"] = "iPad";
28
31
  DeviceNameEnum["iPad_6th_Gen"] = "iPad 6th Gen";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -45,7 +45,7 @@
45
45
  "test": "run --top-level mocha './test/**/*.spec.ts'"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/core": "3.5.0",
48
+ "@applitools/core": "3.6.0",
49
49
  "@applitools/logger": "2.0.5",
50
50
  "@applitools/utils": "1.5.0"
51
51
  },
@@ -18,7 +18,10 @@ export declare enum DeviceNameEnum {
18
18
  Galaxy_S10 = "Galaxy S10",
19
19
  Galaxy_S10_Plus = "Galaxy S10 Plus",
20
20
  Galaxy_S20 = "Galaxy S20",
21
+ Galaxy_S21 = "Galaxy S21",
22
+ Galaxy_S21_Ultra = "Galaxy S21 Ultra",
21
23
  Galaxy_S22 = "Galaxy S22",
24
+ Galaxy_S22_Ultra = "Galaxy S22 Ultra",
22
25
  Galaxy_Tab_S7 = "Galaxy Tab S7",
23
26
  iPad = "iPad",
24
27
  iPad_6th_Gen = "iPad 6th Gen",