@apollo/client 3.12.0-alpha.0 → 3.12.0-rc.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 (137) hide show
  1. package/.changeset/cold-apes-bow.md +5 -0
  2. package/.changeset/early-bobcats-eat.md +5 -0
  3. package/.changeset/flat-beans-knock.md +15 -0
  4. package/.changeset/kind-toys-tie.md +5 -0
  5. package/.changeset/nervous-owls-hear.md +5 -0
  6. package/.changeset/pre.json +7 -2
  7. package/CHANGELOG.md +34 -0
  8. package/apollo-client.cjs +133 -77
  9. package/apollo-client.cjs.map +1 -1
  10. package/apollo-client.min.cjs +1 -1
  11. package/cache/cache.cjs +30 -20
  12. package/cache/cache.cjs.map +1 -1
  13. package/cache/cache.cjs.native.js +30 -20
  14. package/cache/inmemory/policies.js +12 -9
  15. package/cache/inmemory/policies.js.map +1 -1
  16. package/config/jest/setup.js +5 -0
  17. package/config/jest/setup.js.map +1 -1
  18. package/core/ApolloClient.js +7 -3
  19. package/core/ApolloClient.js.map +1 -1
  20. package/core/ObservableQuery.js +2 -0
  21. package/core/ObservableQuery.js.map +1 -1
  22. package/core/QueryManager.d.ts +4 -1
  23. package/core/QueryManager.js +26 -2
  24. package/core/QueryManager.js.map +1 -1
  25. package/core/core.cjs +57 -20
  26. package/core/core.cjs.map +1 -1
  27. package/core/core.cjs.native.js +57 -20
  28. package/core/masking.d.ts +6 -0
  29. package/core/masking.js +33 -15
  30. package/core/masking.js.map +1 -1
  31. package/dev/dev.cjs +66 -62
  32. package/dev/dev.cjs.map +1 -1
  33. package/dev/dev.cjs.native.js +66 -62
  34. package/invariantErrorCodes.js +66 -61
  35. package/link/core/ApolloLink.js +2 -2
  36. package/link/core/core.cjs +2 -2
  37. package/link/core/core.cjs.map +1 -1
  38. package/link/core/core.cjs.native.js +2 -2
  39. package/link/http/checkFetcher.js +1 -1
  40. package/link/http/createHttpLink.js +1 -1
  41. package/link/http/http.cjs +3 -3
  42. package/link/http/http.cjs.map +1 -1
  43. package/link/http/http.cjs.native.js +3 -3
  44. package/link/http/serializeFetchParameter.js +1 -1
  45. package/link/persisted-queries/index.js +2 -2
  46. package/link/persisted-queries/index.js.map +1 -1
  47. package/link/persisted-queries/persisted-queries.cjs +2 -2
  48. package/link/persisted-queries/persisted-queries.cjs.map +1 -1
  49. package/link/persisted-queries/persisted-queries.cjs.native.js +2 -2
  50. package/link/utils/toPromise.js +1 -1
  51. package/link/utils/utils.cjs +2 -2
  52. package/link/utils/utils.cjs.map +1 -1
  53. package/link/utils/utils.cjs.native.js +2 -2
  54. package/link/utils/validateOperation.js +1 -1
  55. package/masking/types.d.ts +2 -2
  56. package/masking/types.js.map +1 -1
  57. package/package.json +4 -3
  58. package/react/context/ApolloConsumer.js +1 -1
  59. package/react/context/ApolloContext.js +1 -1
  60. package/react/context/ApolloProvider.js +1 -1
  61. package/react/context/context.cjs +3 -3
  62. package/react/context/context.cjs.map +1 -1
  63. package/react/context/context.cjs.native.js +3 -3
  64. package/react/hoc/hoc-utils.js +1 -1
  65. package/react/hoc/hoc.cjs +2 -2
  66. package/react/hoc/hoc.cjs.map +1 -1
  67. package/react/hoc/hoc.cjs.native.js +2 -2
  68. package/react/hoc/withApollo.js +1 -1
  69. package/react/hooks/hooks.cjs +9 -9
  70. package/react/hooks/hooks.cjs.map +1 -1
  71. package/react/hooks/hooks.cjs.native.js +9 -9
  72. package/react/hooks/useApolloClient.js +1 -1
  73. package/react/hooks/useLoadableQuery.js +2 -2
  74. package/react/hooks/useSubscription.js +3 -3
  75. package/react/hooks/useSuspenseQuery.js +2 -2
  76. package/react/hooks/useSyncExternalStore.js +1 -1
  77. package/react/internal/cache/QueryReference.js +2 -2
  78. package/react/internal/cache/QueryReference.js.map +1 -1
  79. package/react/internal/internal.cjs +3 -3
  80. package/react/internal/internal.cjs.map +1 -1
  81. package/react/internal/internal.cjs.native.js +3 -3
  82. package/react/parser/index.js +5 -5
  83. package/react/parser/parser.cjs +5 -5
  84. package/react/parser/parser.cjs.map +1 -1
  85. package/react/parser/parser.cjs.native.js +5 -5
  86. package/testing/core/core.cjs +2 -2
  87. package/testing/core/core.cjs.map +1 -1
  88. package/testing/core/core.cjs.native.js +2 -2
  89. package/testing/core/mocking/mockLink.js +2 -2
  90. package/testing/internal/ObservableStream.d.ts +11 -15
  91. package/testing/internal/ObservableStream.js +18 -62
  92. package/testing/internal/ObservableStream.js.map +1 -1
  93. package/testing/internal/index.d.ts +1 -2
  94. package/testing/internal/index.js +1 -2
  95. package/testing/internal/index.js.map +1 -1
  96. package/testing/internal/renderHelpers.d.ts +13 -2
  97. package/testing/internal/renderHelpers.js +20 -12
  98. package/testing/internal/renderHelpers.js.map +1 -1
  99. package/testing/matchers/index.js +0 -3
  100. package/testing/matchers/index.js.map +1 -1
  101. package/utilities/globals/globals.cjs +1 -1
  102. package/utilities/globals/globals.cjs.map +1 -1
  103. package/utilities/globals/globals.cjs.native.js +1 -1
  104. package/utilities/graphql/DocumentTransform.js +1 -1
  105. package/utilities/graphql/directives.js +7 -7
  106. package/utilities/graphql/fragments.d.ts +1 -0
  107. package/utilities/graphql/fragments.js +18 -3
  108. package/utilities/graphql/fragments.js.map +1 -1
  109. package/utilities/graphql/getFromAST.js +8 -8
  110. package/utilities/graphql/storeUtils.js +1 -1
  111. package/utilities/graphql/transform.js +8 -2
  112. package/utilities/graphql/transform.js.map +1 -1
  113. package/utilities/index.d.ts +1 -1
  114. package/utilities/index.js +1 -1
  115. package/utilities/index.js.map +1 -1
  116. package/utilities/utilities.cjs +41 -22
  117. package/utilities/utilities.cjs.map +1 -1
  118. package/utilities/utilities.cjs.native.js +41 -22
  119. package/version.js +1 -1
  120. package/testing/internal/profile/Render.d.ts +0 -69
  121. package/testing/internal/profile/Render.js +0 -144
  122. package/testing/internal/profile/Render.js.map +0 -1
  123. package/testing/internal/profile/context.d.ts +0 -10
  124. package/testing/internal/profile/context.js +0 -14
  125. package/testing/internal/profile/context.js.map +0 -1
  126. package/testing/internal/profile/index.d.ts +0 -4
  127. package/testing/internal/profile/index.js +0 -2
  128. package/testing/internal/profile/index.js.map +0 -1
  129. package/testing/internal/profile/profile.d.ts +0 -109
  130. package/testing/internal/profile/profile.js +0 -304
  131. package/testing/internal/profile/profile.js.map +0 -1
  132. package/testing/internal/profile/traces.d.ts +0 -7
  133. package/testing/internal/profile/traces.js +0 -30
  134. package/testing/internal/profile/traces.js.map +0 -1
  135. package/testing/matchers/ProfiledComponent.d.ts +0 -8
  136. package/testing/matchers/ProfiledComponent.js +0 -110
  137. package/testing/matchers/ProfiledComponent.js.map +0 -1
@@ -116,61 +116,61 @@ const errorCodes =
116
116
  file: "@apollo/client/core/QueryManager.js",
117
117
  message: "Store reset while query was in flight (not completed in link chain)"
118
118
  },
119
- 37: {
119
+ 38: {
120
120
  file: "@apollo/client/core/masking.js",
121
121
  condition: "definition",
122
122
  message: "Expected a parsed GraphQL document with a query, mutation, or subscription."
123
123
  },
124
- 38: {
124
+ 39: {
125
125
  file: "@apollo/client/core/masking.js",
126
126
  condition: "fragments.length === 1",
127
127
  message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
128
128
  },
129
- 39: {
129
+ 40: {
130
130
  file: "@apollo/client/core/masking.js",
131
131
  condition: "!!fragment",
132
132
  message: "Could not find fragment with name \"%s\"."
133
133
  },
134
- 40: {
134
+ 41: {
135
135
  file: "@apollo/client/core/masking.js",
136
136
  condition: "fragment",
137
137
  message: "Could not find fragment with name '%s'."
138
138
  },
139
- 44: {
139
+ 45: {
140
140
  file: "@apollo/client/link/core/ApolloLink.js",
141
141
  message: "request is not implemented"
142
142
  },
143
- 45: {
143
+ 46: {
144
144
  file: "@apollo/client/link/http/checkFetcher.js",
145
145
  message: "\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "
146
146
  },
147
- 47: {
147
+ 48: {
148
148
  file: "@apollo/client/link/http/serializeFetchParameter.js",
149
149
  message: "Network request failed. %s is not serializable: %s"
150
150
  },
151
- 48: {
151
+ 49: {
152
152
  file: "@apollo/client/link/persisted-queries/index.js",
153
153
  condition: "options &&\n (typeof options.sha256 === \"function\" ||\n typeof options.generateHash === \"function\")",
154
154
  message: 'Missing/invalid "sha256" or "generateHash" function. Please ' +
155
155
  'configure one using the "createPersistedQueryLink(options)" options ' +
156
156
  "parameter."
157
157
  },
158
- 49: {
158
+ 50: {
159
159
  file: "@apollo/client/link/persisted-queries/index.js",
160
160
  condition: "forward",
161
161
  message: "PersistedQueryLink cannot be the last link in the chain."
162
162
  },
163
- 51: {
163
+ 52: {
164
164
  file: "@apollo/client/link/utils/validateOperation.js",
165
165
  message: "illegal argument: %s"
166
166
  },
167
- 52: {
167
+ 53: {
168
168
  file: "@apollo/client/react/context/ApolloConsumer.js",
169
169
  condition: "context && context.client",
170
170
  message: 'Could not find "client" in the context of ApolloConsumer. ' +
171
171
  "Wrap the root component in an <ApolloProvider>."
172
172
  },
173
- 53: {
173
+ 54: {
174
174
  file: "@apollo/client/react/context/ApolloContext.js",
175
175
  condition: "\"createContext\" in React",
176
176
  message: "Invoking `getApolloContext` in an environment where `React.createContext` is not available.\n" +
@@ -178,70 +178,70 @@ const errorCodes =
178
178
  'Please make sure to add "use client" at the top of your file.\n' +
179
179
  "For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
180
180
  },
181
- 54: {
181
+ 55: {
182
182
  file: "@apollo/client/react/context/ApolloProvider.js",
183
183
  condition: "context.client",
184
184
  message: "ApolloProvider was not passed a client instance. Make " +
185
185
  'sure you pass in your client via the "client" prop.'
186
186
  },
187
- 55: {
187
+ 56: {
188
188
  file: "@apollo/client/react/hoc/hoc-utils.js",
189
189
  condition: "this.withRef",
190
190
  message: "To access the wrapped instance, you need to specify " +
191
191
  "{ withRef: true } in the options"
192
192
  },
193
- 56: {
193
+ 57: {
194
194
  file: "@apollo/client/react/hoc/withApollo.js",
195
195
  condition: "operationOptions.withRef",
196
196
  message: "To access the wrapped instance, you need to specify " +
197
197
  "{ withRef: true } in the options"
198
198
  },
199
- 57: {
199
+ 58: {
200
200
  file: "@apollo/client/react/hooks/useApolloClient.js",
201
201
  condition: "!!client",
202
202
  message: 'Could not find "client" in the context or passed in as an option. ' +
203
203
  "Wrap the root component in an <ApolloProvider>, or pass an ApolloClient " +
204
204
  "instance in via options."
205
205
  },
206
- 58: {
206
+ 59: {
207
207
  file: "@apollo/client/react/hooks/useLoadableQuery.js",
208
208
  condition: "!calledDuringRender()",
209
209
  message: "useLoadableQuery: 'loadQuery' should not be called during render. To start a query during render, use the 'useBackgroundQuery' hook."
210
210
  },
211
- 59: {
211
+ 60: {
212
212
  file: "@apollo/client/react/hooks/useLoadableQuery.js",
213
213
  condition: "internalQueryRef",
214
214
  message: "The query has not been loaded. Please load the query."
215
215
  },
216
- 64: {
216
+ 65: {
217
217
  file: "@apollo/client/react/hooks/useSubscription.js",
218
218
  condition: "!optionsRef.current.skip",
219
219
  message: "A subscription that is skipped cannot be restarted."
220
220
  },
221
- 65: {
221
+ 66: {
222
222
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
223
223
  condition: "supportedFetchPolicies.includes(fetchPolicy)",
224
224
  message: "The fetch policy `%s` is not supported with suspense."
225
225
  },
226
- 68: {
226
+ 69: {
227
227
  file: "@apollo/client/react/internal/cache/QueryReference.js",
228
228
  condition: "!queryRef || QUERY_REFERENCE_SYMBOL in queryRef",
229
229
  message: "Expected a QueryRef object, but got something else instead."
230
230
  },
231
- 69: {
231
+ 70: {
232
232
  file: "@apollo/client/react/parser/index.js",
233
233
  condition: "!!document && !!document.kind",
234
234
  message: "Argument of %s passed to parser was not a valid GraphQL " +
235
235
  "DocumentNode. You may need to use 'graphql-tag' or another method " +
236
236
  "to convert your operation into a document"
237
237
  },
238
- 70: {
238
+ 71: {
239
239
  file: "@apollo/client/react/parser/index.js",
240
240
  condition: "!fragments.length ||\n queries.length ||\n mutations.length ||\n subscriptions.length",
241
241
  message: "Passing only a fragment to 'graphql' is not yet supported. " +
242
242
  "You must include a query, subscription or mutation as well"
243
243
  },
244
- 71: {
244
+ 72: {
245
245
  file: "@apollo/client/react/parser/index.js",
246
246
  condition: "queries.length + mutations.length + subscriptions.length <= 1",
247
247
  message: "react-apollo only supports a query, subscription, or a mutation per HOC. " +
@@ -249,107 +249,107 @@ const errorCodes =
249
249
  "subscriptions and %s mutations. " +
250
250
  "You can use 'compose' to join multiple operation types to a component"
251
251
  },
252
- 72: {
252
+ 73: {
253
253
  file: "@apollo/client/react/parser/index.js",
254
254
  condition: "definitions.length === 1",
255
255
  message: "react-apollo only supports one definition per HOC. %s had " +
256
256
  "%s definitions. " +
257
257
  "You can use 'compose' to join multiple operation types to a component"
258
258
  },
259
- 73: {
259
+ 74: {
260
260
  file: "@apollo/client/react/parser/index.js",
261
261
  condition: "operation.type === type",
262
262
  message: "Running a %s requires a graphql " + "%s, but a %s was used instead."
263
263
  },
264
- 74: {
264
+ 75: {
265
265
  file: "@apollo/client/testing/core/mocking/mockLink.js",
266
266
  condition: "queryWithoutClientOnlyDirectives",
267
267
  message: "query is required"
268
268
  },
269
- 75: {
269
+ 76: {
270
270
  file: "@apollo/client/testing/core/mocking/mockLink.js",
271
271
  condition: "mockedResponse.maxUsageCount > 0",
272
272
  message: "Mock response maxUsageCount must be greater than 0, %s given"
273
273
  },
274
- 76: {
274
+ 77: {
275
275
  file: "@apollo/client/utilities/graphql/DocumentTransform.js",
276
276
  condition: "Array.isArray(cacheKeys)",
277
277
  message: "`getCacheKey` must return an array or undefined"
278
278
  },
279
- 77: {
279
+ 78: {
280
280
  file: "@apollo/client/utilities/graphql/directives.js",
281
281
  condition: "evaledValue !== void 0",
282
282
  message: "Invalid variable referenced in @%s directive."
283
283
  },
284
- 78: {
284
+ 79: {
285
285
  file: "@apollo/client/utilities/graphql/directives.js",
286
286
  condition: "directiveArguments && directiveArguments.length === 1",
287
287
  message: "Incorrect number of arguments for the @%s directive."
288
288
  },
289
- 79: {
289
+ 80: {
290
290
  file: "@apollo/client/utilities/graphql/directives.js",
291
291
  condition: "ifArgument.name && ifArgument.name.value === \"if\"",
292
292
  message: "Invalid argument for the @%s directive."
293
293
  },
294
- 80: {
294
+ 81: {
295
295
  file: "@apollo/client/utilities/graphql/directives.js",
296
296
  condition: "ifValue &&\n (ifValue.kind === \"Variable\" || ifValue.kind === \"BooleanValue\")",
297
297
  message: "Argument for the @%s directive must be a variable or a boolean value."
298
298
  },
299
- 84: {
299
+ 85: {
300
300
  file: "@apollo/client/utilities/graphql/fragments.js",
301
301
  message: "Found a %s operation%s. " +
302
302
  "No operations are allowed when using a fragment as a query. Only fragments are allowed."
303
303
  },
304
- 85: {
304
+ 86: {
305
305
  file: "@apollo/client/utilities/graphql/fragments.js",
306
306
  condition: "fragments.length === 1",
307
307
  message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
308
308
  },
309
- 86: {
309
+ 87: {
310
310
  file: "@apollo/client/utilities/graphql/fragments.js",
311
311
  condition: "fragment",
312
312
  message: "No fragment named %s"
313
313
  },
314
- 87: {
314
+ 88: {
315
315
  file: "@apollo/client/utilities/graphql/getFromAST.js",
316
316
  condition: "doc && doc.kind === \"Document\"",
317
317
  message: "Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \"gql\" tag? http://docs.apollostack.com/apollo-client/core.html#gql"
318
318
  },
319
- 88: {
319
+ 89: {
320
320
  file: "@apollo/client/utilities/graphql/getFromAST.js",
321
321
  message: "Schema type definitions not allowed in queries. Found: \"%s\""
322
322
  },
323
- 89: {
323
+ 90: {
324
324
  file: "@apollo/client/utilities/graphql/getFromAST.js",
325
325
  condition: "operations.length <= 1",
326
326
  message: "Ambiguous GraphQL document: contains %s operations"
327
327
  },
328
- 90: {
328
+ 91: {
329
329
  file: "@apollo/client/utilities/graphql/getFromAST.js",
330
330
  condition: "queryDef && queryDef.operation === \"query\"",
331
331
  message: "Must contain a query definition."
332
332
  },
333
- 91: {
333
+ 92: {
334
334
  file: "@apollo/client/utilities/graphql/getFromAST.js",
335
335
  condition: "doc.kind === \"Document\"",
336
336
  message: "Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \"gql\" tag? http://docs.apollostack.com/apollo-client/core.html#gql"
337
337
  },
338
- 92: {
338
+ 93: {
339
339
  file: "@apollo/client/utilities/graphql/getFromAST.js",
340
340
  condition: "doc.definitions.length <= 1",
341
341
  message: "Fragment must have exactly one definition."
342
342
  },
343
- 93: {
343
+ 94: {
344
344
  file: "@apollo/client/utilities/graphql/getFromAST.js",
345
345
  condition: "fragmentDef.kind === \"FragmentDefinition\"",
346
346
  message: "Must be a fragment definition."
347
347
  },
348
- 94: {
348
+ 95: {
349
349
  file: "@apollo/client/utilities/graphql/getFromAST.js",
350
350
  message: "Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."
351
351
  },
352
- 95: {
352
+ 96: {
353
353
  file: "@apollo/client/utilities/graphql/storeUtils.js",
354
354
  message: "The inline argument \"%s\" of kind \"%s\"" +
355
355
  "is not supported. Use variables instead of inline arguments to " +
@@ -407,59 +407,63 @@ const devWarn = {
407
407
  file: "@apollo/client/core/QueryManager.js",
408
408
  message: "Unknown query %o requested in refetchQueries options.include array"
409
409
  },
410
- 41: {
410
+ 37: {
411
+ file: "@apollo/client/core/QueryManager.js",
412
+ message: '[%s]: Fragments masked by data masking are inaccessible when using fetch policy "no-cache". Please add `@unmask` to each fragment spread to access the data.'
413
+ },
414
+ 42: {
411
415
  file: "@apollo/client/core/masking.js",
412
416
  message: "Accessing unmasked field on %s at path '%s'. This field will not be available when masking is enabled. Please read the field from the fragment instead."
413
417
  },
414
- 42: {
418
+ 43: {
415
419
  file: "@apollo/client/core/masking.js",
416
420
  message: "The configured cache does not support data masking which effectively disables it. Please use a cache that supports data masking or disable data masking to silence this warning."
417
421
  },
418
- 43: {
422
+ 44: {
419
423
  file: "@apollo/client/link/core/ApolloLink.js",
420
424
  message: "You are calling concat on a terminating link, which will have no effect %o"
421
425
  },
422
- 46: {
426
+ 47: {
423
427
  file: "@apollo/client/link/http/createHttpLink.js",
424
428
  message: "Multipart-subscriptions do not support @defer"
425
429
  },
426
- 50: {
430
+ 51: {
427
431
  file: "@apollo/client/link/utils/toPromise.js",
428
432
  message: "Promise Wrapper does not support multiple results from Observable"
429
433
  },
430
- 60: {
434
+ 61: {
431
435
  file: "@apollo/client/react/hooks/useSubscription.js",
432
436
  message: "'useSubscription' supports only the 'onSubscriptionData' or 'onData' option, but not both. Only the 'onData' option will be used."
433
437
  },
434
- 61: {
438
+ 62: {
435
439
  file: "@apollo/client/react/hooks/useSubscription.js",
436
440
  message: "'onSubscriptionData' is deprecated and will be removed in a future major version. Please use the 'onData' option instead."
437
441
  },
438
- 62: {
442
+ 63: {
439
443
  file: "@apollo/client/react/hooks/useSubscription.js",
440
444
  message: "'useSubscription' supports only the 'onSubscriptionComplete' or 'onComplete' option, but not both. Only the 'onComplete' option will be used."
441
445
  },
442
- 63: {
446
+ 64: {
443
447
  file: "@apollo/client/react/hooks/useSubscription.js",
444
448
  message: "'onSubscriptionComplete' is deprecated and will be removed in a future major version. Please use the 'onComplete' option instead."
445
449
  },
446
- 66: {
450
+ 67: {
447
451
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
448
452
  message: "Using `returnPartialData` with a `no-cache` fetch policy has no effect. To read partial data from the cache, consider using an alternate fetch policy."
449
453
  },
450
- 81: {
454
+ 82: {
451
455
  file: "@apollo/client/utilities/graphql/directives.js",
452
456
  message: "@unmask 'mode' argument does not support variables."
453
457
  },
454
- 82: {
458
+ 83: {
455
459
  file: "@apollo/client/utilities/graphql/directives.js",
456
460
  message: "@unmask 'mode' argument must be of type string."
457
461
  },
458
- 83: {
462
+ 84: {
459
463
  file: "@apollo/client/utilities/graphql/directives.js",
460
464
  message: "@unmask 'mode' argument does not recognize value '%s'."
461
465
  },
462
- 97: {
466
+ 98: {
463
467
  file: "@apollo/client/utilities/graphql/transform.js",
464
468
  message: "Removing an @connection directive even though it does not have a key. " +
465
469
  "You may want to use the key parameter to specify a store key."
@@ -478,17 +482,17 @@ const devError = {
478
482
  file: "@apollo/client/core/ObservableQuery.js",
479
483
  message: "Unhandled error"
480
484
  },
481
- 67: {
485
+ 68: {
482
486
  file: "@apollo/client/react/hooks/useSyncExternalStore.js",
483
487
  message: "The result of getSnapshot should be cached to avoid an infinite loop"
484
488
  },
485
- 96: {
489
+ 97: {
486
490
  file: "@apollo/client/utilities/graphql/transform.js",
487
491
  message: "Could not find operation or fragment"
488
492
  }
489
493
  };
490
494
 
491
- var version = "3.12.0-alpha.0";
495
+ var version = "3.12.0-rc.0";
492
496
 
493
497
  function maybe(thunk) {
494
498
  try {