@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.
- package/index.js +1 -1
- package/index.mjs +1 -1
- 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) || '
|
|
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) || '
|
|
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':
|