@graphql-mesh/supergraph 0.9.17-alpha-20250212163616-eb8c0ccf7a3767d2a8a55cf4bf46c6c9c1b64ec4 → 0.10.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331
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 -2
- package/esm/index.js +2 -2
- 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(`Supergraph source must be a valid GraphQL SDL string or a parsed DocumentNode, but got an invalid result from ${interpolatedSource} instead.\n Got error: ${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(`Supergraph source must be a valid GraphQL SDL string or a parsed DocumentNode, but got an invalid result from ${interpolatedSource} instead.\n Got error: ${e.message}`);
|
|
51
51
|
});
|
|
52
52
|
return handleSupergraphResponse(sdlOrIntrospection, interpolatedSource);
|
|
53
53
|
});
|
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(`Supergraph source must be a valid GraphQL SDL string or a parsed DocumentNode, but got an invalid result from ${interpolatedSource} instead.\n Got error: ${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(`Supergraph source must be a valid GraphQL SDL string or a parsed DocumentNode, but got an invalid result from ${interpolatedSource} instead.\n Got error: ${e.message}`);
|
|
49
49
|
});
|
|
50
50
|
return handleSupergraphResponse(sdlOrIntrospection, interpolatedSource);
|
|
51
51
|
});
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/supergraph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
|
|
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.
|
|
9
|
+
"@graphql-mesh/cross-helpers": "^0.4.9",
|
|
10
|
+
"@graphql-mesh/store": "0.104.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
|
|
11
11
|
"@graphql-mesh/string-interpolation": "^0.5.8",
|
|
12
|
-
"@graphql-mesh/types": "0.
|
|
13
|
-
"@graphql-mesh/utils": "0.
|
|
12
|
+
"@graphql-mesh/types": "0.104.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
|
|
13
|
+
"@graphql-mesh/utils": "0.104.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
|
|
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.6.0",
|
|
17
17
|
"lodash.get": "^4.4.2",
|
|
18
18
|
"tslib": "^2.4.0"
|
|
19
19
|
},
|