to Passkey Credential Info
Extension function to convert PasskeyDetails to PasskeyCredentialInfo.
This maps the detailed passkey information from the backend/WebAuthn response to the simplified structure needed for backup metadata.