@applitools/eyes 1.6.0 → 1.6.1

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,64 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.6.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.6.0...js/eyes@1.6.1) (2023-07-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/core bumped from 3.6.0 to 3.6.1
14
+ #### Bug Fixes
15
+
16
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
17
+
18
+
19
+
20
+ * @applitools/driver bumped from 1.13.0 to 1.13.1
21
+ #### Bug Fixes
22
+
23
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
24
+ * @applitools/ec-client bumped from 1.6.2 to 1.7.0
25
+ #### Features
26
+
27
+ * added internal function to prepare environment before running tunnels ([3d19ec3](https://github.com/applitools/eyes.sdk.javascript1/commit/3d19ec3b274702ffdf26b766b7351ec1f4b66a6d))
28
+
29
+
30
+
31
+ * @applitools/tunnel-client bumped from 1.0.2 to 1.1.0
32
+ #### Features
33
+
34
+ * added internal function to prepare environment before running tunnels ([3d19ec3](https://github.com/applitools/eyes.sdk.javascript1/commit/3d19ec3b274702ffdf26b766b7351ec1f4b66a6d))
35
+
36
+
37
+ #### Bug Fixes
38
+
39
+ * prevent tunnel binaries from overriding itself ([5609a36](https://github.com/applitools/eyes.sdk.javascript1/commit/5609a36c93622c9b8eeb4b4ab25f95907df8baa4))
40
+
41
+
42
+
43
+ * @applitools/nml-client bumped from 1.5.1 to 1.5.2
44
+ #### Bug Fixes
45
+
46
+ * replaced NML prefixed appium env vars with APPLITOOLS prefixed ([8905b90](https://github.com/applitools/eyes.sdk.javascript1/commit/8905b90e7c4ec6e310f6e52c03bbcc7acf1ff2ab))
47
+
48
+
49
+
50
+ * @applitools/ufg-client bumped from 1.4.0 to 1.4.1
51
+ #### Bug Fixes
52
+
53
+ * fixed an issue when an inability to freeze a gif image caused sdk crush ([dca9ead](https://github.com/applitools/eyes.sdk.javascript1/commit/dca9eadd2bab39d1fc20b99d997879075691f0ee))
54
+ * fixed issue when sdk crushed due to invalid resource url in ufg mode ([8b44958](https://github.com/applitools/eyes.sdk.javascript1/commit/8b449580a930753dd2735befdcdb4c46e184b2a9))
55
+ * @applitools/spec-driver-webdriver bumped from 1.0.37 to 1.0.38
56
+
57
+ * @applitools/execution-grid-tunnel bumped to 2.1.8
58
+
59
+ * @applitools/screenshoter bumped from 3.8.3 to 3.8.4
60
+
61
+
3
62
  ## [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
63
 
5
64
 
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.1",
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.6.0",
48
+ "@applitools/core": "3.6.1",
49
49
  "@applitools/logger": "2.0.5",
50
50
  "@applitools/utils": "1.5.0"
51
51
  },