@manabrew/protocol 3.0.0 → 3.1.0

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.
@@ -132,10 +132,13 @@ export type StackObjectDto = {
132
132
  id: string;
133
133
  sourceId: string;
134
134
  controllerId: string;
135
+ ownerId: string;
135
136
  identity: CardIdentity;
136
137
  text: string;
137
138
  isPermanentSpell: boolean;
138
139
  isCasting: boolean;
140
+ isDoubleFaced: boolean;
141
+ faceIndex: number;
139
142
  targets: Array<TargetRef>;
140
143
  };
141
144
  export type StepKind = "untap" | "upkeep" | "draw" | "main1" | "combatBegin" | "combatDeclareAttackers" | "combatDeclareBlockers" | "combatFirstStrikeDamage" | "combatDamage" | "combatEnd" | "main2" | "endOfTurn" | "cleanup";
@@ -14,6 +14,7 @@ export type PlayerDeckInfo = {
14
14
  username: string;
15
15
  deck_name: string;
16
16
  deck: Deck;
17
+ published_deck_id?: string;
17
18
  commander_name?: string;
18
19
  avatar?: string;
19
20
  };
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.0.0";
1
+ export declare const VERSION = "3.1.0";
2
2
  export declare const PROTOCOL_VERSION = 3;
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PROTOCOL_VERSION = exports.VERSION = void 0;
4
4
  // AUTO-GENERATED by `cargo run -p manabrew-protocol --bin gen-protocol`. Do not edit.
5
- exports.VERSION = "3.0.0";
5
+ exports.VERSION = "3.1.0";
6
6
  exports.PROTOCOL_VERSION = 3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manabrew/protocol",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "TypeScript types for the Manabrew wire protocol — the engine↔client message contract for the Manabrew Magic: The Gathering client.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "repository": {