@graphql-mesh/runtime 0.46.18 → 0.46.19-alpha-20230321145025-cc027190e
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/get-mesh.js +1 -1
- package/esm/get-mesh.js +1 -1
- package/package.json +4 -4
- package/typings/types.d.cts +2 -2
- package/typings/types.d.ts +2 -2
package/cjs/get-mesh.js
CHANGED
|
@@ -95,7 +95,7 @@ async function getMesh(options) {
|
|
|
95
95
|
// Maybe Node-like environment
|
|
96
96
|
if (req === null || req === void 0 ? void 0 : req.headers) {
|
|
97
97
|
return {
|
|
98
|
-
headers: req.headers,
|
|
98
|
+
headers: (0, utils_1.getHeadersObj)(req.headers),
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
// Fetch environment
|
package/esm/get-mesh.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/runtime",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.19-alpha-20230321145025-cc027190e",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "*"
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"@envelop/extended-validation": "2.0.6",
|
|
11
11
|
"@graphql-mesh/cross-helpers": "0.3.3",
|
|
12
12
|
"@graphql-mesh/string-interpolation": "0.4.2",
|
|
13
|
-
"@graphql-mesh/types": "0.91.
|
|
14
|
-
"@graphql-mesh/utils": "0.43.
|
|
13
|
+
"@graphql-mesh/types": "0.91.10-alpha-20230321145025-cc027190e",
|
|
14
|
+
"@graphql-mesh/utils": "0.43.18-alpha-20230321145025-cc027190e",
|
|
15
15
|
"@graphql-tools/batch-delegate": "8.4.21",
|
|
16
16
|
"@graphql-tools/batch-execute": "8.5.18",
|
|
17
17
|
"@graphql-tools/delegate": "9.0.28",
|
|
18
18
|
"@graphql-tools/utils": "9.2.1",
|
|
19
19
|
"@graphql-tools/wrap": "9.3.7",
|
|
20
|
-
"@whatwg-node/fetch": "^0.8.
|
|
20
|
+
"@whatwg-node/fetch": "^0.8.3",
|
|
21
21
|
"tslib": "^2.4.0"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
package/typings/types.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { KeyValueCache, MeshPubSub, GraphQLOperation, MeshHandler, MeshTransform, YamlConfig, Logger, MeshMerger, MeshFetch } from '@graphql-mesh/types';
|
|
2
1
|
import { DocumentNode, ExecutionResult } from 'graphql';
|
|
2
|
+
import { envelop } from '@envelop/core';
|
|
3
|
+
import { GraphQLOperation, KeyValueCache, Logger, MeshFetch, MeshHandler, MeshMerger, MeshPubSub, MeshTransform, YamlConfig } from '@graphql-mesh/types';
|
|
3
4
|
import { IResolvers, Source } from '@graphql-tools/utils';
|
|
4
5
|
import { MESH_CONTEXT_SYMBOL } from './constants.cjs';
|
|
5
6
|
import { MeshInstance } from './get-mesh.cjs';
|
|
6
|
-
import { envelop } from '@envelop/core';
|
|
7
7
|
export type GetMeshOptions = {
|
|
8
8
|
sources: MeshResolvedSource[];
|
|
9
9
|
transforms?: MeshTransform[];
|
package/typings/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { KeyValueCache, MeshPubSub, GraphQLOperation, MeshHandler, MeshTransform, YamlConfig, Logger, MeshMerger, MeshFetch } from '@graphql-mesh/types';
|
|
2
1
|
import { DocumentNode, ExecutionResult } from 'graphql';
|
|
2
|
+
import { envelop } from '@envelop/core';
|
|
3
|
+
import { GraphQLOperation, KeyValueCache, Logger, MeshFetch, MeshHandler, MeshMerger, MeshPubSub, MeshTransform, YamlConfig } from '@graphql-mesh/types';
|
|
3
4
|
import { IResolvers, Source } from '@graphql-tools/utils';
|
|
4
5
|
import { MESH_CONTEXT_SYMBOL } from './constants.js';
|
|
5
6
|
import { MeshInstance } from './get-mesh.js';
|
|
6
|
-
import { envelop } from '@envelop/core';
|
|
7
7
|
export type GetMeshOptions = {
|
|
8
8
|
sources: MeshResolvedSource[];
|
|
9
9
|
transforms?: MeshTransform[];
|