Bump the RustSDK to v1.1.10

This commit is contained in:
Stefan Ceriu
2023-09-07 10:48:19 +03:00
committed by Stefan Ceriu
parent 3bc474fb70
commit 90228374d1
6 changed files with 24 additions and 22 deletions
@@ -1,4 +1,4 @@
// Generated using Sourcery 2.0.2 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 2.0.3 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
// swiftlint:disable all
@@ -400,23 +400,27 @@ class SDKClientMock: SDKClientProtocol {
}
//MARK: - notificationClient
public var notificationClientThrowableError: Error?
public var notificationClientCallsCount = 0
public var notificationClientCalled: Bool {
return notificationClientCallsCount > 0
public var notificationClientProcessSetupThrowableError: Error?
public var notificationClientProcessSetupCallsCount = 0
public var notificationClientProcessSetupCalled: Bool {
return notificationClientProcessSetupCallsCount > 0
}
public var notificationClientReturnValue: NotificationClientBuilder!
public var notificationClientClosure: (() throws -> NotificationClientBuilder)?
public var notificationClientProcessSetupReceivedProcessSetup: NotificationProcessSetup?
public var notificationClientProcessSetupReceivedInvocations: [NotificationProcessSetup] = []
public var notificationClientProcessSetupReturnValue: NotificationClientBuilder!
public var notificationClientProcessSetupClosure: ((NotificationProcessSetup) throws -> NotificationClientBuilder)?
public func notificationClient() throws -> NotificationClientBuilder {
if let error = notificationClientThrowableError {
public func notificationClient(processSetup: NotificationProcessSetup) throws -> NotificationClientBuilder {
if let error = notificationClientProcessSetupThrowableError {
throw error
}
notificationClientCallsCount += 1
if let notificationClientClosure = notificationClientClosure {
return try notificationClientClosure()
notificationClientProcessSetupCallsCount += 1
notificationClientProcessSetupReceivedProcessSetup = processSetup
notificationClientProcessSetupReceivedInvocations.append(processSetup)
if let notificationClientProcessSetupClosure = notificationClientProcessSetupClosure {
return try notificationClientProcessSetupClosure(processSetup)
} else {
return notificationClientReturnValue
return notificationClientProcessSetupReturnValue
}
}
//MARK: - restoreSession