chrome-remote-interface
Advanced tools
Comparing version 0.24.1 to 0.24.2
'use strict'; | ||
const REQUEST_TIMEOUT = 10000; | ||
// callback(err, data) | ||
@@ -18,2 +20,5 @@ function externalRequest(transport, options, callback) { | ||
}); | ||
request.setTimeout(REQUEST_TIMEOUT, function () { | ||
this.abort(); | ||
}); | ||
request.on('error', function (err) { | ||
@@ -20,0 +25,0 @@ callback(err); |
@@ -12,3 +12,3 @@ { | ||
"homepage": "https://github.com/cyrus-and/chrome-remote-interface", | ||
"version": "0.24.1", | ||
"version": "0.24.2", | ||
"repository": { | ||
@@ -15,0 +15,0 @@ "type": "git", |
@@ -356,3 +356,4 @@ chrome-remote-interface [![Build Status](https://travis-ci.org/cyrus-and/chrome-remote-interface.svg?branch=master)](https://travis-ci.org/cyrus-and/chrome-remote-interface) | ||
- use the *raw* version of the [commands](#clientsendmethod-params-callback) | ||
and [events](#event-domainmethod) interface; | ||
and [events](#event-domainmethod) interface to use bleeding-edge features that | ||
do not appear in the [local version] of the protocol descriptor; | ||
@@ -359,0 +360,0 @@ - update the local copy with `scripts/update-protocol.sh` (not present when |
Sorry, the diff of this file is too big to display
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
1002424
16022
850