@graphql-mesh/transport-ws 0.3.7-alpha-20241010201453-8e410bdbdce8f243572edf5a564d3b51c946a078 → 0.3.7-alpha-20241011172526-4330ea086b58a90097ddaf17e6185c66ffe75e04

Sign up to get free protection for your applications and to get access to all the features.
package/cjs/index.js CHANGED
@@ -22,7 +22,7 @@ exports.default = {
22
22
  ? (0, string_interpolation_1.getInterpolatedHeadersFactory)(transportEntry.options.connectionParams)
23
23
  : undefined;
24
24
  const mergedExecutor = function mergedExecutor(execReq) {
25
- const connectionParams = connectionParamsFactory({
25
+ const connectionParams = connectionParamsFactory?.({
26
26
  env: cross_helpers_1.process.env,
27
27
  root: execReq.rootValue,
28
28
  context: execReq.context,
package/esm/index.js CHANGED
@@ -20,7 +20,7 @@ export default {
20
20
  ? getInterpolatedHeadersFactory(transportEntry.options.connectionParams)
21
21
  : undefined;
22
22
  const mergedExecutor = function mergedExecutor(execReq) {
23
- const connectionParams = connectionParamsFactory({
23
+ const connectionParams = connectionParamsFactory?.({
24
24
  env: process.env,
25
25
  root: execReq.rootValue,
26
26
  context: execReq.context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/transport-ws",
3
- "version": "0.3.7-alpha-20241010201453-8e410bdbdce8f243572edf5a564d3b51c946a078",
3
+ "version": "0.3.7-alpha-20241011172526-4330ea086b58a90097ddaf17e6185c66ffe75e04",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*",
@@ -9,8 +9,8 @@
9
9
  "dependencies": {
10
10
  "@graphql-mesh/cross-helpers": "0.4.6",
11
11
  "@graphql-mesh/string-interpolation": "^0.5.6",
12
- "@graphql-mesh/transport-common": "0.7.7-alpha-20241010201453-8e410bdbdce8f243572edf5a564d3b51c946a078",
13
- "@graphql-mesh/utils": "0.102.6-alpha-20241010201453-8e410bdbdce8f243572edf5a564d3b51c946a078",
12
+ "@graphql-mesh/transport-common": "0.7.7-alpha-20241011172526-4330ea086b58a90097ddaf17e6185c66ffe75e04",
13
+ "@graphql-mesh/utils": "0.102.6-alpha-20241011172526-4330ea086b58a90097ddaf17e6185c66ffe75e04",
14
14
  "@graphql-tools/executor-graphql-ws": "^1.2.0",
15
15
  "@graphql-tools/utils": "^10.5.3",
16
16
  "graphql-ws": "^5.16.0",