react-native-websocket
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -47,3 +47,3 @@ /* global WebSocket */ | ||
ws.onerror = (error) => { this.props.onError && this.props.onError(error) } | ||
ws.onclose = () => this.reconnect ? this._handleWebsocketSetup() : (this.props.onClose && this.props.onClose()) | ||
ws.onclose = () => this.reconnect ? this._handleWebSocketSetup() : (this.props.onClose && this.props.onClose()) | ||
this.setState({ws}) | ||
@@ -50,0 +50,0 @@ } |
{ | ||
"name": "react-native-websocket", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "WebSocket API wrapped as a component for React Native", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |