From e7c6a0e87327bb2848c84bc15a6db6cb68d97f83 Mon Sep 17 00:00:00 2001 From: Doug Date: Mon, 25 Mar 2024 15:09:34 +0000 Subject: [PATCH] Bump to v1.1.53 (matrix-rust-sdk/main baac38fec5192354cec3b21359510c85356c73b5) --- Package.swift | 4 ++-- Sources/MatrixRustSDK/matrix_sdk_ffi.swift | 23 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 7ae451f..7a616c9 100644 --- a/Package.swift +++ b/Package.swift @@ -3,8 +3,8 @@ import PackageDescription -let checksum = "65874b401714b5ed9aedfe74700b2a8fbbd50d635c780f6e4092201aa2b55381" -let version = "v1.1.52" +let checksum = "bdca00279f81b10376b9aae67625b77c76334b8e22e87365f07b79f436be9bb0" +let version = "v1.1.53" let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip" let package = Package( diff --git a/Sources/MatrixRustSDK/matrix_sdk_ffi.swift b/Sources/MatrixRustSDK/matrix_sdk_ffi.swift index ae41ff0..5f13f6b 100644 --- a/Sources/MatrixRustSDK/matrix_sdk_ffi.swift +++ b/Sources/MatrixRustSDK/matrix_sdk_ffi.swift @@ -2404,6 +2404,12 @@ public func FfiConverterTypeEventTimelineItem_lower(_ value: EventTimelineItem) public protocol HomeserverLoginDetailsProtocol : AnyObject { + /** + * The URL of the discovered or manually set sliding sync proxy, + * if any. + */ + func slidingSyncProxy() -> String? + /** * Whether the current homeserver supports login using OIDC. */ @@ -2462,6 +2468,20 @@ open class HomeserverLoginDetails: + /** + * The URL of the discovered or manually set sliding sync proxy, + * if any. + */ + open func slidingSyncProxy() -> String? { + return try! FfiConverterOptionString.lift( + try! + rustCall() { + + uniffi_matrix_sdk_ffi_fn_method_homeserverlogindetails_sliding_sync_proxy(self.uniffiClonePointer(), $0 + ) +} + ) + } /** * Whether the current homeserver supports login using OIDC. */ @@ -23306,6 +23326,9 @@ private var initializationResult: InitializationResult { if (uniffi_matrix_sdk_ffi_checksum_method_eventtimelineitem_transaction_id() != 40338) { return InitializationResult.apiChecksumMismatch } + if (uniffi_matrix_sdk_ffi_checksum_method_homeserverlogindetails_sliding_sync_proxy() != 46815) { + return InitializationResult.apiChecksumMismatch + } if (uniffi_matrix_sdk_ffi_checksum_method_homeserverlogindetails_supports_oidc_login() != 46090) { return InitializationResult.apiChecksumMismatch }