Build verified checkpoint containers for TrueNAS
This commit is contained in:
1 parent
c5508b727a
commit
64e8299aeb
27 files changed
+536
-16
No files matched your search
+2
-1
@@ -1,3 +1,4 @@
|
||||
import { randomId } from './random-id';
|
||||
import { EXPANSIONS, FACTIONS } from '../game/catalog';
|
||||
import { requestMayHaveCompleted } from './client-request';
|
||||
|
||||
@@ -108,7 +109,7 @@ export function createRoomEntry(
|
||||
roomCode?: string,
|
||||
): RoomEntryAttempt {
|
||||
const entry = {
|
||||
operationId: globalThis.crypto.randomUUID(),
|
||||
operationId: randomId(),
|
||||
sessionToken: Array.from(
|
||||
globalThis.crypto.getRandomValues(new Uint8Array(32)),
|
||||
(byte) => byte.toString(16).padStart(2, '0'),
|
||||
|
||||
Reference in new issue
Block a user