@graphql-mesh/transport-ws 0.3.7-alpha-20240925070324-8037810efca5fd1d267d652660623b8dccec1028 → 0.3.7-alpha-20240925091941-d3b99a7b8a70851b6f1a190173f3996abf5168fc
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/index.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +4 -4
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-
|
3
|
+
"version": "0.3.7-alpha-20240925091941-d3b99a7b8a70851b6f1a190173f3996abf5168fc",
|
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.
|
13
|
-
"@graphql-mesh/utils": "0.102.
|
14
|
-
"@graphql-tools/executor-graphql-ws": "
|
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",
|
15
15
|
"@graphql-tools/utils": "^10.5.3",
|
16
16
|
"graphql-ws": "^5.16.0",
|
17
17
|
"ws": "^8.18.0"
|