@apollo/client 3.8.5 → 3.8.7

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 (112) hide show
  1. package/apollo-client.cjs +114 -74
  2. package/apollo-client.cjs.map +1 -1
  3. package/apollo-client.min.cjs +1 -1
  4. package/cache/cache.cjs +46 -11
  5. package/cache/cache.cjs.map +1 -1
  6. package/cache/cache.cjs.native.js +46 -11
  7. package/cache/core/types/common.d.ts +2 -2
  8. package/cache/core/types/common.d.ts.map +1 -1
  9. package/cache/core/types/common.js.map +1 -1
  10. package/cache/inmemory/entityStore.d.ts.map +1 -1
  11. package/cache/inmemory/entityStore.js +35 -0
  12. package/cache/inmemory/entityStore.js.map +1 -1
  13. package/cache/inmemory/key-extractor.js +1 -1
  14. package/cache/inmemory/policies.js +4 -4
  15. package/cache/inmemory/readFromStore.js +2 -2
  16. package/cache/inmemory/writeToStore.js +4 -4
  17. package/core/ApolloClient.js +3 -3
  18. package/core/LocalState.js +2 -2
  19. package/core/ObservableQuery.js +5 -5
  20. package/core/QueryManager.js +9 -9
  21. package/core/core.cjs +20 -20
  22. package/core/core.cjs.map +1 -1
  23. package/core/core.cjs.native.js +20 -20
  24. package/dev/dev.cjs +97 -82
  25. package/dev/dev.cjs.map +1 -1
  26. package/dev/dev.cjs.native.js +97 -82
  27. package/dev/loadErrorMessageHandler.js +1 -1
  28. package/dev/loadErrorMessageHandler.js.map +1 -1
  29. package/invariantErrorCodes.js +95 -80
  30. package/link/core/ApolloLink.js +2 -2
  31. package/link/core/core.cjs +2 -2
  32. package/link/core/core.cjs.map +1 -1
  33. package/link/core/core.cjs.native.js +2 -2
  34. package/link/http/checkFetcher.js +1 -1
  35. package/link/http/createHttpLink.js +1 -1
  36. package/link/http/http.cjs +3 -3
  37. package/link/http/http.cjs.map +1 -1
  38. package/link/http/http.cjs.native.js +3 -3
  39. package/link/http/serializeFetchParameter.js +1 -1
  40. package/link/persisted-queries/index.js +2 -2
  41. package/link/persisted-queries/persisted-queries.cjs +2 -2
  42. package/link/persisted-queries/persisted-queries.cjs.map +1 -1
  43. package/link/persisted-queries/persisted-queries.cjs.native.js +2 -2
  44. package/link/utils/toPromise.js +1 -1
  45. package/link/utils/utils.cjs +2 -2
  46. package/link/utils/utils.cjs.map +1 -1
  47. package/link/utils/utils.cjs.native.js +2 -2
  48. package/link/utils/validateOperation.js +1 -1
  49. package/package.json +25 -25
  50. package/react/cache/QueryReference.d.ts.map +1 -1
  51. package/react/cache/QueryReference.js +7 -2
  52. package/react/cache/QueryReference.js.map +1 -1
  53. package/react/context/ApolloConsumer.js +1 -1
  54. package/react/context/ApolloContext.js +1 -1
  55. package/react/context/ApolloProvider.js +1 -1
  56. package/react/context/context.cjs +3 -3
  57. package/react/context/context.cjs.map +1 -1
  58. package/react/context/context.cjs.native.js +3 -3
  59. package/react/hoc/hoc-utils.js +1 -1
  60. package/react/hoc/hoc.cjs +2 -2
  61. package/react/hoc/hoc.cjs.map +1 -1
  62. package/react/hoc/hoc.cjs.native.js +2 -2
  63. package/react/hoc/withApollo.js +1 -1
  64. package/react/hooks/hooks.cjs +15 -10
  65. package/react/hooks/hooks.cjs.map +1 -1
  66. package/react/hooks/hooks.cjs.native.js +15 -10
  67. package/react/hooks/index.d.ts +1 -0
  68. package/react/hooks/index.d.ts.map +1 -1
  69. package/react/hooks/index.js.map +1 -1
  70. package/react/hooks/useApolloClient.js +1 -1
  71. package/react/hooks/useQuery.js +1 -1
  72. package/react/hooks/useReadQuery.d.ts +7 -4
  73. package/react/hooks/useReadQuery.d.ts.map +1 -1
  74. package/react/hooks/useReadQuery.js +1 -1
  75. package/react/hooks/useReadQuery.js.map +1 -1
  76. package/react/hooks/useSubscription.js +2 -2
  77. package/react/hooks/useSuspenseQuery.js +2 -2
  78. package/react/hooks/useSyncExternalStore.js +1 -1
  79. package/react/parser/index.js +5 -5
  80. package/react/parser/parser.cjs +5 -5
  81. package/react/parser/parser.cjs.map +1 -1
  82. package/react/parser/parser.cjs.native.js +5 -5
  83. package/testing/core/core.cjs +1 -1
  84. package/testing/core/core.cjs.map +1 -1
  85. package/testing/core/core.cjs.native.js +1 -1
  86. package/testing/core/mocking/mockLink.js +1 -1
  87. package/testing/react/MockedProvider.d.ts +1 -0
  88. package/testing/react/MockedProvider.d.ts.map +1 -1
  89. package/testing/react/MockedProvider.js +2 -1
  90. package/testing/react/MockedProvider.js.map +1 -1
  91. package/testing/testing.cjs +2 -1
  92. package/testing/testing.cjs.map +1 -1
  93. package/testing/testing.cjs.native.js +2 -1
  94. package/utilities/globals/globals.cjs +1 -1
  95. package/utilities/globals/globals.cjs.map +1 -1
  96. package/utilities/globals/globals.cjs.native.js +1 -1
  97. package/utilities/graphql/DocumentTransform.js +1 -1
  98. package/utilities/graphql/directives.js +4 -4
  99. package/utilities/graphql/fragments.js +3 -3
  100. package/utilities/graphql/getFromAST.js +8 -8
  101. package/utilities/graphql/storeUtils.d.ts +5 -0
  102. package/utilities/graphql/storeUtils.d.ts.map +1 -1
  103. package/utilities/graphql/storeUtils.js +1 -1
  104. package/utilities/graphql/storeUtils.js.map +1 -1
  105. package/utilities/graphql/transform.js +2 -2
  106. package/utilities/index.d.ts +1 -1
  107. package/utilities/index.d.ts.map +1 -1
  108. package/utilities/index.js.map +1 -1
  109. package/utilities/utilities.cjs +19 -19
  110. package/utilities/utilities.cjs.map +1 -1
  111. package/utilities/utilities.cjs.native.js +19 -19
  112. package/version.js +1 -1
@@ -8,45 +8,45 @@ export const errorCodes = // This file is used by the error message display webs
8
8
  message: "store.merge expects a string ID"
9
9
  },
10
10
 
11
- 2: {
11
+ 4: {
12
12
  file: "@apollo/client/cache/inmemory/key-extractor.js",
13
13
  condition: "extracted !== void 0",
14
14
  message: "Missing field '%s' while extracting keyFields from %s"
15
15
  },
16
16
 
17
- 3: {
17
+ 5: {
18
18
  file: "@apollo/client/cache/inmemory/policies.js",
19
19
  condition: "!old || old === which",
20
20
  message: "Cannot change root %s __typename more than once"
21
21
  },
22
22
 
23
- 6: {
23
+ 8: {
24
24
  file: "@apollo/client/cache/inmemory/policies.js",
25
25
  message: "Cannot automatically merge arrays"
26
26
  },
27
27
 
28
- 7: {
28
+ 9: {
29
29
  file: "@apollo/client/cache/inmemory/readFromStore.js",
30
30
  message: "No fragment named %s"
31
31
  },
32
32
 
33
- 8: {
33
+ 10: {
34
34
  file: "@apollo/client/cache/inmemory/readFromStore.js",
35
35
  condition: "!isReference(value)",
36
36
  message: "Missing selection set for object of type %s returned for query field %s"
37
37
  },
38
38
 
39
- 9: {
39
+ 11: {
40
40
  file: "@apollo/client/cache/inmemory/writeToStore.js",
41
41
  message: "Could not identify object %s"
42
42
  },
43
43
 
44
- 11: {
44
+ 13: {
45
45
  file: "@apollo/client/cache/inmemory/writeToStore.js",
46
46
  message: "No fragment named %s"
47
47
  },
48
48
 
49
- 13: {
49
+ 15: {
50
50
  file: "@apollo/client/core/ApolloClient.js",
51
51
 
52
52
  message: "To initialize Apollo Client, you must specify a 'cache' property " +
@@ -54,7 +54,7 @@ export const errorCodes = // This file is used by the error message display webs
54
54
  "For more information, please visit: https://go.apollo.dev/c/docs"
55
55
  },
56
56
 
57
- 14: {
57
+ 16: {
58
58
  file: "@apollo/client/core/ApolloClient.js",
59
59
  condition: "options.fetchPolicy !== \"cache-and-network\"",
60
60
 
@@ -64,42 +64,42 @@ export const errorCodes = // This file is used by the error message display webs
64
64
  "using a different fetchPolicy, such as cache-first or network-only."
65
65
  },
66
66
 
67
- 16: {
67
+ 18: {
68
68
  file: "@apollo/client/core/LocalState.js",
69
69
  condition: "fragment",
70
70
  message: "No fragment named %s"
71
71
  },
72
72
 
73
- 17: {
73
+ 19: {
74
74
  file: "@apollo/client/core/LocalState.js",
75
75
  condition: "fragment",
76
76
  message: "No fragment named %s"
77
77
  },
78
78
 
79
- 20: {
79
+ 22: {
80
80
  file: "@apollo/client/core/ObservableQuery.js",
81
81
  condition: "pollInterval",
82
82
  message: "Attempted to start a polling query without a polling interval."
83
83
  },
84
84
 
85
- 23: {
85
+ 25: {
86
86
  file: "@apollo/client/core/QueryManager.js",
87
87
  message: "QueryManager stopped while query was in flight"
88
88
  },
89
89
 
90
- 24: {
90
+ 26: {
91
91
  file: "@apollo/client/core/QueryManager.js",
92
92
  condition: "mutation",
93
93
  message: "mutation option is required. You must specify your GraphQL document in the mutation option."
94
94
  },
95
95
 
96
- 25: {
96
+ 27: {
97
97
  file: "@apollo/client/core/QueryManager.js",
98
98
  condition: "fetchPolicy === \"network-only\" || fetchPolicy === \"no-cache\"",
99
99
  message: "Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."
100
100
  },
101
101
 
102
- 26: {
102
+ 28: {
103
103
  file: "@apollo/client/core/QueryManager.js",
104
104
  condition: "options.query",
105
105
 
@@ -107,45 +107,45 @@ export const errorCodes = // This file is used by the error message display webs
107
107
  "in the query option."
108
108
  },
109
109
 
110
- 27: {
110
+ 29: {
111
111
  file: "@apollo/client/core/QueryManager.js",
112
112
  condition: "options.query.kind === \"Document\"",
113
113
  message: 'You must wrap the query string in a "gql" tag.'
114
114
  },
115
115
 
116
- 28: {
116
+ 30: {
117
117
  file: "@apollo/client/core/QueryManager.js",
118
118
  condition: "!options.returnPartialData",
119
119
  message: "returnPartialData option only supported on watchQuery."
120
120
  },
121
121
 
122
- 29: {
122
+ 31: {
123
123
  file: "@apollo/client/core/QueryManager.js",
124
124
  condition: "!options.pollInterval",
125
125
  message: "pollInterval option only supported on watchQuery."
126
126
  },
127
127
 
128
- 30: {
128
+ 32: {
129
129
  file: "@apollo/client/core/QueryManager.js",
130
130
  message: "Store reset while query was in flight (not completed in link chain)"
131
131
  },
132
132
 
133
- 34: {
133
+ 36: {
134
134
  file: "@apollo/client/link/core/ApolloLink.js",
135
135
  message: "request is not implemented"
136
136
  },
137
137
 
138
- 35: {
138
+ 37: {
139
139
  file: "@apollo/client/link/http/checkFetcher.js",
140
140
  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 "
141
141
  },
142
142
 
143
- 37: {
143
+ 39: {
144
144
  file: "@apollo/client/link/http/serializeFetchParameter.js",
145
145
  message: "Network request failed. %s is not serializable: %s"
146
146
  },
147
147
 
148
- 38: {
148
+ 40: {
149
149
  file: "@apollo/client/link/persisted-queries/index.js",
150
150
  condition: "options &&\n (typeof options.sha256 === \"function\" ||\n typeof options.generateHash === \"function\")",
151
151
 
@@ -154,18 +154,18 @@ export const errorCodes = // This file is used by the error message display webs
154
154
  "parameter."
155
155
  },
156
156
 
157
- 39: {
157
+ 41: {
158
158
  file: "@apollo/client/link/persisted-queries/index.js",
159
159
  condition: "forward",
160
160
  message: "PersistedQueryLink cannot be the last link in the chain."
161
161
  },
162
162
 
163
- 41: {
163
+ 43: {
164
164
  file: "@apollo/client/link/utils/validateOperation.js",
165
165
  message: "illegal argument: %s"
166
166
  },
167
167
 
168
- 42: {
168
+ 44: {
169
169
  file: "@apollo/client/react/context/ApolloConsumer.js",
170
170
  condition: "context && context.client",
171
171
 
@@ -173,7 +173,7 @@ export const errorCodes = // This file is used by the error message display webs
173
173
  "Wrap the root component in an <ApolloProvider>."
174
174
  },
175
175
 
176
- 43: {
176
+ 45: {
177
177
  file: "@apollo/client/react/context/ApolloContext.js",
178
178
  condition: "\"createContext\" in React",
179
179
 
@@ -183,7 +183,7 @@ export const errorCodes = // This file is used by the error message display webs
183
183
  "For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
184
184
  },
185
185
 
186
- 44: {
186
+ 46: {
187
187
  file: "@apollo/client/react/context/ApolloProvider.js",
188
188
  condition: "context.client",
189
189
 
@@ -191,7 +191,7 @@ export const errorCodes = // This file is used by the error message display webs
191
191
  'sure you pass in your client via the "client" prop.'
192
192
  },
193
193
 
194
- 45: {
194
+ 47: {
195
195
  file: "@apollo/client/react/hoc/hoc-utils.js",
196
196
  condition: "this.withRef",
197
197
 
@@ -199,7 +199,7 @@ export const errorCodes = // This file is used by the error message display webs
199
199
  "{ withRef: true } in the options"
200
200
  },
201
201
 
202
- 46: {
202
+ 48: {
203
203
  file: "@apollo/client/react/hoc/withApollo.js",
204
204
  condition: "operationOptions.withRef",
205
205
 
@@ -207,7 +207,7 @@ export const errorCodes = // This file is used by the error message display webs
207
207
  "{ withRef: true } in the options"
208
208
  },
209
209
 
210
- 47: {
210
+ 49: {
211
211
  file: "@apollo/client/react/hooks/useApolloClient.js",
212
212
  condition: "!!client",
213
213
 
@@ -216,7 +216,7 @@ export const errorCodes = // This file is used by the error message display webs
216
216
  "instance in via options."
217
217
  },
218
218
 
219
- 49: {
219
+ 51: {
220
220
  file: "@apollo/client/react/hooks/useReadQuery.js",
221
221
  condition: "internalQueryRef.promiseCache",
222
222
 
@@ -225,13 +225,13 @@ export const errorCodes = // This file is used by the error message display webs
225
225
  "Please ensure you are passing the `queryRef` returned from `useBackgroundQuery`."
226
226
  },
227
227
 
228
- 54: {
228
+ 56: {
229
229
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
230
230
  condition: "supportedFetchPolicies.includes(fetchPolicy)",
231
231
  message: "The fetch policy `%s` is not supported with suspense."
232
232
  },
233
233
 
234
- 57: {
234
+ 59: {
235
235
  file: "@apollo/client/react/parser/index.js",
236
236
  condition: "!!document && !!document.kind",
237
237
 
@@ -240,7 +240,7 @@ export const errorCodes = // This file is used by the error message display webs
240
240
  "to convert your operation into a document"
241
241
  },
242
242
 
243
- 58: {
243
+ 60: {
244
244
  file: "@apollo/client/react/parser/index.js",
245
245
  condition: "!fragments.length ||\n queries.length ||\n mutations.length ||\n subscriptions.length",
246
246
 
@@ -248,7 +248,7 @@ export const errorCodes = // This file is used by the error message display webs
248
248
  "You must include a query, subscription or mutation as well"
249
249
  },
250
250
 
251
- 59: {
251
+ 61: {
252
252
  file: "@apollo/client/react/parser/index.js",
253
253
  condition: "queries.length + mutations.length + subscriptions.length <= 1",
254
254
 
@@ -258,7 +258,7 @@ export const errorCodes = // This file is used by the error message display webs
258
258
  "You can use 'compose' to join multiple operation types to a component"
259
259
  },
260
260
 
261
- 60: {
261
+ 62: {
262
262
  file: "@apollo/client/react/parser/index.js",
263
263
  condition: "definitions.length === 1",
264
264
 
@@ -267,114 +267,114 @@ export const errorCodes = // This file is used by the error message display webs
267
267
  "You can use 'compose' to join multiple operation types to a component"
268
268
  },
269
269
 
270
- 61: {
270
+ 63: {
271
271
  file: "@apollo/client/react/parser/index.js",
272
272
  condition: "operation.type === type",
273
273
  message: "Running a %s requires a graphql " + "%s, but a %s was used instead."
274
274
  },
275
275
 
276
- 62: {
276
+ 64: {
277
277
  file: "@apollo/client/testing/core/mocking/mockLink.js",
278
278
  condition: "queryWithoutConnection",
279
279
  message: "query is required"
280
280
  },
281
281
 
282
- 63: {
282
+ 65: {
283
283
  file: "@apollo/client/utilities/graphql/DocumentTransform.js",
284
284
  condition: "Array.isArray(cacheKeys)",
285
285
  message: "`getCacheKey` must return an array or undefined"
286
286
  },
287
287
 
288
- 64: {
288
+ 66: {
289
289
  file: "@apollo/client/utilities/graphql/directives.js",
290
290
  condition: "evaledValue !== void 0",
291
291
  message: "Invalid variable referenced in @%s directive."
292
292
  },
293
293
 
294
- 65: {
294
+ 67: {
295
295
  file: "@apollo/client/utilities/graphql/directives.js",
296
296
  condition: "directiveArguments && directiveArguments.length === 1",
297
297
  message: "Incorrect number of arguments for the @%s directive."
298
298
  },
299
299
 
300
- 66: {
300
+ 68: {
301
301
  file: "@apollo/client/utilities/graphql/directives.js",
302
302
  condition: "ifArgument.name && ifArgument.name.value === \"if\"",
303
303
  message: "Invalid argument for the @%s directive."
304
304
  },
305
305
 
306
- 67: {
306
+ 69: {
307
307
  file: "@apollo/client/utilities/graphql/directives.js",
308
308
  condition: "ifValue &&\n (ifValue.kind === \"Variable\" || ifValue.kind === \"BooleanValue\")",
309
309
  message: "Argument for the @%s directive must be a variable or a boolean value."
310
310
  },
311
311
 
312
- 68: {
312
+ 70: {
313
313
  file: "@apollo/client/utilities/graphql/fragments.js",
314
314
 
315
315
  message: "Found a %s operation%s. " +
316
316
  "No operations are allowed when using a fragment as a query. Only fragments are allowed."
317
317
  },
318
318
 
319
- 69: {
319
+ 71: {
320
320
  file: "@apollo/client/utilities/graphql/fragments.js",
321
321
  condition: "fragments.length === 1",
322
322
  message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
323
323
  },
324
324
 
325
- 70: {
325
+ 72: {
326
326
  file: "@apollo/client/utilities/graphql/fragments.js",
327
327
  condition: "fragment",
328
328
  message: "No fragment named %s"
329
329
  },
330
330
 
331
- 71: {
331
+ 73: {
332
332
  file: "@apollo/client/utilities/graphql/getFromAST.js",
333
333
  condition: "doc && doc.kind === \"Document\"",
334
334
  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"
335
335
  },
336
336
 
337
- 72: {
337
+ 74: {
338
338
  file: "@apollo/client/utilities/graphql/getFromAST.js",
339
339
  message: "Schema type definitions not allowed in queries. Found: \"%s\""
340
340
  },
341
341
 
342
- 73: {
342
+ 75: {
343
343
  file: "@apollo/client/utilities/graphql/getFromAST.js",
344
344
  condition: "operations.length <= 1",
345
345
  message: "Ambiguous GraphQL document: contains %s operations"
346
346
  },
347
347
 
348
- 74: {
348
+ 76: {
349
349
  file: "@apollo/client/utilities/graphql/getFromAST.js",
350
350
  condition: "queryDef && queryDef.operation === \"query\"",
351
351
  message: "Must contain a query definition."
352
352
  },
353
353
 
354
- 75: {
354
+ 77: {
355
355
  file: "@apollo/client/utilities/graphql/getFromAST.js",
356
356
  condition: "doc.kind === \"Document\"",
357
357
  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"
358
358
  },
359
359
 
360
- 76: {
360
+ 78: {
361
361
  file: "@apollo/client/utilities/graphql/getFromAST.js",
362
362
  condition: "doc.definitions.length <= 1",
363
363
  message: "Fragment must have exactly one definition."
364
364
  },
365
365
 
366
- 77: {
366
+ 79: {
367
367
  file: "@apollo/client/utilities/graphql/getFromAST.js",
368
368
  condition: "fragmentDef.kind === \"FragmentDefinition\"",
369
369
  message: "Must be a fragment definition."
370
370
  },
371
371
 
372
- 78: {
372
+ 80: {
373
373
  file: "@apollo/client/utilities/graphql/getFromAST.js",
374
374
  message: "Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."
375
375
  },
376
376
 
377
- 79: {
377
+ 81: {
378
378
  file: "@apollo/client/utilities/graphql/storeUtils.js",
379
379
 
380
380
  message: "The inline argument \"%s\" of kind \"%s\"" +
@@ -384,12 +384,12 @@ export const errorCodes = // This file is used by the error message display webs
384
384
  };
385
385
 
386
386
  export const devDebug = {
387
- 15: {
387
+ 17: {
388
388
  file: "@apollo/client/core/ApolloClient.js",
389
389
  message: "In client.refetchQueries, Promise.all promise rejected with error %o"
390
390
  },
391
391
 
392
- 22: {
392
+ 24: {
393
393
  file: "@apollo/client/core/ObservableQuery.js",
394
394
  message: "Missing cache result fields: %o"
395
395
  }
@@ -398,82 +398,97 @@ export const devDebug = {
398
398
  export const devLog = {};
399
399
 
400
400
  export const devWarn = {
401
- 4: {
401
+ 2: {
402
+ file: "@apollo/client/cache/inmemory/entityStore.js",
403
+
404
+ message: "cache.modify: You are trying to write a Reference that is not part of the store: %o\n" +
405
+ "Please make sure to set the `mergeIntoStore` parameter to `true` when creating a Reference that is not part of the store yet:\n" +
406
+ "`toReference(object, true)`"
407
+ },
408
+
409
+ 3: {
410
+ file: "@apollo/client/cache/inmemory/entityStore.js",
411
+
412
+ message: "cache.modify: Writing an array with a mix of both References and Objects will not result in the Objects being normalized correctly.\n" +
413
+ "Please convert the object instance %o to a Reference before writing it to the cache by calling `toReference(object, true)`."
414
+ },
415
+
416
+ 6: {
402
417
  file: "@apollo/client/cache/inmemory/policies.js",
403
418
  message: "Inferring subtype %s of supertype %s"
404
419
  },
405
420
 
406
- 5: {
421
+ 7: {
407
422
  file: "@apollo/client/cache/inmemory/policies.js",
408
423
  message: "Undefined 'from' passed to readField with arguments %s"
409
424
  },
410
425
 
411
- 12: {
426
+ 14: {
412
427
  file: "@apollo/client/cache/inmemory/writeToStore.js",
413
428
  message: "Cache data may be lost when replacing the %s field of a %s object.\n\nThis could cause additional (usually avoidable) network requests to fetch data that were otherwise cached.\n\nTo address this problem (which is not a bug in Apollo Client), %sdefine a custom merge function for the %s field, so InMemoryCache can safely merge these objects:\n\n existing: %s\n incoming: %s\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"
414
429
  },
415
430
 
416
- 18: {
431
+ 20: {
417
432
  file: "@apollo/client/core/ObservableQuery.js",
418
433
  message: "Called refetch(%o) for query %o, which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"
419
434
  },
420
435
 
421
- 31: {
436
+ 33: {
422
437
  file: "@apollo/client/core/QueryManager.js",
423
438
  message: "Unknown query named \"%s\" requested in refetchQueries options.include array"
424
439
  },
425
440
 
426
- 32: {
441
+ 34: {
427
442
  file: "@apollo/client/core/QueryManager.js",
428
443
  message: "Unknown query %s requested in refetchQueries options.include array"
429
444
  },
430
445
 
431
- 33: {
446
+ 35: {
432
447
  file: "@apollo/client/link/core/ApolloLink.js",
433
448
  message: "You are calling concat on a terminating link, which will have no effect %o"
434
449
  },
435
450
 
436
- 36: {
451
+ 38: {
437
452
  file: "@apollo/client/link/http/createHttpLink.js",
438
453
  message: "Multipart-subscriptions do not support @defer"
439
454
  },
440
455
 
441
- 40: {
456
+ 42: {
442
457
  file: "@apollo/client/link/utils/toPromise.js",
443
458
  message: "Promise Wrapper does not support multiple results from Observable"
444
459
  },
445
460
 
446
- 48: {
461
+ 50: {
447
462
  file: "@apollo/client/react/hooks/useQuery.js",
448
463
  message: "Calling default no-op implementation of InternalState#forceUpdate"
449
464
  },
450
465
 
451
- 50: {
466
+ 52: {
452
467
  file: "@apollo/client/react/hooks/useSubscription.js",
453
468
  message: "'useSubscription' supports only the 'onSubscriptionData' or 'onData' option, but not both. Only the 'onData' option will be used."
454
469
  },
455
470
 
456
- 51: {
471
+ 53: {
457
472
  file: "@apollo/client/react/hooks/useSubscription.js",
458
473
  message: "'onSubscriptionData' is deprecated and will be removed in a future major version. Please use the 'onData' option instead."
459
474
  },
460
475
 
461
- 52: {
476
+ 54: {
462
477
  file: "@apollo/client/react/hooks/useSubscription.js",
463
478
  message: "'useSubscription' supports only the 'onSubscriptionComplete' or 'onComplete' option, but not both. Only the 'onComplete' option will be used."
464
479
  },
465
480
 
466
- 53: {
481
+ 55: {
467
482
  file: "@apollo/client/react/hooks/useSubscription.js",
468
483
  message: "'onSubscriptionComplete' is deprecated and will be removed in a future major version. Please use the 'onComplete' option instead."
469
484
  },
470
485
 
471
- 55: {
486
+ 57: {
472
487
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
473
488
  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."
474
489
  },
475
490
 
476
- 81: {
491
+ 83: {
477
492
  file: "@apollo/client/utilities/graphql/transform.js",
478
493
 
479
494
  message: "Removing an @connection directive even though it does not have a key. " +
@@ -482,27 +497,27 @@ export const devWarn = {
482
497
  };
483
498
 
484
499
  export const devError = {
485
- 10: {
500
+ 12: {
486
501
  file: "@apollo/client/cache/inmemory/writeToStore.js",
487
502
  message: "Missing field '%s' while writing result %o"
488
503
  },
489
504
 
490
- 19: {
505
+ 21: {
491
506
  file: "@apollo/client/core/ObservableQuery.js",
492
507
  message: "Unhandled GraphQL subscription error"
493
508
  },
494
509
 
495
- 21: {
510
+ 23: {
496
511
  file: "@apollo/client/core/ObservableQuery.js",
497
512
  message: "Unhandled error"
498
513
  },
499
514
 
500
- 56: {
515
+ 58: {
501
516
  file: "@apollo/client/react/hooks/useSyncExternalStore.js",
502
517
  message: "The result of getSnapshot should be cached to avoid an infinite loop"
503
518
  },
504
519
 
505
- 80: {
520
+ 82: {
506
521
  file: "@apollo/client/utilities/graphql/transform.js",
507
522
  message: "Could not find operation or fragment"
508
523
  }
@@ -47,7 +47,7 @@ var ApolloLink = (function () {
47
47
  ApolloLink.concat = function (first, second) {
48
48
  var firstLink = toLink(first);
49
49
  if (isTerminating(firstLink)) {
50
- globalThis.__DEV__ !== false && invariant.warn(33, firstLink);
50
+ globalThis.__DEV__ !== false && invariant.warn(35, firstLink);
51
51
  return firstLink;
52
52
  }
53
53
  var nextLink = toLink(second);
@@ -71,7 +71,7 @@ var ApolloLink = (function () {
71
71
  return ApolloLink.concat(this, next);
72
72
  };
73
73
  ApolloLink.prototype.request = function (operation, forward) {
74
- throw newInvariantError(34);
74
+ throw newInvariantError(36);
75
75
  };
76
76
  ApolloLink.prototype.onError = function (error, observer) {
77
77
  if (observer && observer.error) {
@@ -52,7 +52,7 @@ var ApolloLink = (function () {
52
52
  ApolloLink.concat = function (first, second) {
53
53
  var firstLink = toLink(first);
54
54
  if (isTerminating(firstLink)) {
55
- globalThis.__DEV__ !== false && globals.invariant.warn(33, firstLink);
55
+ globalThis.__DEV__ !== false && globals.invariant.warn(35, firstLink);
56
56
  return firstLink;
57
57
  }
58
58
  var nextLink = toLink(second);
@@ -76,7 +76,7 @@ var ApolloLink = (function () {
76
76
  return ApolloLink.concat(this, next);
77
77
  };
78
78
  ApolloLink.prototype.request = function (operation, forward) {
79
- throw globals.newInvariantError(34);
79
+ throw globals.newInvariantError(36);
80
80
  };
81
81
  ApolloLink.prototype.onError = function (error, observer) {
82
82
  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 = (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 if (isTerminating(leftLink) && isTerminating(rightLink)) {\n return 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 return 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 };\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(33, firstLink);\n return firstLink;\n }\n var nextLink = toLink(second);\n if (isTerminating(nextLink)) {\n return new ApolloLink(function (operation) {\n return firstLink.request(operation, function (op) { return nextLink.request(op) || Observable.of(); }) || Observable.of();\n });\n }\n else {\n return 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 };\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(34);\n };\n ApolloLink.prototype.onError = function (error, observer) {\n if (observer && observer.error) {\n observer.error(error);\n return false;\n }\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,IAAI,YAAY;AAC9B,IAAI,SAAS,UAAU,CAAC,OAAO,EAAE;AACjC,QAAQ,IAAI,OAAO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CAAC;AAClC,YAAY,OAAO,KAAK,CAAC;AACzB,SAAS;AACT,QAAQ,MAAM,KAAK,CAAC;AACpB,KAAK,CAAC;AACN,IAAI,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,EAAE,EAAE;AACpD,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK,CAAC;AACN,IAAI,OAAO,UAAU,CAAC;AACtB,CAAC,EAAE;;ACtFO,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 = (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 if (isTerminating(leftLink) && isTerminating(rightLink)) {\n return 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 return 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 };\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(35, firstLink);\n return firstLink;\n }\n var nextLink = toLink(second);\n if (isTerminating(nextLink)) {\n return new ApolloLink(function (operation) {\n return firstLink.request(operation, function (op) { return nextLink.request(op) || Observable.of(); }) || Observable.of();\n });\n }\n else {\n return 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 };\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(36);\n };\n ApolloLink.prototype.onError = function (error, observer) {\n if (observer && observer.error) {\n observer.error(error);\n return false;\n }\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":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