@applitools/driver 1.13.2 → 1.13.4

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,35 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.13.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.13.3...js/driver@1.13.4) (2023-08-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * extract device orientation from a browser for web executions ([d8d4e91](https://github.com/applitools/eyes.sdk.javascript1/commit/d8d4e919965fb9105915e762c397ec2cc57a8a71))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/snippets bumped to 2.4.22
14
+ #### Bug Fixes
15
+
16
+ * improve orientation extraction for ios devices ([378d989](https://github.com/applitools/eyes.sdk.javascript1/commit/378d9894e4fbc7247087ccb8c46266dc4737e2e5))
17
+
18
+ ## [1.13.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.13.2...js/driver@1.13.3) (2023-07-21)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * fix workspace dependencies ([2a3856f](https://github.com/applitools/eyes.sdk.javascript1/commit/2a3856f3ce3bcf1407f59c676653b6f218556760))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * @applitools/logger bumped to 2.0.7
29
+ #### Bug Fixes
30
+
31
+ * fix workspace dependencies ([2a3856f](https://github.com/applitools/eyes.sdk.javascript1/commit/2a3856f3ce3bcf1407f59c676653b6f218556760))
32
+
3
33
  ## [1.13.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.13.1...js/driver@1.13.2) (2023-07-21)
4
34
 
5
35
 
package/dist/driver.js CHANGED
@@ -734,7 +734,7 @@ class Driver {
734
734
  const environment = await this.getEnvironment();
735
735
  if (!environment.isMobile)
736
736
  return undefined;
737
- if (environment.isEmulation)
737
+ if (environment.isWeb)
738
738
  return (_a = this._viewport) === null || _a === void 0 ? void 0 : _a.orientation;
739
739
  if (environment.isAndroid) {
740
740
  this._logger.log('Extracting device orientation using adb command on android');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/driver",
3
- "version": "1.13.2",
3
+ "version": "1.13.4",
4
4
  "description": "Applitools universal framework wrapper",
5
5
  "keywords": [
6
6
  "applitools",
@@ -73,9 +73,9 @@
73
73
  "test": "run --top-level mocha './test/**/*.spec.ts'"
74
74
  },
75
75
  "dependencies": {
76
- "@applitools/logger": "2.0.6",
77
- "@applitools/snippets": "",
78
- "@applitools/utils": "",
76
+ "@applitools/logger": "2.0.7",
77
+ "@applitools/snippets": "2.4.22",
78
+ "@applitools/utils": "1.5.0",
79
79
  "semver": "7.5.4"
80
80
  },
81
81
  "devDependencies": {