@apollo/client 3.8.4 → 3.9.0-alpha.1

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 (51) hide show
  1. package/apollo-client.cjs +26 -38
  2. package/apollo-client.cjs.map +1 -1
  3. package/apollo-client.min.cjs +1 -1
  4. package/core/QueryInfo.d.ts +1 -1
  5. package/core/QueryInfo.d.ts.map +1 -1
  6. package/core/QueryInfo.js +4 -4
  7. package/core/QueryInfo.js.map +1 -1
  8. package/core/QueryManager.js +1 -1
  9. package/core/QueryManager.js.map +1 -1
  10. package/core/core.cjs +6 -6
  11. package/core/core.cjs.map +1 -1
  12. package/core/core.cjs.native.js +6 -6
  13. package/dev/dev.cjs +25 -19
  14. package/dev/dev.cjs.map +1 -1
  15. package/dev/dev.cjs.native.js +25 -19
  16. package/invariantErrorCodes.js +24 -18
  17. package/package.json +2 -2
  18. package/react/cache/index.d.ts +0 -4
  19. package/react/cache/index.d.ts.map +1 -1
  20. package/react/cache/index.js +0 -14
  21. package/react/cache/index.js.map +1 -1
  22. package/react/index.d.ts +0 -1
  23. package/react/index.d.ts.map +1 -1
  24. package/react/index.js +0 -1
  25. package/react/index.js.map +1 -1
  26. package/react/react.cjs +1 -218
  27. package/react/react.cjs.map +1 -1
  28. package/react/react.cjs.native.js +1 -218
  29. package/react/types/types.d.ts +0 -3
  30. package/react/types/types.d.ts.map +1 -1
  31. package/react/types/types.js.map +1 -1
  32. package/testing/core/core.cjs +28 -3
  33. package/testing/core/core.cjs.map +1 -1
  34. package/testing/core/core.cjs.native.js +28 -3
  35. package/testing/core/mocking/mockLink.d.ts +6 -2
  36. package/testing/core/mocking/mockLink.d.ts.map +1 -1
  37. package/testing/core/mocking/mockLink.js +28 -3
  38. package/testing/core/mocking/mockLink.js.map +1 -1
  39. package/utilities/globals/globals.cjs +1 -1
  40. package/utilities/globals/globals.cjs.map +1 -1
  41. package/utilities/globals/globals.cjs.native.js +1 -1
  42. package/utilities/graphql/DocumentTransform.js +1 -1
  43. package/utilities/graphql/directives.js +4 -4
  44. package/utilities/graphql/fragments.js +3 -3
  45. package/utilities/graphql/getFromAST.js +8 -8
  46. package/utilities/graphql/storeUtils.js +1 -1
  47. package/utilities/graphql/transform.js +2 -2
  48. package/utilities/utilities.cjs +19 -19
  49. package/utilities/utilities.cjs.map +1 -1
  50. package/utilities/utilities.cjs.native.js +19 -19
  51. package/version.js +1 -1
@@ -280,101 +280,107 @@ export const errorCodes = // This file is used by the error message display webs
280
280
  },
281
281
 
282
282
  63: {
283
+ file: "@apollo/client/testing/core/mocking/mockLink.js",
284
+ condition: "mockedResponse.maxUsageCount > 0",
285
+ message: "Mock response maxUsageCount must be greater than 0, %s given"
286
+ },
287
+
288
+ 64: {
283
289
  file: "@apollo/client/utilities/graphql/DocumentTransform.js",
284
290
  condition: "Array.isArray(cacheKeys)",
285
291
  message: "`getCacheKey` must return an array or undefined"
286
292
  },
287
293
 
288
- 64: {
294
+ 65: {
289
295
  file: "@apollo/client/utilities/graphql/directives.js",
290
296
  condition: "evaledValue !== void 0",
291
297
  message: "Invalid variable referenced in @%s directive."
292
298
  },
293
299
 
294
- 65: {
300
+ 66: {
295
301
  file: "@apollo/client/utilities/graphql/directives.js",
296
302
  condition: "directiveArguments && directiveArguments.length === 1",
297
303
  message: "Incorrect number of arguments for the @%s directive."
298
304
  },
299
305
 
300
- 66: {
306
+ 67: {
301
307
  file: "@apollo/client/utilities/graphql/directives.js",
302
308
  condition: "ifArgument.name && ifArgument.name.value === \"if\"",
303
309
  message: "Invalid argument for the @%s directive."
304
310
  },
305
311
 
306
- 67: {
312
+ 68: {
307
313
  file: "@apollo/client/utilities/graphql/directives.js",
308
314
  condition: "ifValue &&\n (ifValue.kind === \"Variable\" || ifValue.kind === \"BooleanValue\")",
309
315
  message: "Argument for the @%s directive must be a variable or a boolean value."
310
316
  },
311
317
 
312
- 68: {
318
+ 69: {
313
319
  file: "@apollo/client/utilities/graphql/fragments.js",
314
320
 
315
321
  message: "Found a %s operation%s. " +
316
322
  "No operations are allowed when using a fragment as a query. Only fragments are allowed."
317
323
  },
318
324
 
319
- 69: {
325
+ 70: {
320
326
  file: "@apollo/client/utilities/graphql/fragments.js",
321
327
  condition: "fragments.length === 1",
322
328
  message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
323
329
  },
324
330
 
325
- 70: {
331
+ 71: {
326
332
  file: "@apollo/client/utilities/graphql/fragments.js",
327
333
  condition: "fragment",
328
334
  message: "No fragment named %s"
329
335
  },
330
336
 
331
- 71: {
337
+ 72: {
332
338
  file: "@apollo/client/utilities/graphql/getFromAST.js",
333
339
  condition: "doc && doc.kind === \"Document\"",
334
340
  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
341
  },
336
342
 
337
- 72: {
343
+ 73: {
338
344
  file: "@apollo/client/utilities/graphql/getFromAST.js",
339
345
  message: "Schema type definitions not allowed in queries. Found: \"%s\""
340
346
  },
341
347
 
342
- 73: {
348
+ 74: {
343
349
  file: "@apollo/client/utilities/graphql/getFromAST.js",
344
350
  condition: "operations.length <= 1",
345
351
  message: "Ambiguous GraphQL document: contains %s operations"
346
352
  },
347
353
 
348
- 74: {
354
+ 75: {
349
355
  file: "@apollo/client/utilities/graphql/getFromAST.js",
350
356
  condition: "queryDef && queryDef.operation === \"query\"",
351
357
  message: "Must contain a query definition."
352
358
  },
353
359
 
354
- 75: {
360
+ 76: {
355
361
  file: "@apollo/client/utilities/graphql/getFromAST.js",
356
362
  condition: "doc.kind === \"Document\"",
357
363
  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
364
  },
359
365
 
360
- 76: {
366
+ 77: {
361
367
  file: "@apollo/client/utilities/graphql/getFromAST.js",
362
368
  condition: "doc.definitions.length <= 1",
363
369
  message: "Fragment must have exactly one definition."
364
370
  },
365
371
 
366
- 77: {
372
+ 78: {
367
373
  file: "@apollo/client/utilities/graphql/getFromAST.js",
368
374
  condition: "fragmentDef.kind === \"FragmentDefinition\"",
369
375
  message: "Must be a fragment definition."
370
376
  },
371
377
 
372
- 78: {
378
+ 79: {
373
379
  file: "@apollo/client/utilities/graphql/getFromAST.js",
374
380
  message: "Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."
375
381
  },
376
382
 
377
- 79: {
383
+ 80: {
378
384
  file: "@apollo/client/utilities/graphql/storeUtils.js",
379
385
 
380
386
  message: "The inline argument \"%s\" of kind \"%s\"" +
@@ -473,7 +479,7 @@ export const devWarn = {
473
479
  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
480
  },
475
481
 
476
- 81: {
482
+ 82: {
477
483
  file: "@apollo/client/utilities/graphql/transform.js",
478
484
 
479
485
  message: "Removing an @connection directive even though it does not have a key. " +
@@ -502,7 +508,7 @@ export const devError = {
502
508
  message: "The result of getSnapshot should be cached to avoid an infinite loop"
503
509
  },
504
510
 
505
- 80: {
511
+ 81: {
506
512
  file: "@apollo/client/utilities/graphql/transform.js",
507
513
  message: "Could not find operation or fragment"
508
514
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo/client",
3
- "version": "3.8.4",
3
+ "version": "3.9.0-alpha.1",
4
4
  "description": "A fully-featured caching GraphQL client.",
5
5
  "private": false,
6
6
  "keywords": [
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "homepage": "https://www.apollographql.com/docs/react/",
32
32
  "peerDependencies": {
33
- "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
33
+ "graphql": "^15.0.0 || ^16.0.0",
34
34
  "graphql-ws": "^5.5.5",
35
35
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
36
36
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -1,7 +1,3 @@
1
1
  export type { SuspenseCacheOptions } from "./SuspenseCache.js";
2
2
  export { getSuspenseCache } from "./getSuspenseCache.js";
3
- import { SuspenseCache as RealSuspenseCache } from "./SuspenseCache.js";
4
- export declare class SuspenseCache extends RealSuspenseCache {
5
- constructor();
6
- }
7
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/cache/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAYxE,qBAAa,aAAc,SAAQ,iBAAiB;;CAWnD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/cache/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1,16 +1,2 @@
1
- import { __extends } from "tslib";
2
1
  export { getSuspenseCache } from "./getSuspenseCache.js";
3
- import { SuspenseCache as RealSuspenseCache } from "./SuspenseCache.js";
4
- var SuspenseCache = (function (_super) {
5
- __extends(SuspenseCache, _super);
6
- function SuspenseCache() {
7
- var _this = _super.call(this) || this;
8
- throw new Error("It is no longer necessary to create a `SuspenseCache` instance and pass it into the `ApolloProvider`.\n" +
9
- "Please remove this code from your application. \n\n" +
10
- "This export will be removed with the final 3.8 release.");
11
- return _this;
12
- }
13
- return SuspenseCache;
14
- }(RealSuspenseCache));
15
- export { SuspenseCache };
16
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/cache/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAYxE;IAAmC,iCAAiB;IAClD;QAAA,YACE,iBAAO,SAQR;QALC,MAAM,IAAI,KAAK,CACb,yGAAyG;YACvG,qDAAqD;YACrD,yDAAyD,CAC5D,CAAC;;IACJ,CAAC;IACH,oBAAC;AAAD,CAAC,AAXD,CAAmC,iBAAiB,GAWnD","sourcesContent":["export type { SuspenseCacheOptions } from \"./SuspenseCache.js\";\nexport { getSuspenseCache } from \"./getSuspenseCache.js\";\n\nimport { SuspenseCache as RealSuspenseCache } from \"./SuspenseCache.js\";\n\n// TODO: remove export with release 3.8\n// replace with\n// export type { SuspenseCache } from './SuspenseCache.js';\n/**\n * @deprecated\n * It is no longer necessary to create a `SuspenseCache` instance and pass it into the `ApolloProvider`.\n * Please remove this code from your application.\n *\n * This export will be removed with the final 3.8 release.\n */\nexport class SuspenseCache extends RealSuspenseCache {\n constructor() {\n super();\n // throwing an error here instead of using invariant - we do not want this error\n // message to be link-ified, but to directly show up as bold as possible\n throw new Error(\n \"It is no longer necessary to create a `SuspenseCache` instance and pass it into the `ApolloProvider`.\\n\" +\n \"Please remove this code from your application. \\n\\n\" +\n \"This export will be removed with the final 3.8 release.\"\n );\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/cache/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export type { SuspenseCacheOptions } from \"./SuspenseCache.js\";\nexport { getSuspenseCache } from \"./getSuspenseCache.js\";\n"]}
package/react/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import "../utilities/globals/index.js";
2
2
  export type { ApolloContextValue } from "./context/index.js";
3
3
  export { ApolloProvider, ApolloConsumer, getApolloContext, resetApolloContext, } from "./context/index.js";
4
4
  export * from "./hooks/index.js";
5
- export { SuspenseCache } from "./cache/index.js";
6
5
  export type { IDocumentDefinition } from "./parser/index.js";
7
6
  export { DocumentType, operationName, parser } from "./parser/index.js";
8
7
  export * from "./types/types.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAC;AAEvC,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAE5B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAExE,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAC;AAEvC,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAE5B,cAAc,kBAAkB,CAAC;AAEjC,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAExE,cAAc,kBAAkB,CAAC"}
package/react/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import "../utilities/globals/index.js";
2
2
  export { ApolloProvider, ApolloConsumer, getApolloContext, resetApolloContext, } from "./context/index.js";
3
3
  export * from "./hooks/index.js";
4
- export { SuspenseCache } from "./cache/index.js";
5
4
  export { DocumentType, operationName, parser } from "./parser/index.js";
6
5
  export * from "./types/types.js";
7
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAC;AAGvC,OAAO,EACL,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAE5B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAExE,cAAc,kBAAkB,CAAC","sourcesContent":["import \"../utilities/globals/index.js\";\n\nexport type { ApolloContextValue } from \"./context/index.js\";\nexport {\n ApolloProvider,\n ApolloConsumer,\n getApolloContext,\n resetApolloContext,\n} from \"./context/index.js\";\n\nexport * from \"./hooks/index.js\";\n// TODO: remove export with release 3.8\nexport { SuspenseCache } from \"./cache/index.js\";\n\nexport type { IDocumentDefinition } from \"./parser/index.js\";\nexport { DocumentType, operationName, parser } from \"./parser/index.js\";\n\nexport * from \"./types/types.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAC;AAGvC,OAAO,EACL,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAE5B,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAExE,cAAc,kBAAkB,CAAC","sourcesContent":["import \"../utilities/globals/index.js\";\n\nexport type { ApolloContextValue } from \"./context/index.js\";\nexport {\n ApolloProvider,\n ApolloConsumer,\n getApolloContext,\n resetApolloContext,\n} from \"./context/index.js\";\n\nexport * from \"./hooks/index.js\";\n\nexport type { IDocumentDefinition } from \"./parser/index.js\";\nexport { DocumentType, operationName, parser } from \"./parser/index.js\";\n\nexport * from \"./types/types.js\";\n"]}
package/react/react.cjs CHANGED
@@ -5,225 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  require('../utilities/globals');
6
6
  var context = require('./context');
7
7
  var hooks = require('./hooks');
8
- var tslib = require('tslib');
9
- var trie = require('@wry/trie');
10
- var utilities = require('../utilities');
11
- var equality = require('@wry/equality');
12
- var core = require('../core');
13
8
  var parser = require('./parser');
14
9
 
15
- var OBSERVED_CHANGED_OPTIONS = [
16
- "canonizeResults",
17
- "context",
18
- "errorPolicy",
19
- "fetchPolicy",
20
- "refetchWritePolicy",
21
- "returnPartialData",
22
- ];
23
- var InternalQueryReference = (function () {
24
- function InternalQueryReference(observable, options) {
25
- var _this = this;
26
- var _a;
27
- this.listeners = new Set();
28
- this.status = "loading";
29
- this.references = 0;
30
- this.handleNext = this.handleNext.bind(this);
31
- this.handleError = this.handleError.bind(this);
32
- this.dispose = this.dispose.bind(this);
33
- this.observable = observable;
34
- this.result = observable.getCurrentResult(false);
35
- this.key = options.key;
36
- if (options.onDispose) {
37
- this.onDispose = options.onDispose;
38
- }
39
- if (core.isNetworkRequestSettled(this.result.networkStatus) ||
40
- (this.result.data &&
41
- (!this.result.partial || this.watchQueryOptions.returnPartialData))) {
42
- this.promise = utilities.createFulfilledPromise(this.result);
43
- this.status = "idle";
44
- }
45
- else {
46
- this.promise = new Promise(function (resolve, reject) {
47
- _this.resolve = resolve;
48
- _this.reject = reject;
49
- });
50
- }
51
- this.subscription = observable
52
- .filter(function (_a) {
53
- var data = _a.data;
54
- return !equality.equal(data, {});
55
- })
56
- .subscribe({
57
- next: this.handleNext,
58
- error: this.handleError,
59
- });
60
- this.autoDisposeTimeoutId = setTimeout(this.dispose, (_a = options.autoDisposeTimeoutMs) !== null && _a !== void 0 ? _a : 30000);
61
- }
62
- Object.defineProperty(InternalQueryReference.prototype, "watchQueryOptions", {
63
- get: function () {
64
- return this.observable.options;
65
- },
66
- enumerable: false,
67
- configurable: true
68
- });
69
- InternalQueryReference.prototype.retain = function () {
70
- var _this = this;
71
- this.references++;
72
- clearTimeout(this.autoDisposeTimeoutId);
73
- var disposed = false;
74
- return function () {
75
- if (disposed) {
76
- return;
77
- }
78
- disposed = true;
79
- _this.references--;
80
- setTimeout(function () {
81
- if (!_this.references) {
82
- _this.dispose();
83
- }
84
- });
85
- };
86
- };
87
- InternalQueryReference.prototype.didChangeOptions = function (watchQueryOptions) {
88
- var _this = this;
89
- return OBSERVED_CHANGED_OPTIONS.some(function (option) {
90
- return !equality.equal(_this.watchQueryOptions[option], watchQueryOptions[option]);
91
- });
92
- };
93
- InternalQueryReference.prototype.applyOptions = function (watchQueryOptions) {
94
- var _a = this.watchQueryOptions, currentFetchPolicy = _a.fetchPolicy, currentCanonizeResults = _a.canonizeResults;
95
- if (currentFetchPolicy === "standby" &&
96
- currentFetchPolicy !== watchQueryOptions.fetchPolicy) {
97
- this.initiateFetch(this.observable.reobserve(watchQueryOptions));
98
- }
99
- else {
100
- this.observable.silentSetOptions(watchQueryOptions);
101
- if (currentCanonizeResults !== watchQueryOptions.canonizeResults) {
102
- this.result = tslib.__assign(tslib.__assign({}, this.result), this.observable.getCurrentResult());
103
- this.promise = utilities.createFulfilledPromise(this.result);
104
- }
105
- }
106
- return this.promise;
107
- };
108
- InternalQueryReference.prototype.listen = function (listener) {
109
- var _this = this;
110
- this.listeners.add(listener);
111
- return function () {
112
- _this.listeners.delete(listener);
113
- };
114
- };
115
- InternalQueryReference.prototype.refetch = function (variables) {
116
- return this.initiateFetch(this.observable.refetch(variables));
117
- };
118
- InternalQueryReference.prototype.fetchMore = function (options) {
119
- return this.initiateFetch(this.observable.fetchMore(options));
120
- };
121
- InternalQueryReference.prototype.dispose = function () {
122
- this.subscription.unsubscribe();
123
- this.onDispose();
124
- };
125
- InternalQueryReference.prototype.onDispose = function () {
126
- };
127
- InternalQueryReference.prototype.handleNext = function (result) {
128
- var _a;
129
- switch (this.status) {
130
- case "loading": {
131
- if (result.data === void 0) {
132
- result.data = this.result.data;
133
- }
134
- this.status = "idle";
135
- this.result = result;
136
- (_a = this.resolve) === null || _a === void 0 ? void 0 : _a.call(this, result);
137
- break;
138
- }
139
- case "idle": {
140
- if (result.data === this.result.data) {
141
- return;
142
- }
143
- if (result.data === void 0) {
144
- result.data = this.result.data;
145
- }
146
- this.result = result;
147
- this.promise = utilities.createFulfilledPromise(result);
148
- this.deliver(this.promise);
149
- break;
150
- }
151
- }
152
- };
153
- InternalQueryReference.prototype.handleError = function (error) {
154
- var _a;
155
- this.subscription.unsubscribe();
156
- this.subscription = this.observable.resubscribeAfterError(this.handleNext, this.handleError);
157
- switch (this.status) {
158
- case "loading": {
159
- this.status = "idle";
160
- (_a = this.reject) === null || _a === void 0 ? void 0 : _a.call(this, error);
161
- break;
162
- }
163
- case "idle": {
164
- this.promise = utilities.createRejectedPromise(error);
165
- this.deliver(this.promise);
166
- }
167
- }
168
- };
169
- InternalQueryReference.prototype.deliver = function (promise) {
170
- this.listeners.forEach(function (listener) { return listener(promise); });
171
- };
172
- InternalQueryReference.prototype.initiateFetch = function (returnedPromise) {
173
- var _this = this;
174
- this.status = "loading";
175
- this.promise = new Promise(function (resolve, reject) {
176
- _this.resolve = resolve;
177
- _this.reject = reject;
178
- });
179
- this.promise.catch(function () { });
180
- returnedPromise
181
- .then(function (result) {
182
- var _a;
183
- if (_this.status === "loading") {
184
- _this.status = "idle";
185
- _this.result = result;
186
- (_a = _this.resolve) === null || _a === void 0 ? void 0 : _a.call(_this, result);
187
- }
188
- })
189
- .catch(function () { });
190
- return returnedPromise;
191
- };
192
- return InternalQueryReference;
193
- }());
194
10
 
195
- var SuspenseCache$1 = (function () {
196
- function SuspenseCache(options) {
197
- if (options === void 0) { options = Object.create(null); }
198
- this.queryRefs = new trie.Trie(utilities.canUseWeakMap);
199
- this.options = options;
200
- }
201
- SuspenseCache.prototype.getQueryRef = function (cacheKey, createObservable) {
202
- var ref = this.queryRefs.lookupArray(cacheKey);
203
- if (!ref.current) {
204
- ref.current = new InternalQueryReference(createObservable(), {
205
- key: cacheKey,
206
- autoDisposeTimeoutMs: this.options.autoDisposeTimeoutMs,
207
- onDispose: function () {
208
- delete ref.current;
209
- },
210
- });
211
- }
212
- return ref.current;
213
- };
214
- return SuspenseCache;
215
- }());
216
-
217
- var SuspenseCache = (function (_super) {
218
- tslib.__extends(SuspenseCache, _super);
219
- function SuspenseCache() {
220
- _super.call(this) || this;
221
- throw new Error("It is no longer necessary to create a `SuspenseCache` instance and pass it into the `ApolloProvider`.\n" +
222
- "Please remove this code from your application. \n\n" +
223
- "This export will be removed with the final 3.8 release.");
224
- }
225
- return SuspenseCache;
226
- }(SuspenseCache$1));
227
11
 
228
12
  exports.ApolloConsumer = context.ApolloConsumer;
229
13
  exports.ApolloProvider = context.ApolloProvider;
@@ -232,8 +16,7 @@ exports.resetApolloContext = context.resetApolloContext;
232
16
  exports.DocumentType = parser.DocumentType;
233
17
  exports.operationName = parser.operationName;
234
18
  exports.parser = parser.parser;
235
- exports.SuspenseCache = SuspenseCache;
236
19
  for (var k in hooks) {
237
- if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = hooks[k];
20
+ if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = hooks[k];
238
21
  }
239
22
  //# sourceMappingURL=react.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"react.cjs","sources":["cache/QueryReference.js","cache/SuspenseCache.js","cache/index.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport { equal } from \"@wry/equality\";\nimport { isNetworkRequestSettled } from \"../../core/index.js\";\nimport { createFulfilledPromise, createRejectedPromise, } from \"../../utilities/index.js\";\nvar QUERY_REFERENCE_SYMBOL = Symbol();\nexport function wrapQueryRef(internalQueryRef) {\n var _a;\n return _a = {}, _a[QUERY_REFERENCE_SYMBOL] = internalQueryRef, _a;\n}\nexport function unwrapQueryRef(queryRef) {\n return queryRef[QUERY_REFERENCE_SYMBOL];\n}\nvar OBSERVED_CHANGED_OPTIONS = [\n \"canonizeResults\",\n \"context\",\n \"errorPolicy\",\n \"fetchPolicy\",\n \"refetchWritePolicy\",\n \"returnPartialData\",\n];\nvar InternalQueryReference = (function () {\n function InternalQueryReference(observable, options) {\n var _this = this;\n var _a;\n this.listeners = new Set();\n this.status = \"loading\";\n this.references = 0;\n this.handleNext = this.handleNext.bind(this);\n this.handleError = this.handleError.bind(this);\n this.dispose = this.dispose.bind(this);\n this.observable = observable;\n this.result = observable.getCurrentResult(false);\n this.key = options.key;\n if (options.onDispose) {\n this.onDispose = options.onDispose;\n }\n if (isNetworkRequestSettled(this.result.networkStatus) ||\n (this.result.data &&\n (!this.result.partial || this.watchQueryOptions.returnPartialData))) {\n this.promise = createFulfilledPromise(this.result);\n this.status = \"idle\";\n }\n else {\n this.promise = new Promise(function (resolve, reject) {\n _this.resolve = resolve;\n _this.reject = reject;\n });\n }\n this.subscription = observable\n .filter(function (_a) {\n var data = _a.data;\n return !equal(data, {});\n })\n .subscribe({\n next: this.handleNext,\n error: this.handleError,\n });\n this.autoDisposeTimeoutId = setTimeout(this.dispose, (_a = options.autoDisposeTimeoutMs) !== null && _a !== void 0 ? _a : 30000);\n }\n Object.defineProperty(InternalQueryReference.prototype, \"watchQueryOptions\", {\n get: function () {\n return this.observable.options;\n },\n enumerable: false,\n configurable: true\n });\n InternalQueryReference.prototype.retain = function () {\n var _this = this;\n this.references++;\n clearTimeout(this.autoDisposeTimeoutId);\n var disposed = false;\n return function () {\n if (disposed) {\n return;\n }\n disposed = true;\n _this.references--;\n setTimeout(function () {\n if (!_this.references) {\n _this.dispose();\n }\n });\n };\n };\n InternalQueryReference.prototype.didChangeOptions = function (watchQueryOptions) {\n var _this = this;\n return OBSERVED_CHANGED_OPTIONS.some(function (option) {\n return !equal(_this.watchQueryOptions[option], watchQueryOptions[option]);\n });\n };\n InternalQueryReference.prototype.applyOptions = function (watchQueryOptions) {\n var _a = this.watchQueryOptions, currentFetchPolicy = _a.fetchPolicy, currentCanonizeResults = _a.canonizeResults;\n if (currentFetchPolicy === \"standby\" &&\n currentFetchPolicy !== watchQueryOptions.fetchPolicy) {\n this.initiateFetch(this.observable.reobserve(watchQueryOptions));\n }\n else {\n this.observable.silentSetOptions(watchQueryOptions);\n if (currentCanonizeResults !== watchQueryOptions.canonizeResults) {\n this.result = __assign(__assign({}, this.result), this.observable.getCurrentResult());\n this.promise = createFulfilledPromise(this.result);\n }\n }\n return this.promise;\n };\n InternalQueryReference.prototype.listen = function (listener) {\n var _this = this;\n this.listeners.add(listener);\n return function () {\n _this.listeners.delete(listener);\n };\n };\n InternalQueryReference.prototype.refetch = function (variables) {\n return this.initiateFetch(this.observable.refetch(variables));\n };\n InternalQueryReference.prototype.fetchMore = function (options) {\n return this.initiateFetch(this.observable.fetchMore(options));\n };\n InternalQueryReference.prototype.dispose = function () {\n this.subscription.unsubscribe();\n this.onDispose();\n };\n InternalQueryReference.prototype.onDispose = function () {\n };\n InternalQueryReference.prototype.handleNext = function (result) {\n var _a;\n switch (this.status) {\n case \"loading\": {\n if (result.data === void 0) {\n result.data = this.result.data;\n }\n this.status = \"idle\";\n this.result = result;\n (_a = this.resolve) === null || _a === void 0 ? void 0 : _a.call(this, result);\n break;\n }\n case \"idle\": {\n if (result.data === this.result.data) {\n return;\n }\n if (result.data === void 0) {\n result.data = this.result.data;\n }\n this.result = result;\n this.promise = createFulfilledPromise(result);\n this.deliver(this.promise);\n break;\n }\n }\n };\n InternalQueryReference.prototype.handleError = function (error) {\n var _a;\n this.subscription.unsubscribe();\n this.subscription = this.observable.resubscribeAfterError(this.handleNext, this.handleError);\n switch (this.status) {\n case \"loading\": {\n this.status = \"idle\";\n (_a = this.reject) === null || _a === void 0 ? void 0 : _a.call(this, error);\n break;\n }\n case \"idle\": {\n this.promise = createRejectedPromise(error);\n this.deliver(this.promise);\n }\n }\n };\n InternalQueryReference.prototype.deliver = function (promise) {\n this.listeners.forEach(function (listener) { return listener(promise); });\n };\n InternalQueryReference.prototype.initiateFetch = function (returnedPromise) {\n var _this = this;\n this.status = \"loading\";\n this.promise = new Promise(function (resolve, reject) {\n _this.resolve = resolve;\n _this.reject = reject;\n });\n this.promise.catch(function () { });\n returnedPromise\n .then(function (result) {\n var _a;\n if (_this.status === \"loading\") {\n _this.status = \"idle\";\n _this.result = result;\n (_a = _this.resolve) === null || _a === void 0 ? void 0 : _a.call(_this, result);\n }\n })\n .catch(function () { });\n return returnedPromise;\n };\n return InternalQueryReference;\n}());\nexport { InternalQueryReference };\n//# sourceMappingURL=QueryReference.js.map","import { Trie } from \"@wry/trie\";\nimport { canUseWeakMap } from \"../../utilities/index.js\";\nimport { InternalQueryReference } from \"./QueryReference.js\";\nvar SuspenseCache = (function () {\n function SuspenseCache(options) {\n if (options === void 0) { options = Object.create(null); }\n this.queryRefs = new Trie(canUseWeakMap);\n this.options = options;\n }\n SuspenseCache.prototype.getQueryRef = function (cacheKey, createObservable) {\n var ref = this.queryRefs.lookupArray(cacheKey);\n if (!ref.current) {\n ref.current = new InternalQueryReference(createObservable(), {\n key: cacheKey,\n autoDisposeTimeoutMs: this.options.autoDisposeTimeoutMs,\n onDispose: function () {\n delete ref.current;\n },\n });\n }\n return ref.current;\n };\n return SuspenseCache;\n}());\nexport { SuspenseCache };\n//# sourceMappingURL=SuspenseCache.js.map","import { __extends } from \"tslib\";\nexport { getSuspenseCache } from \"./getSuspenseCache.js\";\nimport { SuspenseCache as RealSuspenseCache } from \"./SuspenseCache.js\";\nvar SuspenseCache = (function (_super) {\n __extends(SuspenseCache, _super);\n function SuspenseCache() {\n var _this = _super.call(this) || this;\n throw new Error(\"It is no longer necessary to create a `SuspenseCache` instance and pass it into the `ApolloProvider`.\\n\" +\n \"Please remove this code from your application. \\n\\n\" +\n \"This export will be removed with the final 3.8 release.\");\n return _this;\n }\n return SuspenseCache;\n}(RealSuspenseCache));\nexport { SuspenseCache };\n//# sourceMappingURL=index.js.map"],"names":["isNetworkRequestSettled","createFulfilledPromise","equal","__assign","createRejectedPromise","SuspenseCache","Trie","canUseWeakMap","__extends","RealSuspenseCache"],"mappings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