gatsby-core-theme 44.4.19 → 44.4.21

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/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [44.4.21](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.20...v44.4.21) (2025-07-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * edited build logic for comment id ([0153f65](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/0153f659465222210e6999ca470e1c2325e5b8ee))
7
+ * tests ([6e62b0d](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/6e62b0d3fcb23f9c02f6d4fb6dee9d23bbdeb298))
8
+
9
+ ## [44.4.20](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.19...v44.4.20) (2025-07-23)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * added reply + voting ([fe3d9d8](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/fe3d9d820ef0ea384ef5e6171510c5f64c64bde5))
15
+
1
16
  ## [44.4.19](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.4.18...v44.4.19) (2025-07-23)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.4.19",
3
+ "version": "44.4.21",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -36,6 +36,8 @@ const LeaveCommentForm = ({
36
36
  data.market_short_code = activeMarket;
37
37
 
38
38
  if(data?.post_anonymously) delete data?.name;
39
+ if(!data?.rate) delete data?.rate;
40
+
39
41
  delete data?.post_anonymously;
40
42
  delete data?.tnc;
41
43
 
@@ -10,7 +10,8 @@ export function transformComments(comments) {
10
10
  if(comment.approved){
11
11
  transformedComments[refId].push({
12
12
  replies: transformComments(comment?.replies)[refId],
13
- comment_id: refId,
13
+ ref_id: refId,
14
+ comment_id: comment?.id,
14
15
  email: comment?.email,
15
16
  name: comment?.name,
16
17
  comment: comment?.comment,
@@ -13,7 +13,8 @@ describe('transformComments', () => {
13
13
  email: null,
14
14
  name: 'Comment Test 2',
15
15
  comment: 'Lorem ipsum dolor sit amet',
16
- comment_id: 214206,
16
+ ref_id: 214206,
17
+ comment_id: '684aa52e584a3feef503fc42',
17
18
  rate: 2,
18
19
  author_id: 229,
19
20
  votes_down: 0,