@apollo/client 3.12.10 → 3.12.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @apollo/client
2
2
 
3
+ ## 3.12.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#12351](https://github.com/apollographql/apollo-client/pull/12351) [`3da908b`](https://github.com/apollographql/apollo-client/commit/3da908b1dde73847805a41c287a83700b2b88887) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fixes an issue where the wrong `networkStatus` and `loading` value was emitted from `observableQuery` when calling `fetchMore` with a `no-cache` fetch policy. The `networkStatus` now properly reports as `ready` and `loading` as `false` after the result is returned.
8
+
9
+ - [#12354](https://github.com/apollographql/apollo-client/pull/12354) [`a24ef94`](https://github.com/apollographql/apollo-client/commit/a24ef9474f8f7a864f8b866563f8f7e661d2533f) Thanks [@phryneas](https://github.com/phryneas)! - Fix missing `main.d.cts` file
10
+
3
11
  ## 3.12.10
4
12
 
5
13
  ### Patch Changes
package/apollo-client.cjs CHANGED
@@ -31,7 +31,7 @@ function _interopNamespace(e) {
31
31
  var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
32
32
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
33
33
 
34
- var version = "3.12.10";
34
+ var version = "3.12.11";
35
35
 
36
36
  function maybe(thunk) {
37
37
  try {
@@ -5433,7 +5433,7 @@ var ObservableQuery = (function (_super) {
5433
5433
  fetchMoreResult: fetchMoreResult.data,
5434
5434
  variables: combinedOptions.variables,
5435
5435
  });
5436
- _this.reportResult(tslib.__assign(tslib.__assign({}, lastResult), { data: data }), _this.variables);
5436
+ _this.reportResult(tslib.__assign(tslib.__assign({}, lastResult), { networkStatus: originalNetworkStatus, loading: isNetworkRequestInFlight(originalNetworkStatus), data: data }), _this.variables);
5437
5437
  }
5438
5438
  return _this.maskResult(fetchMoreResult);
5439
5439
  })