@everymatrix/casino-tournaments-limited-controller 1.13.9 → 1.13.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1190,15 +1190,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
1190
1190
  }
1191
1191
 
1192
1192
  xhr.onload = function() {
1193
- var responseHeaders = xhr.getAllResponseHeaders();
1194
- var setCookie = xhr.getResponseHeader('set-cookie');
1195
- if (setCookie) {
1196
- responseHeaders = responseHeaders.replace(setCookie, setCookie.replace(/\r?\n/g, ', '));
1197
- }
1198
1193
  var options = {
1199
1194
  status: xhr.status,
1200
1195
  statusText: xhr.statusText,
1201
- headers: parseHeaders(responseHeaders || '')
1196
+ headers: parseHeaders(xhr.getAllResponseHeaders() || '')
1202
1197
  };
1203
1198
  options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');
1204
1199
  var body = 'response' in xhr ? xhr.response : xhr.responseText;