valtech-components 4.0.378 → 4.0.379

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.
@@ -8,7 +8,7 @@ interface ChessimalsAnimalView {
8
8
  assetSrc: string;
9
9
  tone: number;
10
10
  }
11
- type ChessimalsConfirmAction = 'restart' | 'home' | 'resign';
11
+ type ChessimalsConfirmAction = 'restart' | 'mode' | 'games' | 'resign';
12
12
  type ChessimalsRematchState = 'none' | 'requested' | 'incoming';
13
13
  interface ChessimalsMovingPieceView {
14
14
  color: ChessimalsPlayerColor;
@@ -99,10 +99,12 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
99
99
  joinOnlineGameByCode(): Promise<void>;
100
100
  openOnlineGame(gameId: string): Promise<void>;
101
101
  restartGame(): void;
102
- resetToHome(): void;
102
+ resetToModeSetup(): void;
103
+ resetToGamesMenu(): void;
103
104
  private resetFinishedLocalGameForNextVisit;
104
105
  requestRestartGame(): void;
105
- requestResetToHome(): void;
106
+ requestChangeMode(): void;
107
+ requestChangeGame(): void;
106
108
  requestResign(): void;
107
109
  closeConfirmModal(): void;
108
110
  confirmPendingAction(token?: string): void;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.378";
5
+ export declare const VERSION = "4.0.379";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.378",
3
+ "version": "4.0.379",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"