We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 306eec1 + 385ed4a commit f52a25cCopy full SHA for f52a25c
src/GraphQL/Client/BaseClients/Apollo.js
@@ -4,7 +4,7 @@ import { gql, split, HttpLink, createHttpLink, InMemoryCache, ApolloClient } fro
4
import { getMainDefinition } from '@apollo/client/utilities/index.js';
5
import { setContext } from '@apollo/client/link/context/index.js';
6
import { GraphQLWsLink } from "@apollo/client/link/subscriptions/index.js";
7
-import WebSocket from 'ws';
+import WebSocket from 'isomorphic-ws';
8
9
const createClientWithoutWebsockets = function (opts) {
10
0 commit comments