@blocklet/discuss-kit 1.5.178 → 1.5.180
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/lib/cjs/comments.js +2 -3
- package/lib/es/comments.js +2 -3
- package/package.json +4 -4
package/lib/cjs/comments.js
CHANGED
|
@@ -263,9 +263,8 @@ function Wrapper({
|
|
|
263
263
|
react.useEffect(() => {
|
|
264
264
|
wsClient.connect();
|
|
265
265
|
return () => {
|
|
266
|
-
if (wsClient.isConnected())
|
|
267
|
-
|
|
268
|
-
}
|
|
266
|
+
if (wsClient.isConnected())
|
|
267
|
+
;
|
|
269
268
|
};
|
|
270
269
|
}, []);
|
|
271
270
|
api.defaults.baseURL = joinUrl(_prefix, "/api/");
|
package/lib/es/comments.js
CHANGED
|
@@ -262,9 +262,8 @@ function Wrapper({
|
|
|
262
262
|
useEffect(() => {
|
|
263
263
|
wsClient.connect();
|
|
264
264
|
return () => {
|
|
265
|
-
if (wsClient.isConnected())
|
|
266
|
-
|
|
267
|
-
}
|
|
265
|
+
if (wsClient.isConnected())
|
|
266
|
+
;
|
|
268
267
|
};
|
|
269
268
|
}, []);
|
|
270
269
|
api.defaults.baseURL = joinUrl(_prefix, "/api/");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.180",
|
|
4
4
|
"description": "A react component for Discuss Kit blocklet.",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/es/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@arcblock/did-connect": "^2.8.14",
|
|
38
38
|
"@arcblock/ux": "^2.8.14",
|
|
39
39
|
"@arcblock/ws": "^1.18.95",
|
|
40
|
-
"@blocklet/discuss-kit-ux": "1.5.
|
|
41
|
-
"@blocklet/editor": "1.5.
|
|
40
|
+
"@blocklet/discuss-kit-ux": "1.5.180",
|
|
41
|
+
"@blocklet/editor": "1.5.180",
|
|
42
42
|
"@emotion/react": "^11.10.5",
|
|
43
43
|
"@emotion/styled": "^11.10.5",
|
|
44
44
|
"@mui/icons-material": "^5.14.9",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"vite-plugin-build": "^0.10.0",
|
|
78
78
|
"vite-plugin-svgr": "^4.1.0"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "03bb085f46171e161519d7acc05a6de3b8c6c676"
|
|
81
81
|
}
|