@apollo/client 3.3.19 → 3.3.20
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/README.md +3 -0
- package/apollo-client.cjs.js +4 -2
- package/apollo-client.cjs.js.map +1 -1
- package/apollo-client.cjs.min.js +1 -1
- package/cache/cache.cjs.js +3 -1
- package/cache/cache.cjs.js.map +1 -1
- package/cache/inmemory/policies.d.ts.map +1 -1
- package/cache/inmemory/policies.js +4 -2
- package/cache/inmemory/policies.js.map +1 -1
- package/core/core.cjs.js +1 -1
- package/core/core.cjs.js.map +1 -1
- package/invariantErrorCodes.js +1 -1
- package/package.json +18 -18
- package/version.js +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,9 @@ All Apollo Client documentation, including React integration articles and helpfu
|
|
|
16
16
|
The Apollo Client API reference can be found at: <br/>
|
|
17
17
|
[https://www.apollographql.com/docs/react/api/apollo-client/](https://www.apollographql.com/docs/react/api/apollo-client/)
|
|
18
18
|
|
|
19
|
+
Learn how to use Apollo Client with self-paced hands-on training on Odyssey, Apollo's official learning platform: <br/>
|
|
20
|
+
[https://odyssey.apollographql.com/](https://odyssey.apollographql.com/)
|
|
21
|
+
|
|
19
22
|
## Maintainers
|
|
20
23
|
|
|
21
24
|
- [@benjamn](https://github.com/benjamn) (Apollo)
|
package/apollo-client.cjs.js
CHANGED
|
@@ -1235,7 +1235,7 @@ var concat = ApolloLink.concat;
|
|
|
1235
1235
|
|
|
1236
1236
|
var execute = ApolloLink.execute;
|
|
1237
1237
|
|
|
1238
|
-
var version = '3.3.
|
|
1238
|
+
var version = '3.3.20';
|
|
1239
1239
|
|
|
1240
1240
|
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
1241
1241
|
function parseAndCheckHttpResponse(operations) {
|
|
@@ -3221,7 +3221,9 @@ var Policies = (function () {
|
|
|
3221
3221
|
}
|
|
3222
3222
|
var inbox = this.toBeAdded[typename];
|
|
3223
3223
|
if (inbox && inbox.length) {
|
|
3224
|
-
|
|
3224
|
+
inbox.splice(0).forEach(function (policy) {
|
|
3225
|
+
_this.updateTypePolicy(typename, policy);
|
|
3226
|
+
});
|
|
3225
3227
|
}
|
|
3226
3228
|
return this.typePolicies[typename];
|
|
3227
3229
|
};
|