valtech-components 4.0.395 → 4.0.396

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.
@@ -171,6 +171,10 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
171
171
  shareProjectionLink(): Promise<void>;
172
172
  canReviewPendingGuest(): boolean;
173
173
  pendingGuestName(): string;
174
+ pendingGuestHandle(): string;
175
+ pendingGuestAvatar(): string;
176
+ pendingGuestAvatarUrl(): string;
177
+ pendingGuestAvatarProps(): UserAvatarMetadata;
174
178
  waitingTitle(): string;
175
179
  waitingBody(): string;
176
180
  acceptOnlineGuest(): Promise<void>;
@@ -2,6 +2,7 @@ import { Observable } from 'rxjs';
2
2
  import { ChessimalsBoardSize, ChessimalsGameState, ChessimalsHistoryEntry, ChessimalsMove, ChessimalsPlayerColor } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ChessimalsOnlineService {
5
+ private readonly firebaseAuth;
5
6
  private readonly auth;
6
7
  private readonly firestore;
7
8
  private readonly firebase;
@@ -30,6 +31,7 @@ export declare class ChessimalsOnlineService {
30
31
  private ensureUser;
31
32
  private decodeInput;
32
33
  private createParticipant;
34
+ private normalizeHandle;
33
35
  private withUpdatedAt;
34
36
  private withMoveLog;
35
37
  private createMoveLogEntry;
@@ -86,7 +86,9 @@ export interface ChessimalsOnlineParticipant {
86
86
  uid: string;
87
87
  profileId: string;
88
88
  name: string;
89
+ handle?: string;
89
90
  avatar: string;
91
+ avatarUrl?: string;
90
92
  color: string;
91
93
  side?: ChessimalsPlayerColor;
92
94
  joinedAt: string;
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.395";
5
+ export declare const VERSION = "4.0.396";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.395",
3
+ "version": "4.0.396",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"