@blocklet/discuss-kit 1.0.47 → 1.0.49

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.
@@ -111,7 +111,8 @@ const commentAPI = {
111
111
  data
112
112
  } = await api__default.default.post(`/comments/${rootId || id}/replies`, {
113
113
  content,
114
- parentId: id
114
+ parentId: id,
115
+ link: window.location.href
115
116
  });
116
117
  return formatComment(data);
117
118
  },
@@ -98,7 +98,8 @@ const commentAPI = {
98
98
  data
99
99
  } = await api.post(`/comments/${rootId || id}/replies`, {
100
100
  content,
101
- parentId: id
101
+ parentId: id,
102
+ link: window.location.href
102
103
  });
103
104
  return formatComment(data);
104
105
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
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.4.65",
38
38
  "@arcblock/ux": "^2.4.65",
39
39
  "@arcblock/ws": "^1.18.35",
40
- "@blocklet/discuss-kit-ux": "1.0.47",
41
- "@blocklet/editor": "1.0.47",
40
+ "@blocklet/discuss-kit-ux": "1.0.49",
41
+ "@blocklet/editor": "1.0.49",
42
42
  "@emotion/react": "^11.10.5",
43
43
  "@emotion/styled": "^11.10.5",
44
44
  "@mui/icons-material": "^5.10.9",
@@ -77,5 +77,5 @@
77
77
  "vite-plugin-build": "^0.6.0",
78
78
  "vite-plugin-svgr": "^2.2.2"
79
79
  },
80
- "gitHead": "1052b55ab25ac1dff2ca7289bc32a46b2150f229"
80
+ "gitHead": "961e45a54097b730d57208d3b80519fe39c49d29"
81
81
  }