diff --git a/package.json b/package.json index 445eb54..0aa6f94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tournament-organizer", - "version": "3.2.5", + "version": "3.2.6", "description": "JavaScript library for running tournaments", "exports": { ".": { @@ -40,17 +40,17 @@ }, "homepage": "https://github.com/slashinfty/tournament-organizer/blob/main/DOCS.md", "dependencies": { - "randomstring": "^1.2.3", + "randomstring": "^1.3.0", "tournament-pairings": "^1.5.2" }, "devDependencies": { - "@rollup/plugin-commonjs": "^24.0.1", - "@rollup/plugin-node-resolve": "^15.0.1", - "@rollup/plugin-typescript": "^11.0.0", + "@rollup/plugin-commonjs": "^25.0.4", + "@rollup/plugin-node-resolve": "^15.2.1", + "@rollup/plugin-typescript": "^11.1.3", "@types/randomstring": "^1.1.8", - "rollup": "^3.12.0", + "rollup": "^3.28.1", "rollup-plugin-polyfill-node": "^0.12.0", - "tslib": "^2.5.0", - "typescript": "^4.9.5" + "tslib": "^2.6.2", + "typescript": "^5.2.2" } } diff --git a/src/Manager.ts b/src/Manager.ts index 2c49233..bb8d044 100644 --- a/src/Manager.ts +++ b/src/Manager.ts @@ -78,6 +78,7 @@ export class Manager { tournament.settings = { status: tourney.status }; + this.tournaments.push(tournament); return tournament; }