@hadoku/game-server 0.1.97 → 0.1.99

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.
@@ -222,6 +222,8 @@ export declare function isLifecycle<L extends {
222
222
  export interface TurnSnapshot {
223
223
  turn: number;
224
224
  state: string;
225
+ /** The engine's random as the turn began, so a restore replays the turn's shuffles and rolls; absent, the restore rolls afresh. */
226
+ rng?: number;
225
227
  /** What the game held that {@link state} does not; absent or empty is the whole game. */
226
228
  lossy?: readonly string[];
227
229
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/game-server",
3
- "version": "0.1.97",
4
- "gitHead": "155c8c9335e64b29e1c0f0c9c18a8c79509093fb",
3
+ "version": "0.1.99",
4
+ "gitHead": "ef9a3c724b467e832f4c52c5a97f615d1a557d46",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "The server parts any hosted game shares, above the kernel: the app config and edge auth, the room core (identity, seats, sessions, membership, the room list, the generic room routes), match hosting (the host contract, local and remote JVMs, placement, the start queue, recordings, the in-process and relay runtimes), streams, erase, telemetry and usage. Knows no game; Magic plugs in from apps/server. MIT; imports only node built-ins, express, socket.io, @wolffm/* and the platform packages.",
@@ -16,9 +16,9 @@
16
16
  "play/remote/"
17
17
  ],
18
18
  "dependencies": {
19
- "@wolffm/host-wire": "npm:@hadoku/host-wire@0.1.97",
20
- "@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.97",
21
- "@wolffm/service-kernel": "npm:@hadoku/service-kernel@0.1.130",
19
+ "@wolffm/host-wire": "npm:@hadoku/host-wire@0.1.99",
20
+ "@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.99",
21
+ "@wolffm/service-kernel": "npm:@hadoku/service-kernel@0.1.132",
22
22
  "@wolffm/prefs-client": "npm:@hadoku/prefs-client@^1.1.31",
23
23
  "@wolffm/rooms-protocol": "npm:@hadoku/rooms-protocol@^0.45.128",
24
24
  "@wolffm/rooms-server": "npm:@hadoku/rooms-server@^0.45.128",