@applitools/socket
Advanced tools
Comparing version 1.1.2 to 1.1.3
# Changelog | ||
## [1.1.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/socket@1.1.2...js/socket@1.1.3) (2023-06-15) | ||
### Bug Fixes | ||
* improve stability and logging ([#1658](https://github.com/applitools/eyes.sdk.javascript1/issues/1658)) ([6ba65dd](https://github.com/applitools/eyes.sdk.javascript1/commit/6ba65dd4813ee102e41ecf930b3bc7c87e13495c)) | ||
## [1.1.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/socket-v1.1.1...js/socket@1.1.2) (2023-06-13) | ||
@@ -4,0 +11,0 @@ |
@@ -51,4 +51,5 @@ "use strict"; | ||
try { | ||
const result = await generator.next(handler.queue); | ||
handler.queue = []; | ||
const outgoing = [...handler.queue]; | ||
const result = await generator.next(outgoing); | ||
handler.queue = handler.queue.filter(data => !outgoing.includes(data)); | ||
result.value.forEach(value => { var _a; return (_a = handler.messageListener) === null || _a === void 0 ? void 0 : _a.call(handler, value); }); | ||
@@ -55,0 +56,0 @@ if (result.done) { |
{ | ||
"name": "@applitools/socket", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Applitools implementation for bidi-communication protocol", | ||
@@ -53,3 +53,6 @@ "keywords": [ | ||
"node": ">=12.13.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
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
39161
550