onix-chess
Advanced tools
Comparing version 6.7.0 to 6.7.1
@@ -11,3 +11,3 @@ "use strict"; | ||
if (!move.isBegin()) { | ||
const { sm } = move.Prev; | ||
const { sm } = move; | ||
if (sm) { | ||
@@ -14,0 +14,0 @@ lastMove = [Square_1.Square.name(sm.from), Square_1.Square.name(sm.to)]; |
{ | ||
"name": "onix-chess", | ||
"version": "6.7.0", | ||
"version": "6.7.1", | ||
"description": "Onix chess library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -20,3 +20,3 @@ import * as cg from 'chessground/types'; | ||
if (!move.isBegin()) { | ||
const { sm } = move.Prev!; | ||
const { sm } = move; | ||
if (sm) { | ||
@@ -23,0 +23,0 @@ lastMove = [<cg.Key>Square.name(sm.from!), <cg.Key>Square.name(sm.to!)]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
490057