mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +00:00
Bump the RustSDK to v1.1.10
This commit is contained in:
parent
3bc474fb70
commit
90228374d1
@ -5579,7 +5579,7 @@
|
|||||||
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = 1.1.9;
|
version = 1.1.10;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
||||||
|
@ -129,8 +129,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "c6b3c6cace0f4d35af98772ca944e90dc65e69f0",
|
"revision" : "73b1199017b79c210fb0dc93b3513d9bfc89210c",
|
||||||
"version" : "1.1.9"
|
"version" : "1.1.10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -244,7 +244,7 @@
|
|||||||
{
|
{
|
||||||
"identity" : "swiftui-introspect",
|
"identity" : "swiftui-introspect",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/siteline/SwiftUI-Introspect",
|
"location" : "https://github.com/siteline/SwiftUI-Introspect.git",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "b94da693e57eaf79d16464b8b7c90d09cba4e290",
|
"revision" : "b94da693e57eaf79d16464b8b7c90d09cba4e290",
|
||||||
"version" : "0.9.2"
|
"version" : "0.9.2"
|
||||||
|
@ -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
|
// DO NOT EDIT
|
||||||
|
|
||||||
// swiftlint:disable all
|
// swiftlint:disable all
|
||||||
@ -400,23 +400,27 @@ class SDKClientMock: SDKClientProtocol {
|
|||||||
}
|
}
|
||||||
//MARK: - notificationClient
|
//MARK: - notificationClient
|
||||||
|
|
||||||
public var notificationClientThrowableError: Error?
|
public var notificationClientProcessSetupThrowableError: Error?
|
||||||
public var notificationClientCallsCount = 0
|
public var notificationClientProcessSetupCallsCount = 0
|
||||||
public var notificationClientCalled: Bool {
|
public var notificationClientProcessSetupCalled: Bool {
|
||||||
return notificationClientCallsCount > 0
|
return notificationClientProcessSetupCallsCount > 0
|
||||||
}
|
}
|
||||||
public var notificationClientReturnValue: NotificationClientBuilder!
|
public var notificationClientProcessSetupReceivedProcessSetup: NotificationProcessSetup?
|
||||||
public var notificationClientClosure: (() throws -> NotificationClientBuilder)?
|
public var notificationClientProcessSetupReceivedInvocations: [NotificationProcessSetup] = []
|
||||||
|
public var notificationClientProcessSetupReturnValue: NotificationClientBuilder!
|
||||||
|
public var notificationClientProcessSetupClosure: ((NotificationProcessSetup) throws -> NotificationClientBuilder)?
|
||||||
|
|
||||||
public func notificationClient() throws -> NotificationClientBuilder {
|
public func notificationClient(processSetup: NotificationProcessSetup) throws -> NotificationClientBuilder {
|
||||||
if let error = notificationClientThrowableError {
|
if let error = notificationClientProcessSetupThrowableError {
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
notificationClientCallsCount += 1
|
notificationClientProcessSetupCallsCount += 1
|
||||||
if let notificationClientClosure = notificationClientClosure {
|
notificationClientProcessSetupReceivedProcessSetup = processSetup
|
||||||
return try notificationClientClosure()
|
notificationClientProcessSetupReceivedInvocations.append(processSetup)
|
||||||
|
if let notificationClientProcessSetupClosure = notificationClientProcessSetupClosure {
|
||||||
|
return try notificationClientProcessSetupClosure(processSetup)
|
||||||
} else {
|
} else {
|
||||||
return notificationClientReturnValue
|
return notificationClientProcessSetupReturnValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//MARK: - restoreSession
|
//MARK: - restoreSession
|
||||||
|
@ -393,8 +393,7 @@ class ClientProxy: ClientProxyProtocol {
|
|||||||
do {
|
do {
|
||||||
let syncService = try await client
|
let syncService = try await client
|
||||||
.syncService()
|
.syncService()
|
||||||
.withEncryptionSync(withCrossProcessLock: true,
|
.withCrossProcessLock(appIdentifier: "MainApp")
|
||||||
appIdentifier: "MainApp")
|
|
||||||
.finish()
|
.finish()
|
||||||
let roomListService = syncService.roomListService()
|
let roomListService = syncService.roomListService()
|
||||||
|
|
||||||
|
@ -36,8 +36,7 @@ final class NSEUserSession {
|
|||||||
try baseClient.restoreSession(session: credentials.restorationToken.session)
|
try baseClient.restoreSession(session: credentials.restorationToken.session)
|
||||||
|
|
||||||
notificationClient = try baseClient
|
notificationClient = try baseClient
|
||||||
.notificationClient()
|
.notificationClient(processSetup: .multipleProcesses)
|
||||||
.retryDecryption(withCrossProcessLock: true)
|
|
||||||
.filterByPushRules()
|
.filterByPushRules()
|
||||||
.finish()
|
.finish()
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ packages:
|
|||||||
# Element/Matrix dependencies
|
# Element/Matrix dependencies
|
||||||
MatrixRustSDK:
|
MatrixRustSDK:
|
||||||
url: https://github.com/matrix-org/matrix-rust-components-swift
|
url: https://github.com/matrix-org/matrix-rust-components-swift
|
||||||
exactVersion: 1.1.9
|
exactVersion: 1.1.10
|
||||||
# path: ../matrix-rust-sdk
|
# path: ../matrix-rust-sdk
|
||||||
DesignKit:
|
DesignKit:
|
||||||
path: DesignKit
|
path: DesignKit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user