Build verified checkpoint containers for TrueNAS

This commit is contained in:
Quintine committed 2026-09-21 17:48:25 +10:00
1 parent c5508b727a
commit 64e8299aeb
27 files changed
+536 -16

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
import { randomId } from './random-id';
import type { GameView } from '../game/engine';
export const HANDOVER_CLAIM_STORAGE_KEY = 'dune.pending-seat-handover.v1';
@@ -98,7 +99,7 @@ export function createHandoverKit(
version: 1,
roomCode,
playerId,
offerId: crypto.randomUUID(),
offerId: randomId(),
handoverSecret: secret(),
}),
);
@@ -111,7 +112,7 @@ export function createHandoverClaim(kit: SeatHandoverKit): SavedHandoverClaim {
playerId: kit.playerId,
offerId: kit.offerId,
handoverSecret: kit.handoverSecret,
operationId: crypto.randomUUID(),
operationId: randomId(),
newSessionToken: secret(),
}),
});