@appliqation/automation-sdk 2.1.3 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appliqation/automation-sdk",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Appliqation Automation SDK with API key authentication, custom run titles, and framework-specific reporters",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -220,9 +220,9 @@ class DeviceOsDetector {
220
220
  'linux': 'Linux',
221
221
  'ubuntu': 'Ubuntu',
222
222
  'android': 'Android',
223
- 'ios': 'macOS',
224
- 'iphone': 'macOS',
225
- 'ipad': 'macOS'
223
+ 'ios': 'iOS',
224
+ 'iphone': 'iOS',
225
+ 'ipad': 'iOS'
226
226
  };
227
227
 
228
228
  for (const [keyword, os] of Object.entries(osMap)) {
@@ -246,7 +246,7 @@ class DeviceOsDetector {
246
246
  if (/mac os x/i.test(userAgent)) return 'macOS';
247
247
  if (/macintosh/i.test(userAgent)) return 'macOS';
248
248
  if (/android/i.test(userAgent)) return 'Android';
249
- if (/ipad|iphone|ipod/i.test(userAgent)) return 'macOS';
249
+ if (/ipad|iphone|ipod/i.test(userAgent)) return 'iOS';
250
250
  if (/linux/i.test(userAgent)) return 'Linux';
251
251
  if (/ubuntu/i.test(userAgent)) return 'Ubuntu';
252
252