@webiny/app 5.22.0-beta.3 → 5.23.0-beta.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.23.0-beta.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"@babel/runtime": "7.16.7",
|
|
19
19
|
"@emotion/styled": "10.3.0",
|
|
20
20
|
"@types/react": "16.14.2",
|
|
21
|
-
"@webiny/i18n": "5.
|
|
22
|
-
"@webiny/i18n-react": "5.
|
|
23
|
-
"@webiny/plugins": "5.
|
|
24
|
-
"@webiny/react-router": "5.
|
|
25
|
-
"@webiny/ui": "5.
|
|
21
|
+
"@webiny/i18n": "5.23.0-beta.0",
|
|
22
|
+
"@webiny/i18n-react": "5.23.0-beta.0",
|
|
23
|
+
"@webiny/plugins": "5.23.0-beta.0",
|
|
24
|
+
"@webiny/react-router": "5.23.0-beta.0",
|
|
25
|
+
"@webiny/ui": "5.23.0-beta.0",
|
|
26
26
|
"apollo-cache": "1.3.5",
|
|
27
27
|
"apollo-cache-inmemory": "1.6.6",
|
|
28
28
|
"apollo-client": "2.6.10",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@babel/preset-env": "^7.16.4",
|
|
47
47
|
"@babel/preset-react": "^7.16.0",
|
|
48
48
|
"@babel/preset-typescript": "^7.16.0",
|
|
49
|
-
"@webiny/cli": "^5.
|
|
50
|
-
"@webiny/project-utils": "^5.
|
|
49
|
+
"@webiny/cli": "^5.23.0-beta.0",
|
|
50
|
+
"@webiny/project-utils": "^5.23.0-beta.0",
|
|
51
51
|
"babel-plugin-lodash": "^3.3.4",
|
|
52
52
|
"rimraf": "^3.0.2",
|
|
53
53
|
"typescript": "^4.1.3"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "deb16c58954f7396c848f04806a2028aa53cc97b"
|
|
71
71
|
}
|
|
@@ -14,6 +14,8 @@ function createLink(plugin) {
|
|
|
14
14
|
console.error("Caught an error while executing \"createLink\" on plugin", plugin);
|
|
15
15
|
console.error(e);
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
return null;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export var ApolloDynamicLink = /*#__PURE__*/function (_ApolloLink) {
|
|
@@ -51,7 +53,10 @@ export var ApolloDynamicLink = /*#__PURE__*/function (_ApolloLink) {
|
|
|
51
53
|
}).join(",");
|
|
52
54
|
|
|
53
55
|
if (!this.cache.has(cacheKey)) {
|
|
54
|
-
|
|
56
|
+
/**
|
|
57
|
+
* We filter out falsy items from the linkPlugins because there might be some error while creating link.
|
|
58
|
+
*/
|
|
59
|
+
this.cache.set(cacheKey, ApolloLink.from(linkPlugins.map(createLink).filter(Boolean)));
|
|
55
60
|
}
|
|
56
61
|
|
|
57
62
|
return this.cache.get(cacheKey).request(operation, forward);
|