Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/ec-client

Package Overview
Dependencies
Maintainers
57
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/ec-client - npm Package Compare versions

Comparing version 1.7.32 to 1.8.0

20

CHANGELOG.md
# Changelog
## [1.8.0](https://github.com/Applitools-Dev/sdk/compare/js/ec-client@1.7.32...js/ec-client@1.8.0) (2024-04-10)
### Features
* upgrade execution-grid-tunnel to 3 ([#2301](https://github.com/Applitools-Dev/sdk/issues/2301)) ([4f0426d](https://github.com/Applitools-Dev/sdk/commit/4f0426d5495142386d54121fde8bc1fb647728a7))
### Dependencies
* @applitools/tunnel-client bumped to 1.5.0
#### Features
* upgrade execution-grid-tunnel to 3 ([#2301](https://github.com/Applitools-Dev/sdk/issues/2301)) ([4f0426d](https://github.com/Applitools-Dev/sdk/commit/4f0426d5495142386d54121fde8bc1fb647728a7))
* @applitools/core-base bumped to 1.11.0
#### Features
* refactor check to have a modular structure ([#2307](https://github.com/Applitools-Dev/sdk/issues/2307)) ([b9818f4](https://github.com/Applitools-Dev/sdk/commit/b9818f46e0a579ad0a4a6beaf142171aea7ce0fd))
* report timestamp to backend ([#2278](https://github.com/Applitools-Dev/sdk/issues/2278)) ([3ff74c6](https://github.com/Applitools-Dev/sdk/commit/3ff74c66a33174025e5fab3979b748dfeb53e7b8))
## [1.7.32](https://github.com/Applitools-Dev/sdk/compare/js/ec-client@1.7.31...js/ec-client@1.7.32) (2024-04-01)

@@ -4,0 +24,0 @@

18

dist/commands/start-session.js

@@ -31,5 +31,5 @@ "use strict";

const utils = __importStar(require("@applitools/utils"));
const SERVER_URLS = {
'us-west': 'https://exec-wus.applitools.com',
australia: 'https://exec-au.applitools.com',
const SERVERS = {
'us-west': { url: 'https://exec-wus.applitools.com', regionName: 'us-west' },
australia: { url: 'https://exec-au.applitools.com', regionName: 'australia-southeast' },
};

@@ -70,4 +70,4 @@ const RETRY_BACKOFF = [

if (options.region) {
if (SERVER_URLS[options.region])
session.ecServerUrl = SERVER_URLS[options.region];
if (SERVERS[options.region])
session.ecServerUrl = SERVERS[options.region].url;
else

@@ -77,5 +77,7 @@ throw new Error(`Failed to create session in unknown region ${options.region}`);

if (options.tunnel && tunnels) {
// TODO should be removed once tunnel spawning issue is solved
await (0, tunnel_client_1.prepareTunnelEnvironment)({ settings: { tunnelServerUrl: session.ecServerUrl }, logger });
session.tunnels = await tunnels.acquire({ ...session.credentials, tunnelServerUrl: session.ecServerUrl });
if (utils.general.getEnvValue('EC_TUNNEL_USE_FRP', 'boolean')) {
await (0, tunnel_client_1.prepareTunnelEnvironment)({ settings: { tunnelServerUrl: session.ecServerUrl }, logger });
}
const region = options.region ? SERVERS[options.region].regionName : undefined;
session.tunnels = await tunnels.acquire({ ...session.credentials, region });
}

@@ -82,0 +84,0 @@ const applitoolsCapabilities = Object.fromEntries([

{
"name": "@applitools/ec-client",
"version": "1.7.32",
"version": "1.8.0",
"homepage": "https://applitools.com",

@@ -55,3 +55,3 @@ "bugs": {

"dependencies": {
"@applitools/core-base": "1.10.1",
"@applitools/core-base": "1.11.0",
"@applitools/driver": "1.16.5",

@@ -62,3 +62,3 @@ "@applitools/logger": "2.0.14",

"@applitools/spec-driver-webdriver": "1.1.3",
"@applitools/tunnel-client": "1.4.1",
"@applitools/tunnel-client": "1.5.0",
"@applitools/utils": "1.7.0",

@@ -65,0 +65,0 @@ "abort-controller": "3.0.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc