@applitools/nml-client
Advanced tools
Comparing version 1.6.3 to 1.6.4
# Changelog | ||
## [1.6.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/nml-client@1.6.3...js/nml-client@1.6.4) (2024-01-16) | ||
### Bug Fixes | ||
* remove local environment id ([#2152](https://github.com/applitools/eyes.sdk.javascript1/issues/2152)) ([59aaeae](https://github.com/applitools/eyes.sdk.javascript1/commit/59aaeaed474fbde78b76ae7ac803960e3ecd8166)) | ||
## [1.6.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/nml-client@1.6.2...js/nml-client@1.6.3) (2024-01-02) | ||
@@ -4,0 +11,0 @@ |
@@ -36,3 +36,2 @@ "use strict"; | ||
const req = (0, req_broker_1.makeReqBroker)({ settings, logger: mainLogger }); | ||
const localEnvironmentId = utils.general.guid(); | ||
const getSupportedEnvironmentsWithCache = utils.general.cachify(getSupportedEnvironments, () => 'default'); | ||
@@ -56,3 +55,3 @@ return { | ||
if (!utils.types.has(environment, 'iosDeviceInfo') && !utils.types.has(environment, 'androidDeviceInfo')) { | ||
result.localEnvironment = { ...environment, environmentId: localEnvironmentId }; | ||
result.localEnvironment = environment; | ||
} | ||
@@ -59,0 +58,0 @@ else { |
{ | ||
"name": "@applitools/nml-client", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "Client to integrate the SDKs to the Native Mobile Library (NML)", | ||
@@ -5,0 +5,0 @@ "homepage": "https://applitools.com", |
@@ -40,2 +40,3 @@ import type { Size, Location, Region } from '@applitools/utils'; | ||
export interface LocalEnvironment { | ||
environmentId: string; | ||
os: string; | ||
@@ -46,9 +47,5 @@ deviceName: string; | ||
export type Environment = IOSDeviceEnvironment | AndroidDeviceEnvironment | LocalEnvironment; | ||
export interface ActualEnvironment { | ||
export type ActualEnvironment = LocalEnvironment & { | ||
requested?: IOSDeviceEnvironment | AndroidDeviceEnvironment; | ||
environmentId: string; | ||
os: string; | ||
deviceName: string; | ||
viewportSize: Size; | ||
} | ||
}; | ||
export type Selector = string | { | ||
@@ -55,0 +52,0 @@ selector: string; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58423
506