@applitools/nml-client 1.6.2 → 1.6.3
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 +7 -0
- package/dist/server/requests.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* environment for each check for local environment ([#2135](https://github.com/applitools/eyes.sdk.javascript1/issues/2135)) ([f3a4483](https://github.com/applitools/eyes.sdk.javascript1/commit/f3a44831d41e190aa259367b17e930e7b6f39a04))
|
|
9
|
+
|
|
3
10
|
## [1.6.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/nml-client@1.6.1...js/nml-client@1.6.2) (2023-12-19)
|
|
4
11
|
|
|
5
12
|
|
package/dist/server/requests.js
CHANGED
|
@@ -33,6 +33,7 @@ const utils = __importStar(require("@applitools/utils"));
|
|
|
33
33
|
function makeNMLRequests({ settings, logger: mainLogger, }) {
|
|
34
34
|
let brokerUrl = settings.brokerUrl;
|
|
35
35
|
const req = (0, req_broker_1.makeReqBroker)({ settings, logger: mainLogger });
|
|
36
|
+
const localEnvironmentId = utils.general.guid();
|
|
36
37
|
const getSupportedEnvironmentsWithCache = utils.general.cachify(getSupportedEnvironments, () => 'default');
|
|
37
38
|
return {
|
|
38
39
|
getSupportedEnvironments: getSupportedEnvironmentsWithCache,
|
|
@@ -51,7 +52,7 @@ function makeNMLRequests({ settings, logger: mainLogger, }) {
|
|
|
51
52
|
const { localEnvironment, renderEnvironments, environmentSettings } = settings.environments.reduce((result, environment) => {
|
|
52
53
|
var _a;
|
|
53
54
|
if (!utils.types.has(environment, 'iosDeviceInfo') && !utils.types.has(environment, 'androidDeviceInfo')) {
|
|
54
|
-
result.localEnvironment = { ...environment, environmentId:
|
|
55
|
+
result.localEnvironment = { ...environment, environmentId: localEnvironmentId };
|
|
55
56
|
}
|
|
56
57
|
else {
|
|
57
58
|
const deviceInfo = utils.types.has(environment, 'iosDeviceInfo')
|