From eb5218763a2e293bf841c270b9115d3c0af7ea95 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Thu, 9 Apr 2026 17:26:12 +0100 Subject: [PATCH] Update the SDK. (#5369) --- ElementX.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/swiftpm/Package.resolved | 4 +- .../Sources/Generated/SDKGeneratedMocks.swift | 42 +++++++++---------- project.yml | 2 +- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/ElementX.xcodeproj/project.pbxproj b/ElementX.xcodeproj/project.pbxproj index 89b94429a..d9a79d24c 100644 --- a/ElementX.xcodeproj/project.pbxproj +++ b/ElementX.xcodeproj/project.pbxproj @@ -10019,7 +10019,7 @@ repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift"; requirement = { kind = exactVersion; - version = 26.04.08; + version = 26.04.09; }; }; 701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = { diff --git a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 90fedaef6..5aa83fc5e 100644 --- a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -158,8 +158,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/matrix-rust-components-swift", "state" : { - "revision" : "5e29106fa819972e5aaf5d9e1e440bc206d649ea", - "version" : "26.4.8" + "revision" : "aa73f6e49bdb5650739ba41ce566e81ee4815d4b", + "version" : "26.4.9" } }, { diff --git a/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift b/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift index fb6344d77..3722fddc2 100644 --- a/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift +++ b/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift @@ -11525,17 +11525,17 @@ open class LazyTimelineItemProviderSDKMock: MatrixRustSDK.LazyTimelineItemProvid } } - //MARK: - latestContentRaw + //MARK: - latestJson - open var latestContentRawUnderlyingCallsCount = 0 - open var latestContentRawCallsCount: Int { + open var latestJsonUnderlyingCallsCount = 0 + open var latestJsonCallsCount: Int { get { if Thread.isMainThread { - return latestContentRawUnderlyingCallsCount + return latestJsonUnderlyingCallsCount } else { var returnValue: Int? = nil DispatchQueue.main.sync { - returnValue = latestContentRawUnderlyingCallsCount + returnValue = latestJsonUnderlyingCallsCount } return returnValue! @@ -11543,27 +11543,27 @@ open class LazyTimelineItemProviderSDKMock: MatrixRustSDK.LazyTimelineItemProvid } set { if Thread.isMainThread { - latestContentRawUnderlyingCallsCount = newValue + latestJsonUnderlyingCallsCount = newValue } else { DispatchQueue.main.sync { - latestContentRawUnderlyingCallsCount = newValue + latestJsonUnderlyingCallsCount = newValue } } } } - open var latestContentRawCalled: Bool { - return latestContentRawCallsCount > 0 + open var latestJsonCalled: Bool { + return latestJsonCallsCount > 0 } - open var latestContentRawUnderlyingReturnValue: String? - open var latestContentRawReturnValue: String? { + open var latestJsonUnderlyingReturnValue: String? + open var latestJsonReturnValue: String? { get { if Thread.isMainThread { - return latestContentRawUnderlyingReturnValue + return latestJsonUnderlyingReturnValue } else { var returnValue: String?? = nil DispatchQueue.main.sync { - returnValue = latestContentRawUnderlyingReturnValue + returnValue = latestJsonUnderlyingReturnValue } return returnValue! @@ -11571,22 +11571,22 @@ open class LazyTimelineItemProviderSDKMock: MatrixRustSDK.LazyTimelineItemProvid } set { if Thread.isMainThread { - latestContentRawUnderlyingReturnValue = newValue + latestJsonUnderlyingReturnValue = newValue } else { DispatchQueue.main.sync { - latestContentRawUnderlyingReturnValue = newValue + latestJsonUnderlyingReturnValue = newValue } } } } - open var latestContentRawClosure: (() -> String?)? + open var latestJsonClosure: (() -> String?)? - open override func latestContentRaw() -> String? { - latestContentRawCallsCount += 1 - if let latestContentRawClosure = latestContentRawClosure { - return latestContentRawClosure() + open override func latestJson() -> String? { + latestJsonCallsCount += 1 + if let latestJsonClosure = latestJsonClosure { + return latestJsonClosure() } else { - return latestContentRawReturnValue + return latestJsonReturnValue } } } diff --git a/project.yml b/project.yml index f68b8a158..d6802ee79 100644 --- a/project.yml +++ b/project.yml @@ -74,7 +74,7 @@ packages: # Element/Matrix dependencies MatrixRustSDK: url: https://github.com/element-hq/matrix-rust-components-swift - exactVersion: 26.04.08 + exactVersion: 26.04.09 # path: ../matrix-rust-sdk Compound: path: compound-ios