@applitools/core-base
Advanced tools
Comparing version 1.4.3 to 1.5.0
# Changelog | ||
## [1.5.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core-base@1.4.3...js/core-base@1.5.0) (2023-08-03) | ||
### Features | ||
* add stuck request retries to all requests to UFG and Eyes ([#1826](https://github.com/applitools/eyes.sdk.javascript1/issues/1826)) ([5884d42](https://github.com/applitools/eyes.sdk.javascript1/commit/5884d428b230e3a832a2110a388ebe63a94006fc)) | ||
* mark session as component ([#1841](https://github.com/applitools/eyes.sdk.javascript1/issues/1841)) ([c579bb6](https://github.com/applitools/eyes.sdk.javascript1/commit/c579bb69de8f3bffc64e73ac8bd4fa646e96eb01)) | ||
### Bug Fixes | ||
* populate log event settings with env vars ([#1840](https://github.com/applitools/eyes.sdk.javascript1/issues/1840)) ([0a6af60](https://github.com/applitools/eyes.sdk.javascript1/commit/0a6af60b5b988f59b7adb03f6606b3417fbeb537)) | ||
## [1.4.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core-base@1.4.2...js/core-base@1.4.3) (2023-07-21) | ||
@@ -4,0 +17,0 @@ |
@@ -43,2 +43,3 @@ "use strict"; | ||
connectionTimeout: (_a = settings.connectionTimeout) !== null && _a !== void 0 ? _a : 300000 /* 5min */, | ||
requestTimeout: 30000, | ||
retry: [ | ||
@@ -50,3 +51,3 @@ // retry on network issues | ||
statuses: [404, 500, 502, 504], | ||
codes: ['ECONNRESET', 'ECONNABORTED', 'ETIMEDOUT', 'ENOTFOUND', 'EAI_AGAIN'], | ||
codes: ['ECONNRESET', 'ECONNABORTED', 'ETIMEDOUT', 'ENOTFOUND', 'EAI_AGAIN', 'STUCK_REQUEST'], | ||
}, | ||
@@ -53,0 +54,0 @@ // retry on requests that were blocked by concurrency |
@@ -102,2 +102,3 @@ "use strict"; | ||
timeout: settings.abortIdleTestTimeout, | ||
isComponentAgent: settings.isComponentTest, | ||
}, | ||
@@ -104,0 +105,0 @@ }, |
{ | ||
"name": "@applitools/core-base", | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"homepage": "https://applitools.com", | ||
@@ -5,0 +5,0 @@ "bugs": { |
@@ -54,3 +54,2 @@ /// <reference types="node" /> | ||
}): Promise<void>; | ||
/** @internal */ | ||
logEvent(options: { | ||
@@ -215,2 +214,4 @@ settings: MaybeArray<LogEventSettings>; | ||
isFunctionalTest?: boolean; | ||
/** @internal */ | ||
isComponentTest?: boolean; | ||
} | ||
@@ -217,0 +218,0 @@ export interface LocateSettings<TLocator extends string, TRegion = Region> extends EyesServerSettings, ImageSettings<TRegion> { |
138342
2496