Switch to double quotes and reformat codebase with Biome

This commit is contained in:
Mohamed Boudra
2026-03-21 20:22:15 +07:00
parent ab40786882
commit f6579dbeb4
805 changed files with 38132 additions and 40175 deletions
+1 -4
View File
@@ -103,10 +103,7 @@ export function importSecretKey(base64: string): Uint8Array {
return bytes;
}
export function deriveSharedKey(
ourSecretKey: Uint8Array,
peerPublicKey: Uint8Array
): SharedKey {
export function deriveSharedKey(ourSecretKey: Uint8Array, peerPublicKey: Uint8Array): SharedKey {
if (ourSecretKey.byteLength !== nacl.box.secretKeyLength) {
throw new Error(`Invalid secret key length (expected ${nacl.box.secretKeyLength})`);
}