cm-chessboard 8.7.3 → 8.7.5

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/README.md CHANGED
@@ -389,9 +389,7 @@ const chessboard = new Chessboard(document.getElementById("board"), {
389
389
  - License for the Wikimedia SVG-pieces (
390
390
  chessboard-sprite.svg): [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)
391
391
 
392
- ## cm-chess
393
-
394
- You may also be interested in [cm-chess](https://github.com/shaack/cm-chess), it is like
395
- [chess.js](https://github.com/jhlywa/chess.js), but in ES6 and can handle games and PGNs with variants, NAGs and
396
- comments.
392
+ ---
397
393
 
394
+ Find more high quality JavaScript modules from [shaack.com](https://shaack.com)
395
+ on [our projects page](https://shaack.com/works).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chessboard",
3
- "version": "8.7.3",
3
+ "version": "8.7.5",
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() {