@apollo/client 3.7.6 → 3.7.8

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 (56) hide show
  1. package/README.md +1 -0
  2. package/apollo-client.cjs +9 -7
  3. package/apollo-client.cjs.map +1 -1
  4. package/apollo-client.min.cjs +1 -1
  5. package/core/LocalState.d.ts.map +1 -1
  6. package/core/LocalState.js +3 -0
  7. package/core/LocalState.js.map +1 -1
  8. package/core/core.cjs +4 -1
  9. package/core/core.cjs.map +1 -1
  10. package/core/core.cjs.native.js +4 -1
  11. package/invariantErrorCodes.js +1 -1
  12. package/link/core/types.d.ts +5 -6
  13. package/link/core/types.d.ts.map +1 -1
  14. package/link/core/types.js.map +1 -1
  15. package/package.json +12 -12
  16. package/react/hooks/hooks.cjs +3 -4
  17. package/react/hooks/hooks.cjs.map +1 -1
  18. package/react/hooks/hooks.cjs.native.js +3 -4
  19. package/react/hooks/useLazyQuery.d.ts.map +1 -1
  20. package/react/hooks/useLazyQuery.js +3 -4
  21. package/react/hooks/useLazyQuery.js.map +1 -1
  22. package/testing/core/core.cjs +12 -2
  23. package/testing/core/core.cjs.map +1 -1
  24. package/testing/core/core.cjs.native.js +12 -2
  25. package/testing/core/index.d.ts +1 -1
  26. package/testing/core/index.d.ts.map +1 -1
  27. package/testing/core/index.js.map +1 -1
  28. package/testing/core/mocking/mockLink.d.ts +7 -3
  29. package/testing/core/mocking/mockLink.d.ts.map +1 -1
  30. package/testing/core/mocking/mockLink.js +12 -2
  31. package/testing/core/mocking/mockLink.js.map +1 -1
  32. package/testing/core/mocking/mockQueryManager.d.ts +1 -1
  33. package/testing/core/mocking/mockQueryManager.d.ts.map +1 -1
  34. package/testing/core/mocking/mockQueryManager.js +3 -3
  35. package/testing/core/mocking/mockQueryManager.js.map +1 -1
  36. package/testing/core/mocking/mockWatchQuery.d.ts +1 -1
  37. package/testing/core/mocking/mockWatchQuery.d.ts.map +1 -1
  38. package/testing/core/mocking/mockWatchQuery.js +4 -5
  39. package/testing/core/mocking/mockWatchQuery.js.map +1 -1
  40. package/testing/react/MockedProvider.d.ts +1 -0
  41. package/testing/react/MockedProvider.d.ts.map +1 -1
  42. package/testing/react/MockedProvider.js +2 -2
  43. package/testing/react/MockedProvider.js.map +1 -1
  44. package/testing/testing.cjs +2 -2
  45. package/testing/testing.cjs.map +1 -1
  46. package/testing/testing.cjs.native.js +2 -2
  47. package/utilities/common/mergeOptions.d.ts +1 -1
  48. package/utilities/common/mergeOptions.d.ts.map +1 -1
  49. package/utilities/common/mergeOptions.js.map +1 -1
  50. package/utilities/observables/Concast.d.ts.map +1 -1
  51. package/utilities/observables/Concast.js +2 -2
  52. package/utilities/observables/Concast.js.map +1 -1
  53. package/utilities/utilities.cjs +2 -2
  54. package/utilities/utilities.cjs.map +1 -1
  55. package/utilities/utilities.cjs.native.js +2 -2
  56. package/version.js +1 -1
@@ -1085,9 +1085,9 @@ var Concast = (function (_super) {
1085
1085
  }
1086
1086
  },
1087
1087
  complete: function () {
1088
- var sub = _this.sub;
1088
+ var _a = _this, sub = _a.sub, _b = _a.sources, sources = _b === void 0 ? [] : _b;
1089
1089
  if (sub !== null) {
1090
- var value = _this.sources.shift();
1090
+ var value = sources.shift();
1091
1091
  if (!value) {
1092
1092
  if (sub)
1093
1093
  setTimeout(function () { return sub.unsubscribe(); });
package/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export var version = '3.7.6';
1
+ export var version = '3.7.8';
2
2
  //# sourceMappingURL=version.js.map