Commit 7a9223b5 authored by isstuev's avatar isstuev

ws

parent ba833859
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
"framer-motion": "^6.5.1", "framer-motion": "^6.5.1",
"graphiql": "^2.2.0", "graphiql": "^2.2.0",
"graphql": "^16.6.0", "graphql": "^16.6.0",
"graphql-ws": "^5.11.3",
"js-cookie": "^3.0.1", "js-cookie": "^3.0.1",
"lodash": "^4.0.0", "lodash": "^4.0.0",
"next": "12.2.5", "next": "12.2.5",
......
...@@ -24,6 +24,7 @@ const GraphQL = () => { ...@@ -24,6 +24,7 @@ const GraphQL = () => {
}`; }`;
const fetcher = createGraphiQLFetcher({ const fetcher = createGraphiQLFetcher({
url: 'https://base-goerli.blockscout.com/graphiql', url: 'https://base-goerli.blockscout.com/graphiql',
subscriptionUrl: 'wss://blockscout-main.test.aws-k8s.blockscout.com/socket/v2/websocket?vsn=2.0.0',
}); });
return ( return (
......
...@@ -8271,6 +8271,11 @@ graphql-language-service@5.1.1, graphql-language-service@^5.1.0: ...@@ -8271,6 +8271,11 @@ graphql-language-service@5.1.1, graphql-language-service@^5.1.0:
nullthrows "^1.0.0" nullthrows "^1.0.0"
vscode-languageserver-types "^3.17.1" vscode-languageserver-types "^3.17.1"
graphql-ws@^5.11.3:
version "5.11.3"
resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.11.3.tgz#eaf8e6baf669d167975cff13ad86abca4ecfe82f"
integrity sha512-fU8zwSgAX2noXAsuFiCZ8BtXeXZOzXyK5u1LloCdacsVth4skdBMPO74EG51lBoWSIZ8beUocdpV8+cQHBODnQ==
graphql@^16.6.0: graphql@^16.6.0:
version "16.6.0" version "16.6.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.6.0.tgz#c2dcffa4649db149f6282af726c8c83f1c7c5fdb" resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.6.0.tgz#c2dcffa4649db149f6282af726c8c83f1c7c5fdb"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment