Replace typescript compiler with native tsgo compiler

This commit is contained in:
Jamie
2026-03-18 11:26:18 -07:00
committed by GitHub
parent 5e6af4708b
commit c90ca2b4e0
207 changed files with 1819 additions and 1270 deletions

View File

@@ -224,9 +224,10 @@ export function updateCallLinkAdminKeyByRoomId(
}
function assertRoomIdMatchesRootKey(roomId: string, rootKey: string): void {
const derivedRoomId = Bytes.toHex(
CallLinkRootKey.parse(rootKey).deriveRoomId()
);
const parsedRoomId = CallLinkRootKey.parse(rootKey).deriveRoomId();
// @ts-expect-error needs ringrtc update
const derivedRoomIdBytes: Uint8Array<ArrayBuffer> = parsedRoomId;
const derivedRoomId = Bytes.toHex(derivedRoomIdBytes);
strictAssert(
roomId === derivedRoomId,
'passed roomId must match roomId derived from root key'