diff --git a/Sources/ElixxirDAppsSDK/Functors/LoadOrNewUserDiscovery.swift b/Sources/ElixxirDAppsSDK/Functors/LoadOrNewUserDiscovery.swift index f1817eb0a066a6c73daa6b076834cc062c5a9262..95a7371a0321974e1282fb99acb3137bc3fa4139 100644 --- a/Sources/ElixxirDAppsSDK/Functors/LoadOrNewUserDiscovery.swift +++ b/Sources/ElixxirDAppsSDK/Functors/LoadOrNewUserDiscovery.swift @@ -2,13 +2,13 @@ import Bindings import XCTestDynamicOverlay public struct LoadOrNewUserDiscovery { - public var run: (Int, UdNetworkStatus, String, Data) throws -> UserDiscovery + public var run: (Int, UdNetworkStatus, String?, Data?) throws -> UserDiscovery public func callAsFunction( e2eId: Int, follower: UdNetworkStatus, - username: String, - registrationValidationSignature: Data + username: String?, + registrationValidationSignature: Data? ) throws -> UserDiscovery { try run(e2eId, follower, username, registrationValidationSignature) }