Skip to content

Commit 1da50b8

Browse files
instanacdInstanacd PAT for GitHub Publicaryamohanan
authored
feat: added support for graphql-ws v6 (#1516)
ref INSTA-24394 --------- Co-authored-by: Instanacd PAT for GitHub Public <[email protected]> Co-authored-by: Arya <[email protected]>
1 parent 5079a0c commit 1da50b8

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

package-lock.json

+20-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
"graphql-subscriptions": "^3.0.0",
165165
"graphql-subscriptions-v2": "npm:graphql-subscriptions@^2.0.0",
166166
"graphql-tag": "^2.12.6",
167-
"graphql-ws": "^5.16.2",
167+
"graphql-ws": "^6.0.0",
168168
"husky": "^7.0.4",
169169
"ioredis": "^5.4.2",
170170
"js-yaml": "^4.1.0",

packages/collector/test/tracing/protocols/graphql/apolloServer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ startServer();
7070

7171
const httpServer = http.createServer(app);
7272

73-
const { useServer } = require('graphql-ws/lib/use/ws');
73+
const { useServer } = require('graphql-ws/use/ws');
7474
const ws = require('ws');
7575

7676
httpServer.listen({ port }, () => {

0 commit comments

Comments
 (0)