@apollo/client 3.5.0-rc.2 → 3.5.0-rc.3
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.
- package/apollo-client.cjs +546 -524
- package/apollo-client.cjs.map +1 -1
- package/apollo-client.min.cjs +1 -1
- package/cache/cache.cjs +545 -523
- package/cache/cache.cjs.map +1 -1
- package/cache/inmemory/key-extractor.d.ts +9 -0
- package/cache/inmemory/key-extractor.d.ts.map +1 -0
- package/cache/inmemory/key-extractor.js +118 -0
- package/cache/inmemory/key-extractor.js.map +1 -0
- package/cache/inmemory/policies.d.ts +11 -8
- package/cache/inmemory/policies.d.ts.map +1 -1
- package/cache/inmemory/policies.js +42 -156
- package/cache/inmemory/policies.js.map +1 -1
- package/cache/inmemory/writeToStore.d.ts.map +1 -1
- package/cache/inmemory/writeToStore.js +44 -22
- package/cache/inmemory/writeToStore.js.map +1 -1
- package/core/QueryManager.js +1 -1
- package/core/QueryManager.js.map +1 -1
- package/core/core.cjs +2 -2
- package/core/core.cjs.map +1 -1
- package/invariantErrorCodes.js +5 -5
- package/package.json +11 -11
- package/version.js +1 -1
package/invariantErrorCodes.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// consult the @apollo/client/invariantErrorCodes.js file specific to
|
|
6
6
|
// your @apollo/client version. This file is not meant to be imported.
|
|
7
7
|
{
|
|
8
|
-
"@apollo/client version": "3.5.0-rc.
|
|
8
|
+
"@apollo/client version": "3.5.0-rc.3",
|
|
9
9
|
|
|
10
10
|
1: {
|
|
11
11
|
file: "@apollo/client/cache/inmemory/entityStore.js",
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
},
|
|
14
14
|
|
|
15
15
|
2: {
|
|
16
|
-
file: "@apollo/client/cache/inmemory/
|
|
17
|
-
node: invariant(
|
|
16
|
+
file: "@apollo/client/cache/inmemory/key-extractor.js",
|
|
17
|
+
node: invariant(extracted !== void 0, "Missing field '" + schemaKeyPath.join('.') + "' while extracting keyFields from " + JSON.stringify(object))
|
|
18
18
|
},
|
|
19
19
|
|
|
20
20
|
3: {
|
|
21
21
|
file: "@apollo/client/cache/inmemory/policies.js",
|
|
22
|
-
node:
|
|
22
|
+
node: invariant(!old || old === which, "Cannot change root " + which + " __typename more than once")
|
|
23
23
|
},
|
|
24
24
|
|
|
25
25
|
4: {
|
|
26
26
|
file: "@apollo/client/cache/inmemory/policies.js",
|
|
27
|
-
node:
|
|
27
|
+
node: new InvariantError("Cannot automatically merge arrays")
|
|
28
28
|
},
|
|
29
29
|
|
|
30
30
|
5: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollo/client",
|
|
3
|
-
"version": "3.5.0-rc.
|
|
3
|
+
"version": "3.5.0-rc.3",
|
|
4
4
|
"description": "A fully-featured caching GraphQL client.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"keywords": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"client",
|
|
12
12
|
"cache"
|
|
13
13
|
],
|
|
14
|
-
"author": "
|
|
14
|
+
"author": "packages@apollographql.com",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"main": "./main.cjs",
|
|
17
17
|
"module": "./index.js",
|
|
@@ -56,26 +56,26 @@
|
|
|
56
56
|
"zen-observable-ts": "^1.2.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@babel/parser": "7.
|
|
60
|
-
"@graphql-tools/schema": "8.
|
|
59
|
+
"@babel/parser": "7.16.0",
|
|
60
|
+
"@graphql-tools/schema": "8.3.1",
|
|
61
61
|
"@rollup/plugin-node-resolve": "11.2.1",
|
|
62
62
|
"@testing-library/react": "9.5.0",
|
|
63
63
|
"@testing-library/react-hooks": "7.0.2",
|
|
64
64
|
"@types/fast-json-stable-stringify": "2.0.0",
|
|
65
65
|
"@types/fetch-mock": "7.3.5",
|
|
66
|
-
"@types/glob": "7.
|
|
66
|
+
"@types/glob": "7.2.0",
|
|
67
67
|
"@types/hoist-non-react-statics": "3.3.1",
|
|
68
68
|
"@types/jest": "26.0.24",
|
|
69
|
-
"@types/lodash": "4.14.
|
|
70
|
-
"@types/node": "16.11.
|
|
71
|
-
"@types/react": "17.0.
|
|
69
|
+
"@types/lodash": "4.14.176",
|
|
70
|
+
"@types/node": "16.11.6",
|
|
71
|
+
"@types/react": "17.0.33",
|
|
72
72
|
"@types/react-dom": "17.0.2",
|
|
73
73
|
"bundlesize": "0.18.1",
|
|
74
74
|
"cross-fetch": "3.1.4",
|
|
75
75
|
"crypto-hash": "1.3.0",
|
|
76
76
|
"fetch-mock": "9.11.0",
|
|
77
77
|
"glob": "7.2.0",
|
|
78
|
-
"graphql": "15.
|
|
78
|
+
"graphql": "15.7.2",
|
|
79
79
|
"jest": "26.6.3",
|
|
80
80
|
"jest-fetch-mock": "3.0.3",
|
|
81
81
|
"jest-junit": "12.3.0",
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
"subscriptions-transport-ws": "0.9.19",
|
|
92
92
|
"terser": "5.9.0",
|
|
93
93
|
"ts-jest": "26.5.6",
|
|
94
|
-
"ts-node": "10.
|
|
94
|
+
"ts-node": "10.4.0",
|
|
95
95
|
"typescript": "4.4.4",
|
|
96
96
|
"wait-for-observables": "1.0.3",
|
|
97
|
-
"whatwg-fetch": "
|
|
97
|
+
"whatwg-fetch": "3.6.2"
|
|
98
98
|
},
|
|
99
99
|
"publishConfig": {
|
|
100
100
|
"access": "public"
|
package/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var version = '3.5.0-rc.
|
|
1
|
+
export var version = '3.5.0-rc.3';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|