@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 +8 -0
- package/apollo-client.cjs +2 -5
- package/apollo-client.cjs.map +1 -1
- package/apollo-client.min.cjs +1 -1
- package/core/ObservableQuery.js +1 -4
- package/core/ObservableQuery.js.map +1 -1
- package/core/core.cjs +2 -5
- package/core/core.cjs.map +1 -1
- package/core/core.cjs.native.js +2 -5
- package/dev/dev.cjs +1 -1
- package/dev/dev.cjs.map +1 -1
- package/dev/dev.cjs.native.js +1 -1
- package/package.json +1 -1
- package/react/hooks/index.d.ts +1 -1
- package/react/hooks/index.js.map +1 -1
- package/react/internal/internal.cjs +1 -1
- package/react/internal/internal.cjs.map +1 -1
- package/react/internal/internal.cjs.native.js +1 -1
- package/utilities/globals/globals.cjs +1 -1
- package/utilities/globals/globals.cjs.map +1 -1
- package/utilities/globals/globals.cjs.native.js +1 -1
- package/version.js +1 -1
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.
|
|
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
|
|
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 {
|