@apollo/client 3.3.18 → 3.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![npm version](https://badge.fury.io/js/%40apollo%2Fclient.svg)](https://badge.fury.io/js/%40apollo%2Fclient)
6
6
  [![Build Status](https://circleci.com/gh/apollographql/apollo-client.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-client)
7
- [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)
7
+ [![Join the community](https://img.shields.io/discourse/status?label=Join%20the%20community&server=https%3A%2F%2Fcommunity.apollographql.com)](https://community.apollographql.com)
8
8
 
9
9
  Apollo Client is a fully-featured caching GraphQL client with integrations for React, Angular, and more. It allows you to easily build UI components that fetch data via GraphQL.
10
10
 
@@ -13,7 +13,8 @@ require('symbol-observable');
13
13
  var equality = require('@wry/equality');
14
14
  var optimism = require('optimism');
15
15
  var context = require('@wry/context');
16
- var gql = _interopDefault(require('graphql-tag'));
16
+ var graphqlTag = require('graphql-tag');
17
+ var graphqlTag__default = _interopDefault(graphqlTag);
17
18
  var React = require('react');
18
19
  var React__default = _interopDefault(React);
19
20
 
@@ -1234,7 +1235,7 @@ var concat = ApolloLink.concat;
1234
1235
 
1235
1236
  var execute = ApolloLink.execute;
1236
1237
 
1237
- var version = '3.3.18';
1238
+ var version = '3.3.19';
1238
1239
 
1239
1240
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
1240
1241
  function parseAndCheckHttpResponse(operations) {
@@ -5149,9 +5150,6 @@ var ApolloClient = (function () {
5149
5150
  return ApolloClient;
5150
5151
  }());
5151
5152
 
5152
- tsInvariant.setVerbosity("log");
5153
- var resetCaches = gql.resetCaches, disableFragmentWarnings = gql.disableFragmentWarnings, enableExperimentalFragmentVariables = gql.enableExperimentalFragmentVariables, disableExperimentalFragmentVariables = gql.disableExperimentalFragmentVariables;
5154
-
5155
5153
  var cache = new (canUseWeakMap ? WeakMap : Map)();
5156
5154
  function getApolloContext() {
5157
5155
  var context = cache.get(React__default.createContext);
@@ -5958,7 +5956,11 @@ function useReactiveVar(rv) {
5958
5956
 
5959
5957
  exports.setLogVerbosity = tsInvariant.setVerbosity;
5960
5958
  exports.Observable = Observable;
5961
- exports.gql = gql;
5959
+ exports.disableExperimentalFragmentVariables = graphqlTag.disableExperimentalFragmentVariables;
5960
+ exports.disableFragmentWarnings = graphqlTag.disableFragmentWarnings;
5961
+ exports.enableExperimentalFragmentVariables = graphqlTag.enableExperimentalFragmentVariables;
5962
+ exports.gql = graphqlTag__default;
5963
+ exports.resetCaches = graphqlTag.resetCaches;
5962
5964
  exports.ApolloCache = ApolloCache;
5963
5965
  exports.ApolloClient = ApolloClient;
5964
5966
  exports.ApolloConsumer = ApolloConsumer;
@@ -5974,10 +5976,7 @@ exports.concat = concat;
5974
5976
  exports.createHttpLink = createHttpLink;
5975
5977
  exports.createSignalIfSupported = createSignalIfSupported;
5976
5978
  exports.defaultDataIdFromObject = defaultDataIdFromObject;
5977
- exports.disableExperimentalFragmentVariables = disableExperimentalFragmentVariables;
5978
- exports.disableFragmentWarnings = disableFragmentWarnings;
5979
5979
  exports.empty = empty;
5980
- exports.enableExperimentalFragmentVariables = enableExperimentalFragmentVariables;
5981
5980
  exports.execute = execute;
5982
5981
  exports.fallbackHttpConfig = fallbackHttpConfig;
5983
5982
  exports.from = from;
@@ -5993,7 +5992,6 @@ exports.operationName = operationName;
5993
5992
  exports.parseAndCheckHttpResponse = parseAndCheckHttpResponse;
5994
5993
  exports.parser = parser;
5995
5994
  exports.resetApolloContext = getApolloContext;
5996
- exports.resetCaches = resetCaches;
5997
5995
  exports.rewriteURIForGET = rewriteURIForGET;
5998
5996
  exports.selectHttpOptionsAndBody = selectHttpOptionsAndBody;
5999
5997
  exports.selectURI = selectURI;