@graphql-hive/gateway-runtime 2.5.0-alpha-958f748d4cc864dfdd0d8b32dfa8695797c954f3 → 2.5.0-alpha-f341ce2a784bd96b413ee38f511f1ebd2183e3d2
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/CHANGELOG.md +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -546,6 +546,9 @@ const defaultClientVersionHeaders = [
|
|
|
546
546
|
"x-graphql-client-version"
|
|
547
547
|
];
|
|
548
548
|
function lookupHeader(headers, possibleNames) {
|
|
549
|
+
if (headers == null) {
|
|
550
|
+
return null;
|
|
551
|
+
}
|
|
549
552
|
for (const name of possibleNames) {
|
|
550
553
|
const value = headers[name];
|
|
551
554
|
if (value) {
|
package/dist/index.js
CHANGED
|
@@ -545,6 +545,9 @@ const defaultClientVersionHeaders = [
|
|
|
545
545
|
"x-graphql-client-version"
|
|
546
546
|
];
|
|
547
547
|
function lookupHeader(headers, possibleNames) {
|
|
548
|
+
if (headers == null) {
|
|
549
|
+
return null;
|
|
550
|
+
}
|
|
548
551
|
for (const name of possibleNames) {
|
|
549
552
|
const value = headers[name];
|
|
550
553
|
if (value) {
|