disgamekit
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -55,3 +55,3 @@ import { Game } from './Game'; | ||
*/ | ||
return(row: string, column: string): string; | ||
return(row?: string, column?: string): string; | ||
} |
@@ -77,3 +77,3 @@ /// <reference types="node" /> | ||
*/ | ||
step(target: PlaneObject): Error; | ||
step(target?: PlaneObject): Error; | ||
/** | ||
@@ -80,0 +80,0 @@ * Stop running the AI |
@@ -29,3 +29,3 @@ /// <reference types="node" /> | ||
*/ | ||
nextTurn(overridePlayer: Player): void; | ||
nextTurn(overridePlayer?: Player): void; | ||
/** | ||
@@ -32,0 +32,0 @@ * Reverses the order of the turns |
@@ -1,4 +0,4 @@ | ||
export { Game } from './class/Game'; | ||
export { Plane } from './class/Plane'; | ||
export { PlaneObject } from './class/PlaneObject'; | ||
export * from './class/Game'; | ||
export * from './class/Plane'; | ||
export * from './class/PlaneObject'; | ||
export * from './class/Turns'; |
@@ -17,10 +17,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PlaneObject = exports.Plane = exports.Game = void 0; | ||
var Game_1 = require("./class/Game"); | ||
Object.defineProperty(exports, "Game", { enumerable: true, get: function () { return Game_1.Game; } }); | ||
var Plane_1 = require("./class/Plane"); | ||
Object.defineProperty(exports, "Plane", { enumerable: true, get: function () { return Plane_1.Plane; } }); | ||
var PlaneObject_1 = require("./class/PlaneObject"); | ||
Object.defineProperty(exports, "PlaneObject", { enumerable: true, get: function () { return PlaneObject_1.PlaneObject; } }); | ||
__exportStar(require("./class/Game"), exports); | ||
__exportStar(require("./class/Plane"), exports); | ||
__exportStar(require("./class/PlaneObject"), exports); | ||
__exportStar(require("./class/Turns"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "disgamekit", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "A small package that will help making ts/js discord bot mini games way easier!", | ||
@@ -41,3 +41,6 @@ "main": "dist/index.js", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"@types/node": "^20.6.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
53384
1
697
+ Added@types/node@^20.6.3
+ Added@types/node@20.17.7(transitive)
+ Addedundici-types@6.19.8(transitive)