cm-chessboard 8.6.1 → 8.7.0
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 +1 -1
- package/src/Chessboard.js +2 -1
- package/src/model/Position.js +4 -0
package/package.json
CHANGED
package/src/Chessboard.js
CHANGED
|
@@ -112,8 +112,9 @@ export class Chessboard {
|
|
|
112
112
|
return this.state.position.getPiece(square)
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
/** return the position object since 2024-04-20 (8.7.0) */
|
|
115
116
|
getPosition() {
|
|
116
|
-
return this.state.position
|
|
117
|
+
return this.state.position
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
getOrientation() {
|