@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
@@ -136,46 +136,46 @@ export const errorCodes = // This file is used by the error message display webs
136
136
  message: "Store reset while query was in flight (not completed in link chain)"
137
137
  },
138
138
 
139
- 37: {
139
+ 38: {
140
140
  file: "@apollo/client/core/masking.js",
141
141
  condition: "definition",
142
142
  message: "Expected a parsed GraphQL document with a query, mutation, or subscription."
143
143
  },
144
144
 
145
- 38: {
145
+ 39: {
146
146
  file: "@apollo/client/core/masking.js",
147
147
  condition: "fragments.length === 1",
148
148
  message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
149
149
  },
150
150
 
151
- 39: {
151
+ 40: {
152
152
  file: "@apollo/client/core/masking.js",
153
153
  condition: "!!fragment",
154
154
  message: "Could not find fragment with name \"%s\"."
155
155
  },
156
156
 
157
- 40: {
157
+ 41: {
158
158
  file: "@apollo/client/core/masking.js",
159
159
  condition: "fragment",
160
160
  message: "Could not find fragment with name '%s'."
161
161
  },
162
162
 
163
- 44: {
163
+ 45: {
164
164
  file: "@apollo/client/link/core/ApolloLink.js",
165
165
  message: "request is not implemented"
166
166
  },
167
167
 
168
- 45: {
168
+ 46: {
169
169
  file: "@apollo/client/link/http/checkFetcher.js",
170
170
  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 "
171
171
  },
172
172
 
173
- 47: {
173
+ 48: {
174
174
  file: "@apollo/client/link/http/serializeFetchParameter.js",
175
175
  message: "Network request failed. %s is not serializable: %s"
176
176
  },
177
177
 
178
- 48: {
178
+ 49: {
179
179
  file: "@apollo/client/link/persisted-queries/index.js",
180
180
  condition: "options &&\n (typeof options.sha256 === \"function\" ||\n typeof options.generateHash === \"function\")",
181
181
 
@@ -184,18 +184,18 @@ export const errorCodes = // This file is used by the error message display webs
184
184
  "parameter."
185
185
  },
186
186
 
187
- 49: {
187
+ 50: {
188
188
  file: "@apollo/client/link/persisted-queries/index.js",
189
189
  condition: "forward",
190
190
  message: "PersistedQueryLink cannot be the last link in the chain."
191
191
  },
192
192
 
193
- 51: {
193
+ 52: {
194
194
  file: "@apollo/client/link/utils/validateOperation.js",
195
195
  message: "illegal argument: %s"
196
196
  },
197
197
 
198
- 52: {
198
+ 53: {
199
199
  file: "@apollo/client/react/context/ApolloConsumer.js",
200
200
  condition: "context && context.client",
201
201
 
@@ -203,7 +203,7 @@ export const errorCodes = // This file is used by the error message display webs
203
203
  "Wrap the root component in an <ApolloProvider>."
204
204
  },
205
205
 
206
- 53: {
206
+ 54: {
207
207
  file: "@apollo/client/react/context/ApolloContext.js",
208
208
  condition: "\"createContext\" in React",
209
209
 
@@ -214,7 +214,7 @@ export const errorCodes = // This file is used by the error message display webs
214
214
  "For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
215
215
  },
216
216
 
217
- 54: {
217
+ 55: {
218
218
  file: "@apollo/client/react/context/ApolloProvider.js",
219
219
  condition: "context.client",
220
220
 
@@ -222,7 +222,7 @@ export const errorCodes = // This file is used by the error message display webs
222
222
  'sure you pass in your client via the "client" prop.'
223
223
  },
224
224
 
225
- 55: {
225
+ 56: {
226
226
  file: "@apollo/client/react/hoc/hoc-utils.js",
227
227
  condition: "this.withRef",
228
228
 
@@ -230,7 +230,7 @@ export const errorCodes = // This file is used by the error message display webs
230
230
  "{ withRef: true } in the options"
231
231
  },
232
232
 
233
- 56: {
233
+ 57: {
234
234
  file: "@apollo/client/react/hoc/withApollo.js",
235
235
  condition: "operationOptions.withRef",
236
236
 
@@ -238,7 +238,7 @@ export const errorCodes = // This file is used by the error message display webs
238
238
  "{ withRef: true } in the options"
239
239
  },
240
240
 
241
- 57: {
241
+ 58: {
242
242
  file: "@apollo/client/react/hooks/useApolloClient.js",
243
243
  condition: "!!client",
244
244
 
@@ -247,37 +247,37 @@ export const errorCodes = // This file is used by the error message display webs
247
247
  "instance in via options."
248
248
  },
249
249
 
250
- 58: {
250
+ 59: {
251
251
  file: "@apollo/client/react/hooks/useLoadableQuery.js",
252
252
  condition: "!calledDuringRender()",
253
253
  message: "useLoadableQuery: 'loadQuery' should not be called during render. To start a query during render, use the 'useBackgroundQuery' hook."
254
254
  },
255
255
 
256
- 59: {
256
+ 60: {
257
257
  file: "@apollo/client/react/hooks/useLoadableQuery.js",
258
258
  condition: "internalQueryRef",
259
259
  message: "The query has not been loaded. Please load the query."
260
260
  },
261
261
 
262
- 64: {
262
+ 65: {
263
263
  file: "@apollo/client/react/hooks/useSubscription.js",
264
264
  condition: "!optionsRef.current.skip",
265
265
  message: "A subscription that is skipped cannot be restarted."
266
266
  },
267
267
 
268
- 65: {
268
+ 66: {
269
269
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
270
270
  condition: "supportedFetchPolicies.includes(fetchPolicy)",
271
271
  message: "The fetch policy `%s` is not supported with suspense."
272
272
  },
273
273
 
274
- 68: {
274
+ 69: {
275
275
  file: "@apollo/client/react/internal/cache/QueryReference.js",
276
276
  condition: "!queryRef || QUERY_REFERENCE_SYMBOL in queryRef",
277
277
  message: "Expected a QueryRef object, but got something else instead."
278
278
  },
279
279
 
280
- 69: {
280
+ 70: {
281
281
  file: "@apollo/client/react/parser/index.js",
282
282
  condition: "!!document && !!document.kind",
283
283
 
@@ -286,7 +286,7 @@ export const errorCodes = // This file is used by the error message display webs
286
286
  "to convert your operation into a document"
287
287
  },
288
288
 
289
- 70: {
289
+ 71: {
290
290
  file: "@apollo/client/react/parser/index.js",
291
291
  condition: "!fragments.length ||\n queries.length ||\n mutations.length ||\n subscriptions.length",
292
292
 
@@ -294,7 +294,7 @@ export const errorCodes = // This file is used by the error message display webs
294
294
  "You must include a query, subscription or mutation as well"
295
295
  },
296
296
 
297
- 71: {
297
+ 72: {
298
298
  file: "@apollo/client/react/parser/index.js",
299
299
  condition: "queries.length + mutations.length + subscriptions.length <= 1",
300
300
 
@@ -304,7 +304,7 @@ export const errorCodes = // This file is used by the error message display webs
304
304
  "You can use 'compose' to join multiple operation types to a component"
305
305
  },
306
306
 
307
- 72: {
307
+ 73: {
308
308
  file: "@apollo/client/react/parser/index.js",
309
309
  condition: "definitions.length === 1",
310
310
 
@@ -313,120 +313,120 @@ export const errorCodes = // This file is used by the error message display webs
313
313
  "You can use 'compose' to join multiple operation types to a component"
314
314
  },
315
315
 
316
- 73: {
316
+ 74: {
317
317
  file: "@apollo/client/react/parser/index.js",
318
318
  condition: "operation.type === type",
319
319
  message: "Running a %s requires a graphql " + "%s, but a %s was used instead."
320
320
  },
321
321
 
322
- 74: {
322
+ 75: {
323
323
  file: "@apollo/client/testing/core/mocking/mockLink.js",
324
324
  condition: "queryWithoutClientOnlyDirectives",
325
325
  message: "query is required"
326
326
  },
327
327
 
328
- 75: {
328
+ 76: {
329
329
  file: "@apollo/client/testing/core/mocking/mockLink.js",
330
330
  condition: "mockedResponse.maxUsageCount > 0",
331
331
  message: "Mock response maxUsageCount must be greater than 0, %s given"
332
332
  },
333
333
 
334
- 76: {
334
+ 77: {
335
335
  file: "@apollo/client/utilities/graphql/DocumentTransform.js",
336
336
  condition: "Array.isArray(cacheKeys)",
337
337
  message: "`getCacheKey` must return an array or undefined"
338
338
  },
339
339
 
340
- 77: {
340
+ 78: {
341
341
  file: "@apollo/client/utilities/graphql/directives.js",
342
342
  condition: "evaledValue !== void 0",
343
343
  message: "Invalid variable referenced in @%s directive."
344
344
  },
345
345
 
346
- 78: {
346
+ 79: {
347
347
  file: "@apollo/client/utilities/graphql/directives.js",
348
348
  condition: "directiveArguments && directiveArguments.length === 1",
349
349
  message: "Incorrect number of arguments for the @%s directive."
350
350
  },
351
351
 
352
- 79: {
352
+ 80: {
353
353
  file: "@apollo/client/utilities/graphql/directives.js",
354
354
  condition: "ifArgument.name && ifArgument.name.value === \"if\"",
355
355
  message: "Invalid argument for the @%s directive."
356
356
  },
357
357
 
358
- 80: {
358
+ 81: {
359
359
  file: "@apollo/client/utilities/graphql/directives.js",
360
360
  condition: "ifValue &&\n (ifValue.kind === \"Variable\" || ifValue.kind === \"BooleanValue\")",
361
361
  message: "Argument for the @%s directive must be a variable or a boolean value."
362
362
  },
363
363
 
364
- 84: {
364
+ 85: {
365
365
  file: "@apollo/client/utilities/graphql/fragments.js",
366
366
 
367
367
  message: "Found a %s operation%s. " +
368
368
  "No operations are allowed when using a fragment as a query. Only fragments are allowed."
369
369
  },
370
370
 
371
- 85: {
371
+ 86: {
372
372
  file: "@apollo/client/utilities/graphql/fragments.js",
373
373
  condition: "fragments.length === 1",
374
374
  message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
375
375
  },
376
376
 
377
- 86: {
377
+ 87: {
378
378
  file: "@apollo/client/utilities/graphql/fragments.js",
379
379
  condition: "fragment",
380
380
  message: "No fragment named %s"
381
381
  },
382
382
 
383
- 87: {
383
+ 88: {
384
384
  file: "@apollo/client/utilities/graphql/getFromAST.js",
385
385
  condition: "doc && doc.kind === \"Document\"",
386
386
  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"
387
387
  },
388
388
 
389
- 88: {
389
+ 89: {
390
390
  file: "@apollo/client/utilities/graphql/getFromAST.js",
391
391
  message: "Schema type definitions not allowed in queries. Found: \"%s\""
392
392
  },
393
393
 
394
- 89: {
394
+ 90: {
395
395
  file: "@apollo/client/utilities/graphql/getFromAST.js",
396
396
  condition: "operations.length <= 1",
397
397
  message: "Ambiguous GraphQL document: contains %s operations"
398
398
  },
399
399
 
400
- 90: {
400
+ 91: {
401
401
  file: "@apollo/client/utilities/graphql/getFromAST.js",
402
402
  condition: "queryDef && queryDef.operation === \"query\"",
403
403
  message: "Must contain a query definition."
404
404
  },
405
405
 
406
- 91: {
406
+ 92: {
407
407
  file: "@apollo/client/utilities/graphql/getFromAST.js",
408
408
  condition: "doc.kind === \"Document\"",
409
409
  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"
410
410
  },
411
411
 
412
- 92: {
412
+ 93: {
413
413
  file: "@apollo/client/utilities/graphql/getFromAST.js",
414
414
  condition: "doc.definitions.length <= 1",
415
415
  message: "Fragment must have exactly one definition."
416
416
  },
417
417
 
418
- 93: {
418
+ 94: {
419
419
  file: "@apollo/client/utilities/graphql/getFromAST.js",
420
420
  condition: "fragmentDef.kind === \"FragmentDefinition\"",
421
421
  message: "Must be a fragment definition."
422
422
  },
423
423
 
424
- 94: {
424
+ 95: {
425
425
  file: "@apollo/client/utilities/graphql/getFromAST.js",
426
426
  message: "Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."
427
427
  },
428
428
 
429
- 95: {
429
+ 96: {
430
430
  file: "@apollo/client/utilities/graphql/storeUtils.js",
431
431
 
432
432
  message: "The inline argument \"%s\" of kind \"%s\"" +
@@ -500,72 +500,77 @@ export const devWarn = {
500
500
  message: "Unknown query %o requested in refetchQueries options.include array"
501
501
  },
502
502
 
503
- 41: {
503
+ 37: {
504
+ file: "@apollo/client/core/QueryManager.js",
505
+ 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.'
506
+ },
507
+
508
+ 42: {
504
509
  file: "@apollo/client/core/masking.js",
505
510
  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."
506
511
  },
507
512
 
508
- 42: {
513
+ 43: {
509
514
  file: "@apollo/client/core/masking.js",
510
515
  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."
511
516
  },
512
517
 
513
- 43: {
518
+ 44: {
514
519
  file: "@apollo/client/link/core/ApolloLink.js",
515
520
  message: "You are calling concat on a terminating link, which will have no effect %o"
516
521
  },
517
522
 
518
- 46: {
523
+ 47: {
519
524
  file: "@apollo/client/link/http/createHttpLink.js",
520
525
  message: "Multipart-subscriptions do not support @defer"
521
526
  },
522
527
 
523
- 50: {
528
+ 51: {
524
529
  file: "@apollo/client/link/utils/toPromise.js",
525
530
  message: "Promise Wrapper does not support multiple results from Observable"
526
531
  },
527
532
 
528
- 60: {
533
+ 61: {
529
534
  file: "@apollo/client/react/hooks/useSubscription.js",
530
535
  message: "'useSubscription' supports only the 'onSubscriptionData' or 'onData' option, but not both. Only the 'onData' option will be used."
531
536
  },
532
537
 
533
- 61: {
538
+ 62: {
534
539
  file: "@apollo/client/react/hooks/useSubscription.js",
535
540
  message: "'onSubscriptionData' is deprecated and will be removed in a future major version. Please use the 'onData' option instead."
536
541
  },
537
542
 
538
- 62: {
543
+ 63: {
539
544
  file: "@apollo/client/react/hooks/useSubscription.js",
540
545
  message: "'useSubscription' supports only the 'onSubscriptionComplete' or 'onComplete' option, but not both. Only the 'onComplete' option will be used."
541
546
  },
542
547
 
543
- 63: {
548
+ 64: {
544
549
  file: "@apollo/client/react/hooks/useSubscription.js",
545
550
  message: "'onSubscriptionComplete' is deprecated and will be removed in a future major version. Please use the 'onComplete' option instead."
546
551
  },
547
552
 
548
- 66: {
553
+ 67: {
549
554
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
550
555
  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."
551
556
  },
552
557
 
553
- 81: {
558
+ 82: {
554
559
  file: "@apollo/client/utilities/graphql/directives.js",
555
560
  message: "@unmask 'mode' argument does not support variables."
556
561
  },
557
562
 
558
- 82: {
563
+ 83: {
559
564
  file: "@apollo/client/utilities/graphql/directives.js",
560
565
  message: "@unmask 'mode' argument must be of type string."
561
566
  },
562
567
 
563
- 83: {
568
+ 84: {
564
569
  file: "@apollo/client/utilities/graphql/directives.js",
565
570
  message: "@unmask 'mode' argument does not recognize value '%s'."
566
571
  },
567
572
 
568
- 97: {
573
+ 98: {
569
574
  file: "@apollo/client/utilities/graphql/transform.js",
570
575
 
571
576
  message: "Removing an @connection directive even though it does not have a key. " +
@@ -589,12 +594,12 @@ export const devError = {
589
594
  message: "Unhandled error"
590
595
  },
591
596
 
592
- 67: {
597
+ 68: {
593
598
  file: "@apollo/client/react/hooks/useSyncExternalStore.js",
594
599
  message: "The result of getSnapshot should be cached to avoid an infinite loop"
595
600
  },
596
601
 
597
- 96: {
602
+ 97: {
598
603
  file: "@apollo/client/utilities/graphql/transform.js",
599
604
  message: "Could not find operation or fragment"
600
605
  }
@@ -49,7 +49,7 @@ var ApolloLink = /** @class */ (function () {
49
49
  ApolloLink.concat = function (first, second) {
50
50
  var firstLink = toLink(first);
51
51
  if (isTerminating(firstLink)) {
52
- globalThis.__DEV__ !== false && invariant.warn(43, firstLink);
52
+ globalThis.__DEV__ !== false && invariant.warn(44, firstLink);
53
53
  return firstLink;
54
54
  }
55
55
  var nextLink = toLink(second);
@@ -75,7 +75,7 @@ var ApolloLink = /** @class */ (function () {
75
75
  return ApolloLink.concat(this, next);
76
76
  };
77
77
  ApolloLink.prototype.request = function (operation, forward) {
78
- throw newInvariantError(44);
78
+ throw newInvariantError(45);
79
79
  };
80
80
  ApolloLink.prototype.onError = function (error, observer) {
81
81
  if (observer && observer.error) {
@@ -54,7 +54,7 @@ var ApolloLink = (function () {
54
54
  ApolloLink.concat = function (first, second) {
55
55
  var firstLink = toLink(first);
56
56
  if (isTerminating(firstLink)) {
57
- globalThis.__DEV__ !== false && globals.invariant.warn(43, firstLink);
57
+ globalThis.__DEV__ !== false && globals.invariant.warn(44, firstLink);
58
58
  return firstLink;
59
59
  }
60
60
  var nextLink = toLink(second);
@@ -80,7 +80,7 @@ var ApolloLink = (function () {
80
80
  return ApolloLink.concat(this, next);
81
81
  };
82
82
  ApolloLink.prototype.request = function (operation, forward) {
83
- throw globals.newInvariantError(44);
83
+ throw globals.newInvariantError(45);
84
84
  };
85
85
  ApolloLink.prototype.onError = function (error, observer) {
86
86
  if (observer && observer.error) {
@@ -1 +1 @@
1
- {"version":3,"file":"core.cjs","sources":["ApolloLink.js","empty.js","from.js","split.js","concat.js","execute.js"],"sourcesContent":["import { newInvariantError, invariant } from \"../../utilities/globals/index.js\";\nimport { Observable } from \"../../utilities/index.js\";\nimport { validateOperation, createOperation, transformOperation, } from \"../utils/index.js\";\nfunction passthrough(op, forward) {\n return (forward ? forward(op) : Observable.of());\n}\nfunction toLink(handler) {\n return typeof handler === \"function\" ? new ApolloLink(handler) : handler;\n}\nfunction isTerminating(link) {\n return link.request.length <= 1;\n}\nvar ApolloLink = /** @class */ (function () {\n function ApolloLink(request) {\n if (request)\n this.request = request;\n }\n ApolloLink.empty = function () {\n return new ApolloLink(function () { return Observable.of(); });\n };\n ApolloLink.from = function (links) {\n if (links.length === 0)\n return ApolloLink.empty();\n return links.map(toLink).reduce(function (x, y) { return x.concat(y); });\n };\n ApolloLink.split = function (test, left, right) {\n var leftLink = toLink(left);\n var rightLink = toLink(right || new ApolloLink(passthrough));\n var ret;\n if (isTerminating(leftLink) && isTerminating(rightLink)) {\n ret = new ApolloLink(function (operation) {\n return test(operation) ?\n leftLink.request(operation) || Observable.of()\n : rightLink.request(operation) || Observable.of();\n });\n }\n else {\n ret = new ApolloLink(function (operation, forward) {\n return test(operation) ?\n leftLink.request(operation, forward) || Observable.of()\n : rightLink.request(operation, forward) || Observable.of();\n });\n }\n return Object.assign(ret, { left: leftLink, right: rightLink });\n };\n ApolloLink.execute = function (link, operation) {\n return (link.request(createOperation(operation.context, transformOperation(validateOperation(operation)))) || Observable.of());\n };\n ApolloLink.concat = function (first, second) {\n var firstLink = toLink(first);\n if (isTerminating(firstLink)) {\n globalThis.__DEV__ !== false && invariant.warn(43, firstLink);\n return firstLink;\n }\n var nextLink = toLink(second);\n var ret;\n if (isTerminating(nextLink)) {\n ret = new ApolloLink(function (operation) {\n return firstLink.request(operation, function (op) { return nextLink.request(op) || Observable.of(); }) || Observable.of();\n });\n }\n else {\n ret = new ApolloLink(function (operation, forward) {\n return (firstLink.request(operation, function (op) {\n return nextLink.request(op, forward) || Observable.of();\n }) || Observable.of());\n });\n }\n return Object.assign(ret, { left: firstLink, right: nextLink });\n };\n ApolloLink.prototype.split = function (test, left, right) {\n return this.concat(ApolloLink.split(test, left, right || new ApolloLink(passthrough)));\n };\n ApolloLink.prototype.concat = function (next) {\n return ApolloLink.concat(this, next);\n };\n ApolloLink.prototype.request = function (operation, forward) {\n throw newInvariantError(44);\n };\n ApolloLink.prototype.onError = function (error, observer) {\n if (observer && observer.error) {\n observer.error(error);\n // Returning false indicates that observer.error does not need to be\n // called again, since it was already called (on the previous line).\n // Calling observer.error again would not cause any real problems,\n // since only the first call matters, but custom onError functions\n // might have other reasons for wanting to prevent the default\n // behavior by returning false.\n return false;\n }\n // Throw errors will be passed to observer.error.\n throw error;\n };\n ApolloLink.prototype.setOnError = function (fn) {\n this.onError = fn;\n return this;\n };\n return ApolloLink;\n}());\nexport { ApolloLink };\n//# sourceMappingURL=ApolloLink.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var empty = ApolloLink.empty;\n//# sourceMappingURL=empty.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var from = ApolloLink.from;\n//# sourceMappingURL=from.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var split = ApolloLink.split;\n//# sourceMappingURL=split.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var concat = ApolloLink.concat;\n//# sourceMappingURL=concat.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var execute = ApolloLink.execute;\n//# sourceMappingURL=execute.js.map"],"names":["Observable","createOperation","transformOperation","validateOperation","invariant","newInvariantError"],"mappings":";;;;;;;;AAGA,SAAS,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE;AAClC,IAAI,QAAQ,OAAO,GAAG,OAAO,CAAC,EAAE,CAAC,GAAGA,oBAAU,CAAC,EAAE,EAAE,EAAE;AACrD,CAAC;AACD,SAAS,MAAM,CAAC,OAAO,EAAE;AACzB,IAAI,OAAO,OAAO,OAAO,KAAK,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;AAC7E,CAAC;AACD,SAAS,aAAa,CAAC,IAAI,EAAE;AAC7B,IAAI,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,CAAC;AACpC,CAAC;AACE,IAAC,UAAU,KAAkB,YAAY;AAC5C,IAAI,SAAS,UAAU,CAAC,OAAO,EAAE;AACjC,QAAQ,IAAI,OAAO;AACnB,YAAY,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACnC,KAAK;AACL,IAAI,UAAU,CAAC,KAAK,GAAG,YAAY;AACnC,QAAQ,OAAO,IAAI,UAAU,CAAC,YAAY,EAAE,OAAOA,oBAAU,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,KAAK,CAAC;AACN,IAAI,UAAU,CAAC,IAAI,GAAG,UAAU,KAAK,EAAE;AACvC,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;AAC9B,YAAY,OAAO,UAAU,CAAC,KAAK,EAAE,CAAC;AACtC,QAAQ,OAAO,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACjF,KAAK,CAAC;AACN,IAAI,UAAU,CAAC,KAAK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N,IAAI,OAAO,UAAU,CAAC;AACtB,CAAC,EAAE;;ACjGO,IAAC,KAAK,GAAG,UAAU,CAAC;;ACApB,IAAC,IAAI,GAAG,UAAU,CAAC;;ACAnB,IAAC,KAAK,GAAG,UAAU,CAAC;;ACApB,IAAC,MAAM,GAAG,UAAU,CAAC;;ACArB,IAAC,OAAO,GAAG,UAAU,CAAC;;;;;;;;;"}
1
+ {"version":3,"file":"core.cjs","sources":["ApolloLink.js","empty.js","from.js","split.js","concat.js","execute.js"],"sourcesContent":["import { newInvariantError, invariant } from \"../../utilities/globals/index.js\";\nimport { Observable } from \"../../utilities/index.js\";\nimport { validateOperation, createOperation, transformOperation, } from \"../utils/index.js\";\nfunction passthrough(op, forward) {\n return (forward ? forward(op) : Observable.of());\n}\nfunction toLink(handler) {\n return typeof handler === \"function\" ? new ApolloLink(handler) : handler;\n}\nfunction isTerminating(link) {\n return link.request.length <= 1;\n}\nvar ApolloLink = /** @class */ (function () {\n function ApolloLink(request) {\n if (request)\n this.request = request;\n }\n ApolloLink.empty = function () {\n return new ApolloLink(function () { return Observable.of(); });\n };\n ApolloLink.from = function (links) {\n if (links.length === 0)\n return ApolloLink.empty();\n return links.map(toLink).reduce(function (x, y) { return x.concat(y); });\n };\n ApolloLink.split = function (test, left, right) {\n var leftLink = toLink(left);\n var rightLink = toLink(right || new ApolloLink(passthrough));\n var ret;\n if (isTerminating(leftLink) && isTerminating(rightLink)) {\n ret = new ApolloLink(function (operation) {\n return test(operation) ?\n leftLink.request(operation) || Observable.of()\n : rightLink.request(operation) || Observable.of();\n });\n }\n else {\n ret = new ApolloLink(function (operation, forward) {\n return test(operation) ?\n leftLink.request(operation, forward) || Observable.of()\n : rightLink.request(operation, forward) || Observable.of();\n });\n }\n return Object.assign(ret, { left: leftLink, right: rightLink });\n };\n ApolloLink.execute = function (link, operation) {\n return (link.request(createOperation(operation.context, transformOperation(validateOperation(operation)))) || Observable.of());\n };\n ApolloLink.concat = function (first, second) {\n var firstLink = toLink(first);\n if (isTerminating(firstLink)) {\n globalThis.__DEV__ !== false && invariant.warn(44, firstLink);\n return firstLink;\n }\n var nextLink = toLink(second);\n var ret;\n if (isTerminating(nextLink)) {\n ret = new ApolloLink(function (operation) {\n return firstLink.request(operation, function (op) { return nextLink.request(op) || Observable.of(); }) || Observable.of();\n });\n }\n else {\n ret = new ApolloLink(function (operation, forward) {\n return (firstLink.request(operation, function (op) {\n return nextLink.request(op, forward) || Observable.of();\n }) || Observable.of());\n });\n }\n return Object.assign(ret, { left: firstLink, right: nextLink });\n };\n ApolloLink.prototype.split = function (test, left, right) {\n return this.concat(ApolloLink.split(test, left, right || new ApolloLink(passthrough)));\n };\n ApolloLink.prototype.concat = function (next) {\n return ApolloLink.concat(this, next);\n };\n ApolloLink.prototype.request = function (operation, forward) {\n throw newInvariantError(45);\n };\n ApolloLink.prototype.onError = function (error, observer) {\n if (observer && observer.error) {\n observer.error(error);\n // Returning false indicates that observer.error does not need to be\n // called again, since it was already called (on the previous line).\n // Calling observer.error again would not cause any real problems,\n // since only the first call matters, but custom onError functions\n // might have other reasons for wanting to prevent the default\n // behavior by returning false.\n return false;\n }\n // Throw errors will be passed to observer.error.\n throw error;\n };\n ApolloLink.prototype.setOnError = function (fn) {\n this.onError = fn;\n return this;\n };\n return ApolloLink;\n}());\nexport { ApolloLink };\n//# sourceMappingURL=ApolloLink.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var empty = ApolloLink.empty;\n//# sourceMappingURL=empty.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var from = ApolloLink.from;\n//# sourceMappingURL=from.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var split = ApolloLink.split;\n//# sourceMappingURL=split.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var concat = ApolloLink.concat;\n//# sourceMappingURL=concat.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var execute = ApolloLink.execute;\n//# sourceMappingURL=execute.js.map"],"names":["Observable","createOperation","transformOperation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ACApB,IAAC,IAAI,GAAG,UAAU,CAAC;;ACAnB,IAAC,KAAK,GAAG,UAAU,CAAC;;ACApB,IAAC,MAAM,GAAG,UAAU,CAAC;;ACArB,IAAC,OAAO,GAAG,UAAU,CAAC;;;;;;;;;"}
@@ -54,7 +54,7 @@ var ApolloLink = (function () {
54
54
  ApolloLink.concat = function (first, second) {
55
55
  var firstLink = toLink(first);
56
56
  if (isTerminating(firstLink)) {
57
- globalThis.__DEV__ !== false && globals.invariant.warn(43, firstLink);
57
+ globalThis.__DEV__ !== false && globals.invariant.warn(44, firstLink);
58
58
  return firstLink;
59
59
  }
60
60
  var nextLink = toLink(second);
@@ -80,7 +80,7 @@ var ApolloLink = (function () {
80
80
  return ApolloLink.concat(this, next);
81
81
  };
82
82
  ApolloLink.prototype.request = function (operation, forward) {
83
- throw globals.newInvariantError(44);
83
+ throw globals.newInvariantError(45);
84
84
  };
85
85
  ApolloLink.prototype.onError = function (error, observer) {
86
86
  if (observer && observer.error) {
@@ -1,7 +1,7 @@
1
1
  import { newInvariantError } from "../../utilities/globals/index.js";
2
2
  export var checkFetcher = function (fetcher) {
3
3
  if (!fetcher && typeof fetch === "undefined") {
4
- throw newInvariantError(45);
4
+ throw newInvariantError(46);
5
5
  }
6
6
  };
7
7
  //# sourceMappingURL=checkFetcher.js.map
@@ -90,7 +90,7 @@ export var createHttpLink = function (linkOptions) {
90
90
  // Omit defer-specific headers if the user attempts to defer a selection
91
91
  // set on a subscription and log a warning.
92
92
  if (isSubscription && hasDefer) {
93
- globalThis.__DEV__ !== false && invariant.warn(46);
93
+ globalThis.__DEV__ !== false && invariant.warn(47);
94
94
  }
95
95
  if (isSubscription) {
96
96
  acceptHeader +=
@@ -331,7 +331,7 @@ var serializeFetchParameter = function (p, label) {
331
331
  serialized = JSON.stringify(p);
332
332
  }
333
333
  catch (e) {
334
- var parseError = globals.newInvariantError(47, label, e.message);
334
+ var parseError = globals.newInvariantError(48, label, e.message);
335
335
  parseError.parseError = e;
336
336
  throw parseError;
337
337
  }
@@ -417,7 +417,7 @@ function removeDuplicateHeaders(headers, preserveHeaderCase) {
417
417
 
418
418
  var checkFetcher = function (fetcher) {
419
419
  if (!fetcher && typeof fetch === "undefined") {
420
- throw globals.newInvariantError(45);
420
+ throw globals.newInvariantError(46);
421
421
  }
422
422
  };
423
423
 
@@ -551,7 +551,7 @@ var createHttpLink = function (linkOptions) {
551
551
  options.headers = options.headers || {};
552
552
  var acceptHeader = "multipart/mixed;";
553
553
  if (isSubscription && hasDefer) {
554
- globalThis.__DEV__ !== false && globals.invariant.warn(46);
554
+ globalThis.__DEV__ !== false && globals.invariant.warn(47);
555
555
  }
556
556
  if (isSubscription) {
557
557
  acceptHeader +=