@apollo/client 3.13.0 → 3.13.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @apollo/client
2
2
 
3
+ ## 3.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#12369](https://github.com/apollographql/apollo-client/pull/12369) [`bdfc5b2`](https://github.com/apollographql/apollo-client/commit/bdfc5b2e386ed5f835716a542de0cf17da37f7fc) Thanks [@phryneas](https://github.com/phryneas)! - `ObervableQuery.refetch`: don't refetch with `cache-and-network`, swich to `network-only` instead
8
+
9
+ - [#12375](https://github.com/apollographql/apollo-client/pull/12375) [`d3f8f13`](https://github.com/apollographql/apollo-client/commit/d3f8f130718ef50531ca0079192c2672a513814a) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Export the `UseSuspenseFragmentOptions` type.
10
+
3
11
  ## 3.13.0
4
12
 
5
13
  ### Minor Changes
package/apollo-client.cjs CHANGED
@@ -32,7 +32,7 @@ var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
32
32
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
33
33
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
34
34
 
35
- var version = "3.13.0";
35
+ var version = "3.13.1";
36
36
 
37
37
  function maybe(thunk) {
38
38
  try {
@@ -5343,10 +5343,7 @@ var ObservableQuery = (function (_super) {
5343
5343
  pollInterval: 0,
5344
5344
  };
5345
5345
  var fetchPolicy = this.options.fetchPolicy;
5346
- if (fetchPolicy === "cache-and-network") {
5347
- reobserveOptions.fetchPolicy = fetchPolicy;
5348
- }
5349
- else if (fetchPolicy === "no-cache") {
5346
+ if (fetchPolicy === "no-cache") {
5350
5347
  reobserveOptions.fetchPolicy = "no-cache";
5351
5348
  }
5352
5349
  else {