@apollo/client 3.4.10 → 3.4.11

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.
Files changed (37) hide show
  1. package/README.md +2 -2
  2. package/apollo-client.cjs.js +4 -4
  3. package/apollo-client.cjs.js.map +1 -1
  4. package/apollo-core.cjs.js +8 -4
  5. package/apollo-core.cjs.js.map +1 -1
  6. package/apollo-core.cjs.min.js +1 -1
  7. package/core/core.cjs.js +1 -1
  8. package/core/core.cjs.js.map +1 -1
  9. package/invariantErrorCodes.js +1 -1
  10. package/link/persisted-queries/index.d.ts +1 -1
  11. package/link/persisted-queries/index.d.ts.map +1 -1
  12. package/link/persisted-queries/index.js +1 -1
  13. package/link/persisted-queries/index.js.map +1 -1
  14. package/link/persisted-queries/persisted-queries.cjs.js +3 -0
  15. package/link/persisted-queries/persisted-queries.cjs.js.map +1 -1
  16. package/package.json +10 -10
  17. package/utilities/common/mergeDeep.js +1 -1
  18. package/utilities/common/mergeDeep.js.map +1 -1
  19. package/utilities/globals/globals.cjs.js +1 -0
  20. package/utilities/globals/globals.cjs.js.map +1 -1
  21. package/utilities/globals/index.js +1 -0
  22. package/utilities/globals/index.js.map +1 -1
  23. package/utilities/graphql/fragments.js +1 -1
  24. package/utilities/graphql/fragments.js.map +1 -1
  25. package/utilities/graphql/transform.js +1 -1
  26. package/utilities/graphql/transform.js.map +1 -1
  27. package/utilities/policies/pagination.js +2 -2
  28. package/utilities/policies/pagination.js.map +1 -1
  29. package/utilities/testing/mocking/mockFetch.js +1 -1
  30. package/utilities/testing/mocking/mockFetch.js.map +1 -1
  31. package/utilities/testing/mocking/mockWatchQuery.js +1 -1
  32. package/utilities/testing/mocking/mockWatchQuery.js.map +1 -1
  33. package/utilities/testing/observableToPromise.js +1 -1
  34. package/utilities/testing/observableToPromise.js.map +1 -1
  35. package/utilities/utilities.cjs.js +5 -5
  36. package/utilities/utilities.cjs.js.map +1 -1
  37. package/version.js +1 -1
package/README.md CHANGED
@@ -22,9 +22,9 @@ Learn how to use Apollo Client with self-paced hands-on training on Odyssey, Apo
22
22
  ## Maintainers
23
23
 
24
24
  - [@benjamn](https://github.com/benjamn) (Apollo)
25
- - [@hwillson](https://github.com/hwillson) (Apollo)
26
- - [@jcreighton](https://github.com/jcreighton) (Apollo)
27
25
  - [@brainkim](https://github.com/brainkim) (Apollo)
26
+ - [@jcreighton](https://github.com/jcreighton) (Netflix)
27
+ - [@hwillson](https://github.com/hwillson) (Apollo)
28
28
 
29
29
  ## Who is Apollo?
30
30
 
@@ -128,7 +128,7 @@ function getFragmentQueryDocument(document, fragmentName) {
128
128
  ],
129
129
  },
130
130
  }
131
- ], document.definitions) });
131
+ ], document.definitions, true) });
132
132
  return query;
133
133
  }
134
134
  function createFragmentMap(fragments) {
@@ -564,7 +564,7 @@ var addTypenameToDocument = Object.assign(function (doc) {
564
564
  field.directives.some(function (d) { return d.name.value === 'export'; })) {
565
565
  return;
566
566
  }
567
- return tslib.__assign(tslib.__assign({}, node), { selections: tslib.__spreadArray(tslib.__spreadArray([], selections), [TYPENAME_FIELD]) });
567
+ return tslib.__assign(tslib.__assign({}, node), { selections: tslib.__spreadArray(tslib.__spreadArray([], selections, true), [TYPENAME_FIELD], false) });
568
568
  },
569
569
  },
570
570
  });
@@ -743,7 +743,7 @@ var DeepMerger = (function () {
743
743
  if (hasOwnProperty$3.call(target, sourceKey)) {
744
744
  var targetValue = target[sourceKey];
745
745
  if (source[sourceKey] !== targetValue) {
746
- var result = _this.reconciler.apply(_this, tslib.__spreadArray([target, source, sourceKey], context));
746
+ var result = _this.reconciler.apply(_this, tslib.__spreadArray([target, source, sourceKey], context, false));
747
747
  if (result !== targetValue) {
748
748
  target = _this.shallowCopyForMerge(target);
749
749
  target[sourceKey] = result;
@@ -1273,7 +1273,7 @@ var concat = ApolloLink.concat;
1273
1273
 
1274
1274
  var execute = ApolloLink.execute;
1275
1275
 
1276
- var version = '3.4.10';
1276
+ var version = '3.4.11';
1277
1277
 
1278
1278
  var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
1279
1279
  function parseAndCheckHttpResponse(operations) {