@thegeem/protocol 0.1.8 → 0.1.9

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.
package/dist/index.d.cts CHANGED
@@ -402,6 +402,15 @@ interface TeamView {
402
402
  type: HelpName;
403
403
  isUsed: boolean;
404
404
  }[];
405
+ /** The team's players in rotation order. Empty for host-run single-device teams. */
406
+ players: {
407
+ id: string;
408
+ name: string;
409
+ emoji: string;
410
+ }[];
411
+ /** The player on THIS team whose turn it is to answer (rotates each turn); null if the team has
412
+ * no seated players. In controller mode only this player may `answer` on the team's turn. */
413
+ currentPlayerId: string | null;
405
414
  /** The seated player's privacy-safe avatar (relay-enriched; engine view omits it). */
406
415
  avatar?: AvatarView;
407
416
  }
package/dist/index.d.ts CHANGED
@@ -402,6 +402,15 @@ interface TeamView {
402
402
  type: HelpName;
403
403
  isUsed: boolean;
404
404
  }[];
405
+ /** The team's players in rotation order. Empty for host-run single-device teams. */
406
+ players: {
407
+ id: string;
408
+ name: string;
409
+ emoji: string;
410
+ }[];
411
+ /** The player on THIS team whose turn it is to answer (rotates each turn); null if the team has
412
+ * no seated players. In controller mode only this player may `answer` on the team's turn. */
413
+ currentPlayerId: string | null;
405
414
  /** The seated player's privacy-safe avatar (relay-enriched; engine view omits it). */
406
415
  avatar?: AvatarView;
407
416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegeem/protocol",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Geem's wire protocol — shared zod schemas + TypeScript types for talking to the Geem game server over Socket.IO. The source of truth all clients implement against.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://geem.tv",