Socket
Socket
Sign inDemoInstall

graphql-http-ws-client

Package Overview
Dependencies
33
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

18

createGraphQLClient.js

@@ -63,19 +63,3 @@ import { ApolloClient } from "apollo-client";

const defaultApolloOptions = (typeof options.defaultApolloOptions === 'object' && options.defaultApolloOptions !== null) ? options.apolloOptions : {
watchQuery: {
fetchPolicy: 'no-cache',
errorPolicy: 'ignore',
},
query: {
fetchPolicy: 'no-cache',
errorPolicy: 'all',
},
mutate: {
fetchPolicy: 'no-cache',
errorPolicy: 'all'
},
subscribe: {
fetchPolicy: 'no-cache'
}
};
const defaultApolloOptions = (typeof options.defaultApolloOptions === 'object' && options.defaultApolloOptions !== null) ? options.defaultApolloOptions : {};

@@ -82,0 +66,0 @@ const cache = (typeof options.cache === 'object' && options.cache !== null) ? options.cache : new InMemoryCache();

10

package.json
{
"name": "graphql-http-ws-client",
"version": "0.0.3",
"version": "0.0.4",
"private": false,
"author": {
"name": "John Murphy-Teixidor",
"email": "johnvmt@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/johnvmt/graphql-http-ws-client"
},
"dependencies": {

@@ -6,0 +14,0 @@ "apollo-cache-inmemory": "^1.6.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc