Comparing version 1.5.0 to 1.5.1
@@ -11,2 +11,3 @@ export { createNewGame } from './createNewGame'; | ||
export { undo } from './undo'; | ||
export { redo } from './redo'; | ||
/** | ||
@@ -13,0 +14,0 @@ * Deprecated. This function has been renamed to getUnicodeRepresentation. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.undoLastMove = exports.isValidMove = exports.getAsciiRepresentation = exports.undo = exports.getTurn = exports.getValidMoveArray = exports.getWinner = exports.isGameOver = exports.makeMove = exports.getUnicodeRepresentation = exports.isMoveValid = exports.createGameFromMoves = exports.createNewGame = void 0; | ||
exports.undoLastMove = exports.isValidMove = exports.getAsciiRepresentation = exports.redo = exports.undo = exports.getTurn = exports.getValidMoveArray = exports.getWinner = exports.isGameOver = exports.makeMove = exports.getUnicodeRepresentation = exports.isMoveValid = exports.createGameFromMoves = exports.createNewGame = void 0; | ||
var createNewGame_1 = require("./createNewGame"); | ||
@@ -24,2 +24,4 @@ Object.defineProperty(exports, "createNewGame", { enumerable: true, get: function () { return createNewGame_1.createNewGame; } }); | ||
Object.defineProperty(exports, "undo", { enumerable: true, get: function () { return undo_1.undo; } }); | ||
var redo_1 = require("./redo"); | ||
Object.defineProperty(exports, "redo", { enumerable: true, get: function () { return redo_1.redo; } }); | ||
var getUnicodeRepresentation_2 = require("./getUnicodeRepresentation"); | ||
@@ -26,0 +28,0 @@ var isMoveValid_2 = require("./isMoveValid"); |
{ | ||
"name": "quoridor", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "A JavaScipt Quoridor library for move validation etc.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -208,3 +208,3 @@ # quoridor.js | ||
```TypeScript | ||
import { createGameFromMoves, undo, getUnicodeRepresentation } from 'quoridor'; | ||
import { createGameFromMoves, redo, undo, getUnicodeRepresentation } from 'quoridor'; | ||
@@ -211,0 +211,0 @@ const game = createGameFromMoves(['e2', 'e8', 'd7v']); |
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
106222
2223