@applitools/eyes 1.6.0 → 1.6.2

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,91 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.6.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.6.1...js/eyes@1.6.2) (2023-07-18)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/req bumped from 1.4.0 to 1.5.0
9
+ #### Features
10
+
11
+ * support retries on stuck requests ([be673bb](https://github.com/applitools/eyes.sdk.javascript1/commit/be673bb505c9b21d6aea37d86e88513e95e3cb02))
12
+ * @applitools/ufg-client bumped from 1.4.1 to 1.5.0
13
+ #### Features
14
+
15
+ * support retries on stuck requests ([be673bb](https://github.com/applitools/eyes.sdk.javascript1/commit/be673bb505c9b21d6aea37d86e88513e95e3cb02))
16
+
17
+
18
+
19
+ * @applitools/core bumped from 3.6.1 to 3.6.2
20
+
21
+ * @applitools/core-base bumped from 1.4.0 to 1.4.1
22
+
23
+ * @applitools/ec-client bumped from 1.7.0 to 1.7.1
24
+
25
+ * @applitools/tunnel-client bumped from 1.1.0 to 1.1.1
26
+
27
+ * @applitools/nml-client bumped from 1.5.2 to 1.5.3
28
+
29
+
30
+ ## [1.6.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.6.0...js/eyes@1.6.1) (2023-07-13)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
36
+
37
+
38
+ ### Dependencies
39
+
40
+ * @applitools/core bumped from 3.6.0 to 3.6.1
41
+ #### Bug Fixes
42
+
43
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
44
+
45
+
46
+
47
+ * @applitools/driver bumped from 1.13.0 to 1.13.1
48
+ #### Bug Fixes
49
+
50
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
51
+ * @applitools/ec-client bumped from 1.6.2 to 1.7.0
52
+ #### Features
53
+
54
+ * added internal function to prepare environment before running tunnels ([3d19ec3](https://github.com/applitools/eyes.sdk.javascript1/commit/3d19ec3b274702ffdf26b766b7351ec1f4b66a6d))
55
+
56
+
57
+
58
+ * @applitools/tunnel-client bumped from 1.0.2 to 1.1.0
59
+ #### Features
60
+
61
+ * added internal function to prepare environment before running tunnels ([3d19ec3](https://github.com/applitools/eyes.sdk.javascript1/commit/3d19ec3b274702ffdf26b766b7351ec1f4b66a6d))
62
+
63
+
64
+ #### Bug Fixes
65
+
66
+ * prevent tunnel binaries from overriding itself ([5609a36](https://github.com/applitools/eyes.sdk.javascript1/commit/5609a36c93622c9b8eeb4b4ab25f95907df8baa4))
67
+
68
+
69
+
70
+ * @applitools/nml-client bumped from 1.5.1 to 1.5.2
71
+ #### Bug Fixes
72
+
73
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
74
+
75
+
76
+
77
+ * @applitools/ufg-client bumped from 1.4.0 to 1.4.1
78
+ #### Bug Fixes
79
+
80
+ * fixed an issue when an inability to freeze a gif image caused sdk crush ([dca9ead](https://github.com/applitools/eyes.sdk.javascript1/commit/dca9eadd2bab39d1fc20b99d997879075691f0ee))
81
+ * fixed issue when sdk crushed due to invalid resource url in ufg mode ([8b44958](https://github.com/applitools/eyes.sdk.javascript1/commit/8b449580a930753dd2735befdcdb4c46e184b2a9))
82
+ * @applitools/spec-driver-webdriver bumped from 1.0.37 to 1.0.38
83
+
84
+ * @applitools/execution-grid-tunnel bumped to 2.1.8
85
+
86
+ * @applitools/screenshoter bumped from 3.8.3 to 3.8.4
87
+
88
+
3
89
  ## [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
90
 
5
91
 
package/dist/Eyes.js CHANGED
@@ -64,8 +64,8 @@ class Eyes {
64
64
  static setMobileCapabilities(capabilities, config) {
65
65
  var _a, _b;
66
66
  const envs = {
67
- NML_SERVER_URL: (_a = config === null || config === void 0 ? void 0 : config.serverUrl) !== null && _a !== void 0 ? _a : utils.general.getEnvValue('SERVER_URL'),
68
- NML_API_KEY: (_b = config === null || config === void 0 ? void 0 : config.apiKey) !== null && _b !== void 0 ? _b : utils.general.getEnvValue('API_KEY'),
67
+ APPLITOOLS_SERVER_URL: (_a = config === null || config === void 0 ? void 0 : config.serverUrl) !== null && _a !== void 0 ? _a : utils.general.getEnvValue('SERVER_URL'),
68
+ APPLITOOLS_API_KEY: (_b = config === null || config === void 0 ? void 0 : config.apiKey) !== null && _b !== void 0 ? _b : utils.general.getEnvValue('API_KEY'),
69
69
  };
70
70
  if (config === null || config === void 0 ? void 0 : config.proxy) {
71
71
  const url = new URL(config.proxy.url);
@@ -73,14 +73,14 @@ class Eyes {
73
73
  url.username = config.proxy.username;
74
74
  if (config.proxy.password)
75
75
  url.password = config.proxy.password;
76
- envs.NML_PROXY_URL = url.toString();
76
+ envs.APPLITOOLS_PROXY_URL = url.toString();
77
77
  }
78
78
  return Object.assign(capabilities, {
79
79
  'appium:optionalIntentArguments': `--es APPLITOOLS '${JSON.stringify(envs)}'`,
80
80
  'appium:processArguments': JSON.stringify({
81
81
  args: [],
82
82
  env: {
83
- DYLD_INSERT_LIBRARIES: '@executable_path/Frameworks/UFG_lib.xcframework/ios-arm64/UFG_lib.framework/UFG_lib:@executable_path/Frameworks/UFG_lib.xcframework/ios-arm64_x86_64-simulator/UFG_lib.framework/UFG_lib',
83
+ DYLD_INSERT_LIBRARIES: '@executable_path/Frameworks/Applitools_iOS.xcframework/ios-arm64/Applitools_iOS.framework/Applitools_iOS:@executable_path/Frameworks/Applitools_iOS.xcframework/ios-arm64_x86_64-simulator/Applitools_iOS.framework/Applitools_iOS',
84
84
  ...envs,
85
85
  },
86
86
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -45,12 +45,12 @@
45
45
  "test": "run --top-level mocha './test/**/*.spec.ts'"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/core": "3.6.0",
48
+ "@applitools/core": "3.6.2",
49
49
  "@applitools/logger": "2.0.5",
50
50
  "@applitools/utils": "1.5.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@applitools/req": "^1.4.0",
53
+ "@applitools/req": "^1.5.0",
54
54
  "@types/node": "^12.20.55"
55
55
  },
56
56
  "engines": {