@graphql-tools/url-loader 7.8.0-alpha-4faabc4b.0 → 7.8.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 +1 -1
package/index.js CHANGED
@@ -448,7 +448,7 @@ class UrlLoader {
448
448
  }
449
449
  }, options.timeout);
450
450
  }
451
- const credentials = (options === null || options === void 0 ? void 0 : options.credentials) || 'include';
451
+ const credentials = (options === null || options === void 0 ? void 0 : options.credentials) || 'same-origin';
452
452
  return new valueOrPromise.ValueOrPromise(() => {
453
453
  switch (method) {
454
454
  case 'GET':
package/index.mjs CHANGED
@@ -424,7 +424,7 @@ class UrlLoader {
424
424
  }
425
425
  }, options.timeout);
426
426
  }
427
- const credentials = (options === null || options === void 0 ? void 0 : options.credentials) || 'include';
427
+ const credentials = (options === null || options === void 0 ? void 0 : options.credentials) || 'same-origin';
428
428
  return new ValueOrPromise(() => {
429
429
  switch (method) {
430
430
  case 'GET':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/url-loader",
3
- "version": "7.8.0-alpha-4faabc4b.0",
3
+ "version": "7.8.0",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {