cm-chessboard 8.7.3 → 8.7.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chessboard",
3
- "version": "8.7.3",
3
+ "version": "8.7.4",
4
4
  "description": "A JavaScript chessboard which is lightweight, ES6 module based, responsive, SVG rendered and without dependencies.",
5
5
  "keywords": [
6
6
  "chess",
package/src/Chessboard.js CHANGED
@@ -115,9 +115,8 @@ export class Chessboard {
115
115
  return this.state.position.getPiece(square)
116
116
  }
117
117
 
118
- /** return the position object since 2024-04-20 (8.7.0) */
119
118
  getPosition() {
120
- return this.state.position
119
+ return this.state.position.getFen()
121
120
  }
122
121
 
123
122
  getOrientation() {