@apollo/client 3.3.12 → 3.3.13

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.
@@ -1234,7 +1234,7 @@ var concat = ApolloLink.concat;
1234
1234
 
1235
1235
  var execute = ApolloLink.execute;
1236
1236
 
1237
- var version = '3.3.12';
1237
+ var version = '3.3.13';
1238
1238
 
1239
1239
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
1240
1240
  function parseAndCheckHttpResponse(operations) {
@@ -4403,6 +4403,7 @@ var QueryManager = (function () {
4403
4403
  self.queries.forEach(function (_a) {
4404
4404
  var observableQuery = _a.observableQuery;
4405
4405
  if (observableQuery &&
4406
+ observableQuery.hasObservers() &&
4406
4407
  observableQuery.queryName === refetchQuery) {
4407
4408
  refetchQueryPromises.push(observableQuery.refetch());
4408
4409
  }
@@ -5370,7 +5371,8 @@ var SubscriptionData = (function (_super) {
5370
5371
  this.currentObservable.query = this.refreshClient().client.subscribe({
5371
5372
  query: options.subscription,
5372
5373
  variables: options.variables,
5373
- fetchPolicy: options.fetchPolicy
5374
+ fetchPolicy: options.fetchPolicy,
5375
+ context: options.context,
5374
5376
  });
5375
5377
  };
5376
5378
  SubscriptionData.prototype.startSubscription = function () {