@applitools/ec-client 1.10.3 → 1.10.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,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.10.4](https://github.com/Applitools-Dev/sdk/compare/js/ec-client@1.10.3...js/ec-client@1.10.4) (2025-02-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * set TLS_REJECT_UNAUTHORIZED in tunnel ([#2706](https://github.com/Applitools-Dev/sdk/issues/2706)) ([abfa821](https://github.com/Applitools-Dev/sdk/commit/abfa82151931bd11767ac1d797cee03855bde34a))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/tunnel-client bumped to 1.6.2
14
+ #### Bug Fixes
15
+
16
+ * set TLS_REJECT_UNAUTHORIZED in tunnel ([#2706](https://github.com/Applitools-Dev/sdk/issues/2706)) ([abfa821](https://github.com/Applitools-Dev/sdk/commit/abfa82151931bd11767ac1d797cee03855bde34a))
17
+
3
18
  ## [1.10.3](https://github.com/Applitools-Dev/sdk/compare/js/ec-client@1.10.2...js/ec-client@1.10.3) (2025-01-30)
4
19
 
5
20
 
@@ -102,9 +102,12 @@ async function makeTunnelManagerServer({ settings, path, idleTimeout = 600000, /
102
102
  exports.makeTunnelManagerServer = makeTunnelManagerServer;
103
103
  async function makeTunnelManagerServerProcess(options) {
104
104
  return new Promise((resolve, reject) => {
105
+ var _a;
106
+ const nodeTlsRejectUnauthorized = (_a = process.env.NODE_TLS_REJECT_UNAUTHORIZED) !== null && _a !== void 0 ? _a : '0';
105
107
  const server = (0, child_process_1.fork)(path.resolve(__dirname, '../../dist/cli/cli.js'), [`tunnel-manager`, `--config=${JSON.stringify(options)}`], {
106
108
  stdio: ['ignore', 'ignore', 'inherit', 'ipc'],
107
109
  detached: true,
110
+ env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED: nodeTlsRejectUnauthorized },
108
111
  });
109
112
  const timeout = setTimeout(() => {
110
113
  reject(new Error(`Server didn't respond for 10s after being started`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/ec-client",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -58,7 +58,7 @@
58
58
  "@applitools/req": "1.7.7",
59
59
  "@applitools/socket": "1.2.1",
60
60
  "@applitools/spec-driver-webdriver": "1.1.25",
61
- "@applitools/tunnel-client": "1.6.1",
61
+ "@applitools/tunnel-client": "1.6.2",
62
62
  "@applitools/utils": "1.7.7",
63
63
  "abort-controller": "3.0.0",
64
64
  "webdriver": "7.31.1",