pladaria / reconnecting-websocket

Reconnecting WebSocket. For Web, React Native, cli (Node.js)
MIT License
1.23k stars 199 forks source link

Fixed missing parameter for extended "close" event #32

Closed bennycode closed 7 years ago

bennycode commented 7 years ago

ReconnectingWebsocket extends the WebSocket's close event by a third parameter (for additional configuration): https://github.com/pladaria/reconnecting-websocket/blob/v3.2.1/index.ts#L189

I added the specifics of this config parameter to the definition file to make it available for code which is using ReconnectingWebsocket.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 7619acf5a4aeb566e50df99074399012a462dd0d on bennyn:patch-1 into 69a1bc69a6c025793c02b78116e867f2ef77af28 on pladaria:master.

pladaria commented 7 years ago

Thanks :)