chess-moments 1.4.0 → 1.4.1

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.
@@ -102,6 +102,11 @@ const momentsToPgn = (moments) => {
102
102
  // Add the move
103
103
  pgn += moment.move;
104
104
 
105
+ // Add suffix if present
106
+ if (moment.suffix) {
107
+ pgn += moment.suffix;
108
+ }
109
+
105
110
  // Add comment if present
106
111
  if (moment.comment) {
107
112
  pgn += ` {${moment.comment}}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chess-moments",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "PGN parser that transforms PGN files into chess \"moments\"",
5
5
  "main": "index.js",
6
6
  "files": [