@blocklet/discuss-kit 1.0.14 → 1.0.16
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 -1
- package/lib/es/comments.js +2 -1
- package/package.json +6 -6
package/lib/cjs/comments.js
CHANGED
|
@@ -253,7 +253,8 @@ function DiscussKitComments({
|
|
|
253
253
|
}), session.user && /* @__PURE__ */ jsxRuntime.jsx(Box__default.default, {
|
|
254
254
|
mt: 2.5,
|
|
255
255
|
children: /* @__PURE__ */ jsxRuntime.jsx(discussKitUx.CommentInput, {
|
|
256
|
-
send: sendComment
|
|
256
|
+
send: sendComment,
|
|
257
|
+
draftKey: `object-${object.id}`
|
|
257
258
|
})
|
|
258
259
|
})]
|
|
259
260
|
}), !!total && /* @__PURE__ */ jsxRuntime.jsxs(Box__default.default, {
|
package/lib/es/comments.js
CHANGED
|
@@ -239,7 +239,8 @@ function DiscussKitComments({
|
|
|
239
239
|
}), session.user && /* @__PURE__ */ jsx(Box, {
|
|
240
240
|
mt: 2.5,
|
|
241
241
|
children: /* @__PURE__ */ jsx(CommentInput, {
|
|
242
|
-
send: sendComment
|
|
242
|
+
send: sendComment,
|
|
243
|
+
draftKey: `object-${object.id}`
|
|
243
244
|
})
|
|
244
245
|
})]
|
|
245
246
|
}), !!total && /* @__PURE__ */ jsxs(Box, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "A react component for Discuss Kit blocklet.",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/es/index.js",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"author": "Nate <nate@arcblock.io> (http://github.com/NateRobinson)",
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@arcblock/did-connect": "^2.4.
|
|
38
|
-
"@arcblock/ux": "^2.4.
|
|
39
|
-
"@arcblock/ws": "^1.18.
|
|
40
|
-
"@blocklet/discuss-kit-ux": "1.0.
|
|
37
|
+
"@arcblock/did-connect": "^2.4.58",
|
|
38
|
+
"@arcblock/ux": "^2.4.58",
|
|
39
|
+
"@arcblock/ws": "^1.18.31",
|
|
40
|
+
"@blocklet/discuss-kit-ux": "1.0.16",
|
|
41
41
|
"@blocklet/editor": "^0.0.10",
|
|
42
42
|
"@emotion/react": "^11.10.5",
|
|
43
43
|
"@emotion/styled": "^11.10.5",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"vite-plugin-build": "^0.6.0",
|
|
78
78
|
"vite-plugin-svgr": "^2.2.2"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "3a6f6d393144c5d6215657df2865e05952bfba22"
|
|
81
81
|
}
|