react-cosmos-ui 6.0.0-alpha.5 → 6.0.0-alpha.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.
|
@@ -8,7 +8,7 @@ export function checkRendererStatus(context, rendererUrl) {
|
|
|
8
8
|
// The plugin might unmount before the fetch call returns a status, in which
|
|
9
9
|
// case we no longer want to update the (unmounted) plugin state
|
|
10
10
|
let unmounted = false;
|
|
11
|
-
fetch(rendererUrl, { credentials: '
|
|
11
|
+
fetch(rendererUrl, { credentials: 'same-origin' })
|
|
12
12
|
.then(({ status }) => {
|
|
13
13
|
if (!unmounted) {
|
|
14
14
|
context.setState(state => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-cosmos-ui",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.7",
|
|
4
4
|
"description": "React Cosmos UI",
|
|
5
5
|
"repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-ui",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,15 +10,18 @@
|
|
|
10
10
|
"./dist/plugins/pluginEntry.js",
|
|
11
11
|
"./dist/plugins/*/index.js"
|
|
12
12
|
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"playground": "cosmos"
|
|
15
|
+
},
|
|
13
16
|
"dependencies": {
|
|
14
17
|
"lodash-es": "^4.17.21",
|
|
15
|
-
"react-cosmos-core": "^6.0.0-alpha.
|
|
18
|
+
"react-cosmos-core": "^6.0.0-alpha.6"
|
|
16
19
|
},
|
|
17
20
|
"devDependencies": {
|
|
18
21
|
"fuzzaldrin-plus": "^0.6.0",
|
|
19
22
|
"localforage": "^1.10.0",
|
|
20
23
|
"react-plugin": "^3.0.0-alpha.4",
|
|
21
|
-
"styled-components": "^5.3.
|
|
24
|
+
"styled-components": "^5.3.8"
|
|
22
25
|
},
|
|
23
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "f4702e164485966e21a8b3ec4cac8377914ee3dc"
|
|
24
27
|
}
|