@graphql-mesh/transport-ws 0.3.7-alpha-20240925120814-cbe9a2609f311e5cfd1c5b24f373eb96268b7437 → 0.3.7-alpha-20241009113136-d3fef93d2fec666c44a723550c2a60b79e0a59f8

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-20240925120814-cbe9a2609f311e5cfd1c5b24f373eb96268b7437",
3
+ "version": "0.3.7-alpha-20241009113136-d3fef93d2fec666c44a723550c2a60b79e0a59f8",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*",
@@ -9,9 +9,9 @@
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.6",
13
- "@graphql-mesh/utils": "^0.102.5",
14
- "@graphql-tools/executor-graphql-ws": "1.2.1-alpha-20240925090257-6e5f8eaabf9d4300983f198ca6214ba632f151c0",
12
+ "@graphql-mesh/transport-common": "0.7.7-alpha-20241009113136-d3fef93d2fec666c44a723550c2a60b79e0a59f8",
13
+ "@graphql-mesh/utils": "0.102.6-alpha-20241009113136-d3fef93d2fec666c44a723550c2a60b79e0a59f8",
14
+ "@graphql-tools/executor-graphql-ws": "^1.2.0",
15
15
  "@graphql-tools/utils": "^10.5.3",
16
16
  "graphql-ws": "^5.16.0",
17
17
  "ws": "^8.18.0"