Update all Uint8Array/Buffer to use ArrayBuffer

Co-authored-by: Jordan Rose <jrose@signal.org>
This commit is contained in:
Jamie
2026-03-16 18:55:17 -07:00
committed by GitHub
parent 863219012f
commit 8bfbd12323
110 changed files with 838 additions and 762 deletions

View File

@@ -40,7 +40,7 @@ export default class ClientZkProfileOperations {
}
createProfileKeyCredentialRequestContextWithRandom(
random: Uint8Array,
random: Uint8Array<ArrayBuffer>,
userId: Aci,
profileKey: ProfileKey
): ProfileKeyCredentialRequestContext {
@@ -83,7 +83,7 @@ export default class ClientZkProfileOperations {
}
createExpiringProfileKeyCredentialPresentationWithRandom(
random: Uint8Array,
random: Uint8Array<ArrayBuffer>,
groupSecretParams: GroupSecretParams,
profileKeyCredential: ExpiringProfileKeyCredential
): ProfileKeyCredentialPresentation {