valtech-components 4.0.570 → 4.0.571

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.
@@ -9,6 +9,7 @@ export declare class ChessimalsChallengeProgressService {
9
9
  watchStats(): Observable<ChessimalsChallengeStats | undefined>;
10
10
  watchRecentRuns(limitCount?: number): Observable<ChessimalsChallengeRun[]>;
11
11
  watchActiveRun(): Observable<ChessimalsChallengeRun | undefined>;
12
+ private watchWhenFirebaseAuthReady;
12
13
  saveRun(run: ChessimalsChallengeRun): Promise<void>;
13
14
  recordChallengeStarted(run: ChessimalsChallengeRun): Promise<void>;
14
15
  applyRoundResult(args: {
@@ -76,6 +76,13 @@ interface ChessimalsGameScoreView {
76
76
  bestMove?: ChessimalsMoveScoreView;
77
77
  score: number;
78
78
  }
79
+ interface ChessimalsBotOpponentView {
80
+ avatar: string;
81
+ avatarSrc: string;
82
+ eyebrow: string;
83
+ title: string;
84
+ description: string;
85
+ }
79
86
  export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
80
87
  private readonly i18n;
81
88
  private readonly audio;
@@ -122,7 +129,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
122
129
  readonly botProfiles: ChessimalsBotProfile[];
123
130
  readonly challengeLadder: ChessimalsChallengeBot[];
124
131
  readonly animals: ChessimalsAnimalView[];
125
- readonly valtechComponentsVersion = "4.0.570";
132
+ readonly valtechComponentsVersion = "4.0.571";
126
133
  readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
127
134
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
128
135
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -200,6 +207,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
200
207
  readonly botOpponentEyebrow: import("@angular/core").Signal<string>;
201
208
  readonly botOpponentTitle: import("@angular/core").Signal<string>;
202
209
  readonly botOpponentDescription: import("@angular/core").Signal<string>;
210
+ readonly botOpponentCard: import("@angular/core").Signal<ChessimalsBotOpponentView>;
203
211
  readonly activeChallengeBot: import("@angular/core").Signal<ChessimalsChallengeBot>;
204
212
  readonly resumableChallengeRun: import("@angular/core").Signal<ChessimalsChallengeRun>;
205
213
  set onlineGameId(value: string | null | undefined);
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.570";
5
+ export declare const VERSION = "4.0.571";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.570",
3
+ "version": "4.0.571",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"