Upgrade reconnecting-websocket (#734)

* fix url in comment

* upgrade reconnecting-websocket
This commit is contained in:
Flavio Curella 2017-09-12 10:22:43 -07:00 committed by Andrew Godwin
parent 3111f3b8ac
commit 2d4886dfa0
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
], ],
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"reconnecting-websocket": "^3.0.3" "reconnecting-websocket": "^3.2.1"
}, },
"jest": { "jest": {
"roots": [ "roots": [

View File

@ -30,7 +30,7 @@ export class WebSocketBridge {
* @param {String} [url] The url of the websocket. Defaults to * @param {String} [url] The url of the websocket. Defaults to
* `window.location.host` * `window.location.host`
* @param {String[]|String} [protocols] Optional string or array of protocols. * @param {String[]|String} [protocols] Optional string or array of protocols.
* @param {Object} options Object of options for [`reconnecting-websocket`](https://github.com/joewalnes/reconnecting-websocket#options-1). * @param {Object} options Object of options for [`reconnecting-websocket`](https://github.com/pladaria/reconnecting-websocket#configure).
* @example * @example
* const webSocketBridge = new WebSocketBridge(); * const webSocketBridge = new WebSocketBridge();
* webSocketBridge.connect(); * webSocketBridge.connect();