mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 20:33:17 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -35,9 +35,11 @@ export async function getCallLinkAuthCredentialPresentation(
|
||||
}
|
||||
const userId = Aci.fromUuid(ourAci);
|
||||
|
||||
const callLinkSecretParams = CallLinkSecretParams.deriveFromRootKey(
|
||||
callLinkRootKey.bytes
|
||||
);
|
||||
// @ts-expect-error needs ringrtc update
|
||||
const rootKeyBytes: Uint8Array<ArrayBuffer> = callLinkRootKey.bytes;
|
||||
|
||||
const callLinkSecretParams =
|
||||
CallLinkSecretParams.deriveFromRootKey(rootKeyBytes);
|
||||
const presentation = credential.present(
|
||||
userId,
|
||||
credentials.today.redemptionTime / durations.SECOND,
|
||||
|
||||
Reference in New Issue
Block a user