graphql-http-ws-client
Advanced tools
Comparing version 0.2.2 to 0.4.0
@@ -1,3 +0,3 @@ | ||
import { ApolloClient } from "@apollo/client/core"; | ||
import { InMemoryCache } from "@apollo/client/cache"; | ||
import ApolloClientWithGQL from "./ApolloClientWithGQL"; | ||
import createGraphQLLinks from "./createGraphQLLinks"; | ||
@@ -17,3 +17,3 @@ | ||
const client = new ApolloClient({ | ||
const client = new ApolloClientWithGQL({ | ||
cache: cache, | ||
@@ -31,3 +31,1 @@ link: links.link, | ||
}; | ||
{ | ||
"name": "graphql-http-ws-client", | ||
"version": "0.2.2", | ||
"version": "0.4.0", | ||
"private": false, | ||
@@ -23,2 +23,3 @@ "author": { | ||
"peerDependencies": { | ||
"graphql-tag": "^2.11.0", | ||
"graphql": "^14.0.0 || ^15.0.0", | ||
@@ -25,0 +26,0 @@ "subscriptions-transport-ws": "^0.9.0" |
@@ -91,2 +91,6 @@ ## GraphQL client over HTTP/WS | ||
### v0.3 | ||
- Queries and mutations can now be passed as strings instead of being wrapped in the `gql` tag | ||
#### v0.2 | ||
@@ -93,0 +97,0 @@ - Module now requires graphql and subscriptions-transport-ws as peer dependencies |
8723
6
143
101
4