@graphql-mesh/supergraph 0.10.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331 → 0.10.0-alpha-20250303154240-da9897c303aaefec5798b499a7ac8fef3e01b201
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/cjs/index.js +2 -3
- package/esm/index.js +2 -3
- package/package.json +6 -6
package/cjs/index.js
CHANGED
|
@@ -32,7 +32,7 @@ class SupergraphHandler {
|
|
|
32
32
|
fetch: this.fetchFn,
|
|
33
33
|
logger: this.logger,
|
|
34
34
|
}).catch(e => {
|
|
35
|
-
throw new Error(`
|
|
35
|
+
throw new Error(`Failed to load supergraph SDL from ${interpolatedSource}:\n ${e.message}`);
|
|
36
36
|
});
|
|
37
37
|
return handleSupergraphResponse(res, interpolatedSource);
|
|
38
38
|
}
|
|
@@ -47,7 +47,7 @@ class SupergraphHandler {
|
|
|
47
47
|
fetch: this.fetchFn,
|
|
48
48
|
logger: this.logger,
|
|
49
49
|
}).catch(e => {
|
|
50
|
-
throw new Error(`
|
|
50
|
+
throw new Error(`Failed to load supergraph SDL from ${interpolatedSource}:\n ${e.message}`);
|
|
51
51
|
});
|
|
52
52
|
return handleSupergraphResponse(sdlOrIntrospection, interpolatedSource);
|
|
53
53
|
});
|
|
@@ -95,7 +95,6 @@ class SupergraphHandler {
|
|
|
95
95
|
...subgraphConfiguration,
|
|
96
96
|
subscriptionsEndpoint,
|
|
97
97
|
subscriptionsProtocol: subgraphConfiguration.subscriptionsProtocol,
|
|
98
|
-
// @ts-expect-error - this is a bug in the types
|
|
99
98
|
customFetch: fetchFn,
|
|
100
99
|
});
|
|
101
100
|
const subgraphOperationHeadersFactory = subgraphConfiguration.operationHeaders != null
|
package/esm/index.js
CHANGED
|
@@ -30,7 +30,7 @@ export default class SupergraphHandler {
|
|
|
30
30
|
fetch: this.fetchFn,
|
|
31
31
|
logger: this.logger,
|
|
32
32
|
}).catch(e => {
|
|
33
|
-
throw new Error(`
|
|
33
|
+
throw new Error(`Failed to load supergraph SDL from ${interpolatedSource}:\n ${e.message}`);
|
|
34
34
|
});
|
|
35
35
|
return handleSupergraphResponse(res, interpolatedSource);
|
|
36
36
|
}
|
|
@@ -45,7 +45,7 @@ export default class SupergraphHandler {
|
|
|
45
45
|
fetch: this.fetchFn,
|
|
46
46
|
logger: this.logger,
|
|
47
47
|
}).catch(e => {
|
|
48
|
-
throw new Error(`
|
|
48
|
+
throw new Error(`Failed to load supergraph SDL from ${interpolatedSource}:\n ${e.message}`);
|
|
49
49
|
});
|
|
50
50
|
return handleSupergraphResponse(sdlOrIntrospection, interpolatedSource);
|
|
51
51
|
});
|
|
@@ -93,7 +93,6 @@ export default class SupergraphHandler {
|
|
|
93
93
|
...subgraphConfiguration,
|
|
94
94
|
subscriptionsEndpoint,
|
|
95
95
|
subscriptionsProtocol: subgraphConfiguration.subscriptionsProtocol,
|
|
96
|
-
// @ts-expect-error - this is a bug in the types
|
|
97
96
|
customFetch: fetchFn,
|
|
98
97
|
});
|
|
99
98
|
const subgraphOperationHeadersFactory = subgraphConfiguration.operationHeaders != null
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/supergraph",
|
|
3
|
-
"version": "0.10.0-alpha-
|
|
3
|
+
"version": "0.10.0-alpha-20250303154240-da9897c303aaefec5798b499a7ac8fef3e01b201",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "*"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@graphql-mesh/cross-helpers": "^0.4.
|
|
10
|
-
"@graphql-mesh/store": "0.104.0-alpha-
|
|
9
|
+
"@graphql-mesh/cross-helpers": "^0.4.10",
|
|
10
|
+
"@graphql-mesh/store": "0.104.0-alpha-20250303154240-da9897c303aaefec5798b499a7ac8fef3e01b201",
|
|
11
11
|
"@graphql-mesh/string-interpolation": "^0.5.8",
|
|
12
|
-
"@graphql-mesh/types": "0.104.0-alpha-
|
|
13
|
-
"@graphql-mesh/utils": "0.104.0-alpha-
|
|
12
|
+
"@graphql-mesh/types": "0.104.0-alpha-20250303154240-da9897c303aaefec5798b499a7ac8fef3e01b201",
|
|
13
|
+
"@graphql-mesh/utils": "0.104.0-alpha-20250303154240-da9897c303aaefec5798b499a7ac8fef3e01b201",
|
|
14
14
|
"@graphql-tools/federation": "^3.0.0",
|
|
15
15
|
"@graphql-tools/url-loader": "^8.0.9",
|
|
16
|
-
"@graphql-tools/utils": "^10.
|
|
16
|
+
"@graphql-tools/utils": "^10.8.0",
|
|
17
17
|
"lodash.get": "^4.4.2",
|
|
18
18
|
"tslib": "^2.4.0"
|
|
19
19
|
},
|