fix: align API responses with Bitwarden 2026.7 clients

This commit is contained in:
shuaiplus
2026-07-25 21:25:51 +08:00
parent 8e5d9e294b
commit a0128908e1
4 changed files with 18 additions and 1 deletions
+4
View File
@@ -17,8 +17,12 @@ export function buildAccountKeys(user: Pick<User, 'privateKey' | 'publicKey'>):
wrappedPrivateKey: user.privateKey,
publicKey,
signedPublicKey: null,
object: 'publicKeyEncryptionKeyPair',
Object: 'publicKeyEncryptionKeyPair',
},
securityState: null,
signatureKeyPair: null,
object: 'privateKeys',
Object: 'privateKeys',
};
}