@graphql-tools/url-loader 7.5.3-alpha-6ff17de4.0 → 7.5.3-alpha-aa49e079.0

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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +2 -2
package/index.js CHANGED
@@ -395,7 +395,7 @@ class UrlLoader {
395
395
  if (method === 'GET' && (options === null || options === void 0 ? void 0 : options.subscriptionsProtocol) === exports.SubscriptionProtocol.SSE) {
396
396
  acceptedProtocols.push('text/event-stream');
397
397
  }
398
- if (method === 'POST') {
398
+ else {
399
399
  acceptedProtocols.push('multipart/mixed');
400
400
  }
401
401
  const accept = acceptedProtocols.join(', ');
package/index.mjs CHANGED
@@ -371,7 +371,7 @@ class UrlLoader {
371
371
  if (method === 'GET' && (options === null || options === void 0 ? void 0 : options.subscriptionsProtocol) === SubscriptionProtocol.SSE) {
372
372
  acceptedProtocols.push('text/event-stream');
373
373
  }
374
- if (method === 'POST') {
374
+ else {
375
375
  acceptedProtocols.push('multipart/mixed');
376
376
  }
377
377
  const accept = acceptedProtocols.join(', ');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/url-loader",
3
- "version": "7.5.3-alpha-6ff17de4.0",
3
+ "version": "7.5.3-alpha-aa49e079.0",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -25,7 +25,7 @@
25
25
  "tslib": "~2.3.0",
26
26
  "valid-url": "1.0.9",
27
27
  "value-or-promise": "1.0.11",
28
- "ws": "8.2.3"
28
+ "ws": "8.3.0"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",