@applitools/core-base
Advanced tools
Comparing version 1.1.47 to 1.1.48
@@ -166,3 +166,10 @@ "use strict"; | ||
}); | ||
const result = await response.json(); | ||
const result = await response.json().then(results => { | ||
return Object.entries(results).reduce((results, [key, regions]) => { | ||
var _a; | ||
results[key] = | ||
(_a = regions === null || regions === void 0 ? void 0 : regions.map(region => ({ x: region.left, y: region.top, width: region.width, height: region.height }))) !== null && _a !== void 0 ? _a : []; | ||
return results; | ||
}, {}); | ||
}); | ||
logger.log('Request "locate" finished successfully with body', result); | ||
@@ -169,0 +176,0 @@ return result; |
{ | ||
"name": "@applitools/core-base", | ||
"version": "1.1.47", | ||
"version": "1.1.48", | ||
"homepage": "https://applitools.com", | ||
@@ -5,0 +5,0 @@ "bugs": { |
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
109245
2047