Rename SearchUsersResultsProxy to SearchUsersResults. It also proxies nothing.

This commit is contained in:
Doug
2026-07-01 15:21:09 +01:00
committed by Doug
parent 3ef66cdd05
commit b8860baf49
5 changed files with 9 additions and 9 deletions
@@ -777,7 +777,7 @@ class ClientProxy: ClientProxyProtocol {
append: false)
}
func searchUsers(searchTerm: String, limit: UInt) async -> Result<SearchUsersResultsProxy, ClientProxyError> {
func searchUsers(searchTerm: String, limit: UInt) async -> Result<SearchUsersResults, ClientProxyError> {
do {
return try await .success(.init(sdkResults: client.searchUsers(searchTerm: searchTerm, limit: UInt64(limit))))
} catch {
@@ -230,7 +230,7 @@ protocol ClientProxyProtocol: AnyObject {
func setPusher(with configuration: PusherConfiguration) async throws
func searchUsers(searchTerm: String, limit: UInt) async -> Result<SearchUsersResultsProxy, ClientProxyError>
func searchUsers(searchTerm: String, limit: UInt) async -> Result<SearchUsersResults, ClientProxyError>
func profile(for userID: String) async -> Result<UserProfile, ClientProxyError>