eventsource
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,2 @@ | ||
# [1.0.3](https://github.com/EventSource/eventsource/compare/v1.0.2...v1.0.3) | ||
# [1.0.4](https://github.com/EventSource/eventsource/compare/v1.0.2...v1.0.4) | ||
@@ -3,0 +3,0 @@ * Pass withCredentials on to the XHR. ([#79](https://github.com/EventSource/eventsource/pull/79) Ken Mayer) |
@@ -116,2 +116,7 @@ var original = require('original') | ||
// Pass this on to the XHR | ||
if (eventSourceInitDict && eventSourceInitDict.withCredentials !== undefined) { | ||
options.withCredentials = eventSourceInitDict.withCredentials | ||
} | ||
req = (isSecure ? https : http).request(options, function (res) { | ||
@@ -118,0 +123,0 @@ // Handle HTTP errors |
{ | ||
"name": "eventsource", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "W3C compliant EventSource client for Node.js and browser (polyfill)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
579073
9023