@graphql-tools/url-loader 8.0.25-alpha-20250209212745-6effa6bceeb14bfc9784c12176a753335926280b → 8.0.25-alpha-20250209213247-d0e86bcf6a095b41dae8486678c419b71900e1cb
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 +3 -2
- package/esm/index.js +3 -2
- package/package.json +4 -4
package/cjs/index.js
CHANGED
|
@@ -66,11 +66,12 @@ class UrlLoader {
|
|
|
66
66
|
https: 'wss',
|
|
67
67
|
http: 'ws',
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
const opts = {
|
|
70
70
|
url: WS_URL,
|
|
71
71
|
webSocketImpl,
|
|
72
72
|
connectionParams,
|
|
73
|
-
}
|
|
73
|
+
};
|
|
74
|
+
return (0, executor_graphql_ws_1.buildGraphQLWSExecutor)(opts);
|
|
74
75
|
}
|
|
75
76
|
buildWSLegacyExecutor(subscriptionsEndpoint, WebSocketImpl, options) {
|
|
76
77
|
const WS_URL = switchProtocols(subscriptionsEndpoint, {
|
package/esm/index.js
CHANGED
|
@@ -62,11 +62,12 @@ export class UrlLoader {
|
|
|
62
62
|
https: 'wss',
|
|
63
63
|
http: 'ws',
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
const opts = {
|
|
66
66
|
url: WS_URL,
|
|
67
67
|
webSocketImpl,
|
|
68
68
|
connectionParams,
|
|
69
|
-
}
|
|
69
|
+
};
|
|
70
|
+
return buildGraphQLWSExecutor(opts);
|
|
70
71
|
}
|
|
71
72
|
buildWSLegacyExecutor(subscriptionsEndpoint, WebSocketImpl, options) {
|
|
72
73
|
const WS_URL = switchProtocols(subscriptionsEndpoint, {
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/url-loader",
|
|
3
|
-
"version": "8.0.25-alpha-
|
|
3
|
+
"version": "8.0.25-alpha-20250209213247-d0e86bcf6a095b41dae8486678c419b71900e1cb",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-tools/executor-graphql-ws": "^
|
|
10
|
+
"@graphql-tools/executor-graphql-ws": "^2.0.1",
|
|
11
11
|
"@graphql-tools/executor-http": "^1.1.9",
|
|
12
|
-
"@graphql-tools/executor-legacy-ws": "1.1.11-alpha-
|
|
13
|
-
"@graphql-tools/utils": "10.8.0-alpha-
|
|
12
|
+
"@graphql-tools/executor-legacy-ws": "1.1.11-alpha-20250209213247-d0e86bcf6a095b41dae8486678c419b71900e1cb",
|
|
13
|
+
"@graphql-tools/utils": "10.8.0-alpha-20250209213247-d0e86bcf6a095b41dae8486678c419b71900e1cb",
|
|
14
14
|
"@graphql-tools/wrap": "^10.0.16",
|
|
15
15
|
"@types/ws": "^8.0.0",
|
|
16
16
|
"@whatwg-node/fetch": "^0.10.0",
|