@graphql-mesh/http 0.100.8 → 0.100.9
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 +1 -4
- package/esm/index.js +1 -4
- package/package.json +4 -4
package/cjs/index.js
CHANGED
|
@@ -8,10 +8,7 @@ const graphqlHandler_js_1 = require("./graphqlHandler.js");
|
|
|
8
8
|
function createMeshHTTPHandler({ baseDir, getBuiltMesh, rawServeConfig = {}, playgroundTitle, }) {
|
|
9
9
|
let readyFlag = false;
|
|
10
10
|
let logger = new utils_1.DefaultLogger('Mesh HTTP');
|
|
11
|
-
const { cors: corsConfig, staticFiles, playground: playgroundEnabled = cross_helpers_1.process.env.NODE_ENV !== 'production', endpoint: graphqlPath = '/graphql', batchingLimit, healthCheckEndpoint = '/healthcheck',
|
|
12
|
-
// TODO
|
|
13
|
-
// trustProxy = 'loopback',
|
|
14
|
-
extraParamNames, } = rawServeConfig;
|
|
11
|
+
const { cors: corsConfig, staticFiles, playground: playgroundEnabled = cross_helpers_1.process.env.NODE_ENV !== 'production', endpoint: graphqlPath = '/graphql', batchingLimit, healthCheckEndpoint = '/healthcheck', extraParamNames, } = rawServeConfig;
|
|
15
12
|
getBuiltMesh()
|
|
16
13
|
.then(mesh => {
|
|
17
14
|
readyFlag = true;
|
package/esm/index.js
CHANGED
|
@@ -5,10 +5,7 @@ import { graphqlHandler } from './graphqlHandler.js';
|
|
|
5
5
|
export function createMeshHTTPHandler({ baseDir, getBuiltMesh, rawServeConfig = {}, playgroundTitle, }) {
|
|
6
6
|
let readyFlag = false;
|
|
7
7
|
let logger = new DefaultLogger('Mesh HTTP');
|
|
8
|
-
const { cors: corsConfig, staticFiles, playground: playgroundEnabled = process.env.NODE_ENV !== 'production', endpoint: graphqlPath = '/graphql', batchingLimit, healthCheckEndpoint = '/healthcheck',
|
|
9
|
-
// TODO
|
|
10
|
-
// trustProxy = 'loopback',
|
|
11
|
-
extraParamNames, } = rawServeConfig;
|
|
8
|
+
const { cors: corsConfig, staticFiles, playground: playgroundEnabled = process.env.NODE_ENV !== 'production', endpoint: graphqlPath = '/graphql', batchingLimit, healthCheckEndpoint = '/healthcheck', extraParamNames, } = rawServeConfig;
|
|
12
9
|
getBuiltMesh()
|
|
13
10
|
.then(mesh => {
|
|
14
11
|
readyFlag = true;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/http",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.9",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@graphql-mesh/cross-helpers": "^0.4.4",
|
|
7
|
-
"@graphql-mesh/runtime": "^0.100.
|
|
8
|
-
"@graphql-mesh/types": "^0.99.
|
|
9
|
-
"@graphql-mesh/utils": "^0.99.
|
|
7
|
+
"@graphql-mesh/runtime": "^0.100.8",
|
|
8
|
+
"@graphql-mesh/types": "^0.99.7",
|
|
9
|
+
"@graphql-mesh/utils": "^0.99.7",
|
|
10
10
|
"@graphql-tools/utils": "^10.2.3",
|
|
11
11
|
"graphql": "*",
|
|
12
12
|
"tslib": "^2.4.0"
|