From 5e59947d9c8f5b138f8f36c5023b15fb355e92fa Mon Sep 17 00:00:00 2001 From: crStiv Date: Sat, 27 Dec 2025 00:44:48 +0200 Subject: [PATCH 1/2] Update PasskeysManager.swift --- Sources/ParaSwift/Auth/PasskeysManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ParaSwift/Auth/PasskeysManager.swift b/Sources/ParaSwift/Auth/PasskeysManager.swift index 06e63ed..a8d282b 100644 --- a/Sources/ParaSwift/Auth/PasskeysManager.swift +++ b/Sources/ParaSwift/Auth/PasskeysManager.swift @@ -137,7 +137,7 @@ final class PasskeysManager: NSObject, ASAuthorizationControllerDelegate { /// - Returns: Array of authorization requests private func signInRequests(challenge: String, allowedPublicKeys: [String]) async -> [ASAuthorizationRequest] { // Only include passkey authentication request - // This ensures the system directly uses the passkey picker without offering password alternative + // This ensures the system directly uses the passkey picker without offering a password alternative await [passkeyAssertionRequest(challenge: challenge, allowedPublicKeys: allowedPublicKeys)] } From 30c7b3ec79c570cc031792b65373e0ff261daa00 Mon Sep 17 00:00:00 2001 From: crStiv Date: Sat, 27 Dec 2025 00:55:48 +0200 Subject: [PATCH 2/2] Update ParaManager+Auth.swift --- Sources/ParaSwift/Core/ParaManager+Auth.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ParaSwift/Core/ParaManager+Auth.swift b/Sources/ParaSwift/Core/ParaManager+Auth.swift index 3a97bf0..998d8dc 100644 --- a/Sources/ParaSwift/Core/ParaManager+Auth.swift +++ b/Sources/ParaSwift/Core/ParaManager+Auth.swift @@ -430,7 +430,7 @@ public extension ParaManager { /// - authorizationController: The controller to handle authorization UI. /// - email: Optional email address for authentication. /// - phone: Optional phone number for authentication. - /// - Note: Either email or phone can be provided, but not both. If both are nil, the user will be prompted to select a passkey. + /// - Note: Either an email or a phone number can be provided, but not both. If both are nil, the user will be prompted to select a passkey. @MainActor func loginWithPasskey( authorizationController: AuthorizationController,