@graphql-mesh/transport-ws 0.3.7-alpha-20241011045752-c2004fbd1fb5695a824817a9aeea882733ffbdf4 → 0.3.7

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-20241011045752-c2004fbd1fb5695a824817a9aeea882733ffbdf4",
3
+ "version": "0.3.7",
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-20241011045752-c2004fbd1fb5695a824817a9aeea882733ffbdf4",
13
- "@graphql-mesh/utils": "0.102.6-alpha-20241011045752-c2004fbd1fb5695a824817a9aeea882733ffbdf4",
12
+ "@graphql-mesh/transport-common": "^0.7.7",
13
+ "@graphql-mesh/utils": "^0.102.6",
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",