@thegeem/protocol 0.1.3 → 0.1.4
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -387,6 +387,11 @@ interface GameStateView {
|
|
|
387
387
|
usedLevels: {
|
|
388
388
|
[categoryId: string]: number[];
|
|
389
389
|
};
|
|
390
|
+
/** Live question countdown: ms remaining while the timer is **ticking** (relay-
|
|
391
|
+
* enriched from the server-authoritative timer). Absent between questions, while
|
|
392
|
+
* paused (e.g. steal intro), or after time-up. Present ⇒ animate a countdown from
|
|
393
|
+
* it; the server remains the authority on actual time-up. */
|
|
394
|
+
timerRemainingMs?: number;
|
|
390
395
|
}
|
|
391
396
|
/** Transient presentation effects the relay emits; clients play them once. */
|
|
392
397
|
type Effect = {
|
package/dist/index.d.ts
CHANGED
|
@@ -387,6 +387,11 @@ interface GameStateView {
|
|
|
387
387
|
usedLevels: {
|
|
388
388
|
[categoryId: string]: number[];
|
|
389
389
|
};
|
|
390
|
+
/** Live question countdown: ms remaining while the timer is **ticking** (relay-
|
|
391
|
+
* enriched from the server-authoritative timer). Absent between questions, while
|
|
392
|
+
* paused (e.g. steal intro), or after time-up. Present ⇒ animate a countdown from
|
|
393
|
+
* it; the server remains the authority on actual time-up. */
|
|
394
|
+
timerRemainingMs?: number;
|
|
390
395
|
}
|
|
391
396
|
/** Transient presentation effects the relay emits; clients play them once. */
|
|
392
397
|
type Effect = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegeem/protocol",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
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",
|