graphql-http-ws-client
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -8,3 +8,3 @@ import { ApolloClient } from "apollo-client"; | ||
import { getMainDefinition } from "apollo-utilities"; | ||
import { InMemoryCache } from 'apollo-cache-inmemory'; | ||
import { InMemoryCache } from "apollo-cache-inmemory"; | ||
@@ -18,3 +18,4 @@ export default (graphQLURL, passedOptions = {}) => { | ||
createHTTPLink: true, | ||
createWebsocketLink: true | ||
createWebsocketLink: true, | ||
resolvers: {} | ||
}, passedOptions); | ||
@@ -72,3 +73,4 @@ | ||
link: link, | ||
defaultOptions: defaultApolloOptions | ||
defaultOptions: defaultApolloOptions, | ||
resolvers: options.resolvers | ||
}); | ||
@@ -75,0 +77,0 @@ |
{ | ||
"name": "graphql-http-ws-client", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "author": { |
5318
72