@applitools/socket
Advanced tools
Comparing version 1.1.20 to 1.2.0
# Changelog | ||
## [1.2.0](https://github.com/Applitools-Dev/sdk/compare/js/socket@1.1.20...js/socket@1.2.0) (2024-12-31) | ||
### Features | ||
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f)) | ||
### Dependencies | ||
* @applitools/utils bumped to 1.7.7 | ||
#### Bug Fixes | ||
* shim process execution functions for browser environment ([#2698](https://github.com/Applitools-Dev/sdk/issues/2698)) ([8d77db4](https://github.com/Applitools-Dev/sdk/commit/8d77db48e1c7fd54cad92c89a819a924255e5868)) | ||
* @applitools/logger bumped to 2.1.0 | ||
#### Features | ||
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f)) | ||
## [1.1.20](https://github.com/Applitools-Dev/sdk/compare/js/socket@1.1.19...js/socket@1.1.20) (2024-12-18) | ||
@@ -4,0 +26,0 @@ |
@@ -83,3 +83,8 @@ "use strict"; | ||
const offMessage = transport.onMessage(target, message => { | ||
var _a, _b; | ||
const { name, key, payload } = deserialize(message); | ||
if ((_a = payload === null || payload === void 0 ? void 0 : payload.settings) === null || _a === void 0 ? void 0 : _a.apiKey) | ||
logger.mask(payload.settings.apiKey); | ||
if ((_b = payload === null || payload === void 0 ? void 0 : payload.settings) === null || _b === void 0 ? void 0 : _b.eyesServerUrl) | ||
logger.mask(payload.settings.eyesServerUrl); | ||
logger.log(`Received event of type ${JSON.stringify({ name, key })} with payload`, payload && JSON.stringify(payload, null, 4).slice(0, 5000)); | ||
@@ -86,0 +91,0 @@ const fns = listeners.get(name); |
{ | ||
"name": "@applitools/socket", | ||
"version": "1.1.20", | ||
"version": "1.2.0", | ||
"description": "Applitools implementation for bidi-communication protocol", | ||
@@ -45,4 +45,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@applitools/logger": "2.0.20", | ||
"@applitools/utils": "1.7.6" | ||
"@applitools/logger": "2.1.0", | ||
"@applitools/utils": "1.7.7" | ||
}, | ||
@@ -49,0 +49,0 @@ "devDependencies": { |
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
51129
580
+ Added@applitools/logger@2.1.0(transitive)
+ Added@applitools/utils@1.7.7(transitive)
- Removed@applitools/logger@2.0.20(transitive)
- Removed@applitools/utils@1.7.6(transitive)
Updated@applitools/logger@2.1.0
Updated@applitools/utils@1.7.7