@apollo/client 3.5.2 → 3.6.0-beta.0

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 (116) hide show
  1. package/README.md +1 -1
  2. package/apollo-client.cjs +1 -1
  3. package/apollo-client.cjs.map +1 -1
  4. package/apollo-client.min.cjs +1 -1
  5. package/cache/core/cache.js +2 -2
  6. package/cache/inmemory/entityStore.js +4 -4
  7. package/cache/inmemory/inMemoryCache.js +3 -3
  8. package/cache/inmemory/object-canon.js +2 -2
  9. package/cache/inmemory/policies.js +1 -1
  10. package/cache/inmemory/reactiveVars.js +2 -2
  11. package/cache/inmemory/readFromStore.js +2 -2
  12. package/cache/inmemory/writeToStore.js +3 -3
  13. package/config/jest/setup.js +1 -1
  14. package/core/ApolloClient.d.ts +0 -1
  15. package/core/ApolloClient.d.ts.map +1 -1
  16. package/core/ApolloClient.js +1 -1
  17. package/core/LocalState.js +2 -2
  18. package/core/ObservableQuery.d.ts +0 -1
  19. package/core/ObservableQuery.d.ts.map +1 -1
  20. package/core/ObservableQuery.js +2 -2
  21. package/core/QueryInfo.d.ts +2 -2
  22. package/core/QueryInfo.d.ts.map +1 -1
  23. package/core/QueryInfo.js +2 -2
  24. package/core/QueryManager.d.ts +0 -1
  25. package/core/QueryManager.d.ts.map +1 -1
  26. package/core/QueryManager.js +2 -2
  27. package/core/core.cjs +1 -1
  28. package/core/core.cjs.map +1 -1
  29. package/core/index.js +2 -2
  30. package/errors/index.js +1 -1
  31. package/invariantErrorCodes.js +1 -1
  32. package/link/batch/batchLink.d.ts +0 -1
  33. package/link/batch/batchLink.d.ts.map +1 -1
  34. package/link/batch/batchLink.js +1 -1
  35. package/link/batch/batching.d.ts +0 -1
  36. package/link/batch/batching.d.ts.map +1 -1
  37. package/link/batch/batching.js +1 -1
  38. package/link/batch-http/batchHttpLink.d.ts +0 -1
  39. package/link/batch-http/batchHttpLink.d.ts.map +1 -1
  40. package/link/batch-http/batchHttpLink.js +1 -1
  41. package/link/context/index.js +1 -1
  42. package/link/core/ApolloLink.d.ts +0 -1
  43. package/link/core/ApolloLink.d.ts.map +1 -1
  44. package/link/core/ApolloLink.js +1 -1
  45. package/link/core/types.d.ts +0 -1
  46. package/link/core/types.d.ts.map +1 -1
  47. package/link/error/index.d.ts +0 -1
  48. package/link/error/index.d.ts.map +1 -1
  49. package/link/error/index.js +1 -1
  50. package/link/http/HttpLink.js +1 -1
  51. package/link/http/createHttpLink.js +2 -2
  52. package/link/http/selectHttpOptionsAndBody.js +2 -2
  53. package/link/persisted-queries/index.js +2 -2
  54. package/link/retry/retryLink.d.ts +0 -1
  55. package/link/retry/retryLink.d.ts.map +1 -1
  56. package/link/retry/retryLink.js +1 -1
  57. package/link/schema/index.d.ts +0 -1
  58. package/link/schema/index.d.ts.map +1 -1
  59. package/link/schema/index.js +2 -2
  60. package/link/utils/createOperation.js +1 -1
  61. package/link/utils/fromError.d.ts +0 -1
  62. package/link/utils/fromError.d.ts.map +1 -1
  63. package/link/utils/fromPromise.d.ts +0 -1
  64. package/link/utils/fromPromise.d.ts.map +1 -1
  65. package/link/utils/toPromise.d.ts +0 -1
  66. package/link/utils/toPromise.d.ts.map +1 -1
  67. package/link/ws/index.d.ts +0 -1
  68. package/link/ws/index.d.ts.map +1 -1
  69. package/link/ws/index.js +2 -2
  70. package/package.json +5 -5
  71. package/react/components/Mutation.js +1 -1
  72. package/react/components/Query.js +2 -2
  73. package/react/components/Subscription.js +1 -1
  74. package/react/context/ApolloConsumer.js +1 -1
  75. package/react/context/ApolloContext.js +1 -1
  76. package/react/context/ApolloProvider.js +1 -1
  77. package/react/hoc/hoc-utils.js +2 -2
  78. package/react/hoc/mutation-hoc.js +3 -3
  79. package/react/hoc/query-hoc.js +3 -3
  80. package/react/hoc/subscription-hoc.js +3 -3
  81. package/react/hoc/withApollo.js +3 -3
  82. package/react/hooks/useApolloClient.js +1 -1
  83. package/react/hooks/useLazyQuery.js +2 -2
  84. package/react/hooks/useMutation.js +3 -3
  85. package/react/hooks/useQuery.js +3 -3
  86. package/react/hooks/useReactiveVar.js +1 -1
  87. package/react/hooks/useSubscription.js +2 -2
  88. package/react/ssr/getDataFromTree.js +2 -2
  89. package/react/types/types.d.ts +0 -1
  90. package/react/types/types.d.ts.map +1 -1
  91. package/testing/core/mocking/mockFetch.js +2 -2
  92. package/testing/core/mocking/mockLink.d.ts +0 -1
  93. package/testing/core/mocking/mockLink.d.ts.map +1 -1
  94. package/testing/core/mocking/mockLink.js +3 -3
  95. package/testing/core/mocking/mockSubscriptionLink.d.ts +0 -1
  96. package/testing/core/mocking/mockSubscriptionLink.d.ts.map +1 -1
  97. package/testing/core/mocking/mockSubscriptionLink.js +1 -1
  98. package/testing/core/mocking/mockWatchQuery.js +1 -1
  99. package/testing/core/observableToPromise.js +1 -1
  100. package/testing/react/MockedProvider.js +2 -2
  101. package/utilities/common/mergeDeep.js +1 -1
  102. package/utilities/globals/fix-graphql.js +2 -2
  103. package/utilities/globals/index.js +1 -1
  104. package/utilities/graphql/directives.js +1 -1
  105. package/utilities/graphql/fragments.js +1 -1
  106. package/utilities/graphql/transform.js +2 -2
  107. package/utilities/observables/Concast.d.ts +0 -1
  108. package/utilities/observables/Concast.d.ts.map +1 -1
  109. package/utilities/observables/Concast.js +1 -1
  110. package/utilities/observables/Observable.js +2 -2
  111. package/utilities/observables/asyncMap.d.ts +0 -1
  112. package/utilities/observables/asyncMap.d.ts.map +1 -1
  113. package/utilities/observables/subclassing.d.ts +0 -1
  114. package/utilities/observables/subclassing.d.ts.map +1 -1
  115. package/utilities/policies/pagination.js +2 -2
  116. package/version.js +1 -1
package/README.md CHANGED
@@ -31,7 +31,7 @@ Learn how to use Apollo Client with self-paced hands-on training on Odyssey, Apo
31
31
  [Apollo](https://apollographql.com/) builds open-source software and a graph platform to unify GraphQL across your apps and services. We help you ship faster with:
32
32
 
33
33
  * [Apollo Studio](https://www.apollographql.com/studio/develop/) – A free, end-to-end platform for managing your GraphQL lifecycle. Track your GraphQL schemas in a hosted registry to create a source of truth for everything in your graph. Studio provides an IDE (Apollo Explorer) so you can explore data, collaborate on queries, observe usage, and safely make schema changes.
34
- * [Apollo Federation](https://www.apollographql.com/apollo-federation) – The industry-standard open architecture for building a distributed graph. Use Apollo’s open-source gateway to compose a unified graph from multiple subgraphs, determine a query plan, and route requests across your services.
34
+ * [Apollo Federation](https://www.apollographql.com/apollo-federation) – The industry-standard open architecture for building a distributed graph. Use Apollo’s gateway to compose a unified graph from multiple subgraphs, determine a query plan, and route requests across your services.
35
35
  * [Apollo Client](https://www.apollographql.com/apollo-client/) – The most popular GraphQL client for the web. Apollo also builds and maintains [Apollo iOS](https://github.com/apollographql/apollo-ios) and [Apollo Android](https://github.com/apollographql/apollo-android).
36
36
  * [Apollo Server](https://www.apollographql.com/docs/apollo-server/) – A production-ready JavaScript GraphQL server that connects to any microservice, API, or database. Compatible with all popular JavaScript frameworks and deployable in serverless environments.
37
37
 
package/apollo-client.cjs CHANGED
@@ -1291,7 +1291,7 @@ var concat = ApolloLink.concat;
1291
1291
 
1292
1292
  var execute = ApolloLink.execute;
1293
1293
 
1294
- var version = '3.5.2';
1294
+ var version = '3.6.0-beta.0';
1295
1295
 
1296
1296
  var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
1297
1297
  function parseAndCheckHttpResponse(operations) {