valtech-components 4.0.592 → 4.0.593

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.
@@ -133,7 +133,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
133
133
  readonly botProfiles: ChessimalsBotProfile[];
134
134
  readonly challengeLadder: ChessimalsChallengeBot[];
135
135
  readonly animals: ChessimalsAnimalView[];
136
- readonly valtechComponentsVersion = "4.0.592";
136
+ readonly valtechComponentsVersion = "4.0.593";
137
137
  readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
138
138
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
139
139
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -286,7 +286,7 @@ export declare class ChristianityGameComponent {
286
286
  protected selectHandCard(cardId: string): void;
287
287
  protected playSelectedCard(slotIndex?: number): void;
288
288
  private firstAvailableBattleSlotIndex;
289
- protected playCardFromHand(cardId: string, slotIndex?: number): void;
289
+ protected playCardFromHand(cardId: string, slotIndex?: number, targetInstanceId?: string): void;
290
290
  protected handleOfferingPile(seat: ChristianitySeat): void;
291
291
  protected selectAttacker(card: ChristianityCharacterInstance): void;
292
292
  protected handleOpponentCharacter(card: ChristianityCharacterInstance): void;
@@ -38,6 +38,7 @@ export declare function canPlayCard(game: ChristianityGameState, seat: Christian
38
38
  export declare function playCardFromHand(game: ChristianityGameState, seat: ChristianitySeat, card: ChristianityCardDefinition, options?: {
39
39
  slotIndex?: number;
40
40
  displayName?: string;
41
+ targetInstanceId?: string;
41
42
  }): ChristianityPlayCardResult;
42
43
  export declare function canUseOfferingAbility(game: ChristianityGameState, seat: ChristianitySeat, offeringInstanceId: string): boolean;
43
44
  export declare function resolveOfferingAbility(game: ChristianityGameState, seat: ChristianitySeat, offeringInstanceId: string, messages?: ChristianityRuleMessages): ChristianityOfferingAbilityResult;
@@ -384,6 +384,7 @@ export interface ChristianityCharacterInstance {
384
384
  currentHp: number;
385
385
  maxHp: number;
386
386
  canAttack: boolean;
387
+ equippedTools?: string[];
387
388
  }
388
389
  export interface ChristianityOfferingInstance {
389
390
  instanceId: 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.592";
5
+ export declare const VERSION = "4.0.593";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.592",
3
+ "version": "4.0.593",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"