chrome-remote-interface
Advanced tools
Comparing version 0.21.0 to 0.21.1
@@ -226,4 +226,7 @@ 'use strict'; | ||
}); | ||
chrome._ws.on('close', function () { | ||
chrome._notifier.emit('disconnect'); | ||
chrome._ws.on('close', function (code) { | ||
// normal close no error | ||
if (code === 1000) { | ||
chrome._notifier.emit('disconnect'); | ||
} | ||
}); | ||
@@ -230,0 +233,0 @@ chrome._ws.on('error', function (err) { |
@@ -12,3 +12,3 @@ { | ||
"homepage": "https://github.com/cyrus-and/chrome-remote-interface", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"repository": { | ||
@@ -15,0 +15,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
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
950382
15097