socket.io-client
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -102,2 +102,6 @@ import { Socket, SocketOptions } from "./socket"; | ||
/** | ||
* Timeout for xhr-polling requests in milliseconds (0) (only for polling transport) | ||
*/ | ||
requestTimeout: number; | ||
/** | ||
* Transport options for Node.js client (headers etc) | ||
@@ -163,2 +167,7 @@ */ | ||
withCredentials: boolean; | ||
/** | ||
* Whether to automatically close the connection whenever the beforeunload event is received. | ||
* @default true | ||
*/ | ||
closeOnBeforeunload: boolean; | ||
} | ||
@@ -165,0 +174,0 @@ export interface ManagerOptions extends EngineOptions { |
@@ -0,1 +1,10 @@ | ||
## [4.1.2](https://github.com/socketio/socket.io-client/compare/4.1.1...4.1.2) (2021-05-17) | ||
### Bug Fixes | ||
* **typings:** add missing closeOnBeforeunload option ([#1469](https://github.com/socketio/socket.io-client/issues/1469)) ([35d27df](https://github.com/socketio/socket.io-client/commit/35d27df2ae48046bfe3ae2e11f82004200095aae)) | ||
* **typings:** add missing requestTimeout option ([#1467](https://github.com/socketio/socket.io-client/issues/1467)) ([c8dfbb1](https://github.com/socketio/socket.io-client/commit/c8dfbb1c1d10aff16bc19cc1f1bab6b3a9240d81)) | ||
## [4.1.1](https://github.com/socketio/socket.io-client/compare/4.1.0...4.1.1) (2021-05-11) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "socket.io-client", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "realtime", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
963041
7333