engine.io-client
Advanced tools
Comparing version 3.4.2 to 3.4.3
@@ -0,1 +1,10 @@ | ||
## [3.4.3](https://github.com/socketio/engine.io-client/compare/3.4.2...3.4.3) (2020-06-04) | ||
### Bug Fixes | ||
* **react-native:** restrict the list of options for the WebSocket object ([e5bc106](https://github.com/socketio/engine.io-client/commit/e5bc1063cc90a7b6262146c7b5338ffff1ff9e5b)) | ||
## [3.4.2](https://github.com/socketio/engine.io-client/compare/3.4.1...3.4.2) (2020-05-13) | ||
@@ -2,0 +11,0 @@ |
@@ -95,15 +95,19 @@ /** | ||
var protocols = this.protocols; | ||
var opts = { | ||
agent: this.agent, | ||
perMessageDeflate: this.perMessageDeflate | ||
}; | ||
// SSL options for Node.js client | ||
opts.pfx = this.pfx; | ||
opts.key = this.key; | ||
opts.passphrase = this.passphrase; | ||
opts.cert = this.cert; | ||
opts.ca = this.ca; | ||
opts.ciphers = this.ciphers; | ||
opts.rejectUnauthorized = this.rejectUnauthorized; | ||
var opts = {}; | ||
if (!this.isReactNative) { | ||
opts.agent = this.agent; | ||
opts.perMessageDeflate = this.perMessageDeflate; | ||
// SSL options for Node.js client | ||
opts.pfx = this.pfx; | ||
opts.key = this.key; | ||
opts.passphrase = this.passphrase; | ||
opts.cert = this.cert; | ||
opts.ca = this.ca; | ||
opts.ciphers = this.ciphers; | ||
opts.rejectUnauthorized = this.rejectUnauthorized; | ||
} | ||
if (this.extraHeaders) { | ||
@@ -110,0 +114,0 @@ opts.headers = this.extraHeaders; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "3.4.2", | ||
"version": "3.4.3", | ||
"main": "lib/index.js", | ||
@@ -8,0 +8,0 @@ "homepage": "https://github.com/socketio/engine.io-client", |
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
180479
5744