Skip to content

Commit 6450696

Browse files
committed
Bump to version 25.06.12 (matrix-rust-sdk/main 5113f114a7f7f070089c2f3d9eb42609d6b38881)
1 parent 0d5ded2 commit 6450696

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// swift-tools-version:5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33
import PackageDescription
4-
let checksum = "55c7ff22e6a1f07f544bb9928eef1937f0ffd563012deec05a88d16f6c7e3f6a"
5-
let version = "25.06.11"
4+
let checksum = "1245f8ab514cf127b4fa290e872dec5ffe9fbc96bc5b5c9ce8a85b74bfe9c472"
5+
let version = "25.06.12"
66
let url = "https://github.com/element-hq/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
77
let package = Package(
88
name: "MatrixRustSDK",

Sources/MatrixRustSDK/matrix_sdk_ffi.swift

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11309,7 +11309,7 @@ public protocol TimelineProtocol : AnyObject {
1130911309

1131011310
func sendImage(params: UploadParameters, thumbnailPath: String?, imageInfo: ImageInfo, progressWatcher: ProgressWatcher?) throws -> SendAttachmentJoinHandle
1131111311

11312-
func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?) async
11312+
func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?, replyParams: ReplyParameters?) async throws
1131311313

1131411314
func sendPollResponse(pollStartEventId: String, answers: [String]) async throws
1131511315

@@ -11761,21 +11761,20 @@ open func sendImage(params: UploadParameters, thumbnailPath: String?, imageInfo:
1176111761
})
1176211762
}
1176311763

11764-
open func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?)async {
11764+
open func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?, replyParams: ReplyParameters?)async throws {
1176511765
return
11766-
try! await uniffiRustCallAsync(
11766+
try await uniffiRustCallAsync(
1176711767
rustFutureFunc: {
1176811768
uniffi_matrix_sdk_ffi_fn_method_timeline_send_location(
1176911769
self.uniffiClonePointer(),
11770-
FfiConverterString.lower(body),FfiConverterString.lower(geoUri),FfiConverterOptionString.lower(description),FfiConverterOptionUInt8.lower(zoomLevel),FfiConverterOptionTypeAssetType.lower(assetType)
11770+
FfiConverterString.lower(body),FfiConverterString.lower(geoUri),FfiConverterOptionString.lower(description),FfiConverterOptionUInt8.lower(zoomLevel),FfiConverterOptionTypeAssetType.lower(assetType),FfiConverterOptionTypeReplyParameters.lower(replyParams)
1177111771
)
1177211772
},
1177311773
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
1177411774
completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_void,
1177511775
freeFunc: ffi_matrix_sdk_ffi_rust_future_free_void,
1177611776
liftFunc: { $0 },
11777-
errorHandler: nil
11778-
11777+
errorHandler: FfiConverterTypeClientError.lift
1177911778
)
1178011779
}
1178111780

@@ -38251,7 +38250,7 @@ private var initializationResult: InitializationResult = {
3825138250
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_image() != 25436) {
3825238251
return InitializationResult.apiChecksumMismatch
3825338252
}
38254-
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_location() != 47400) {
38253+
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_location() != 57832) {
3825538254
return InitializationResult.apiChecksumMismatch
3825638255
}
3825738256
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_poll_response() != 7453) {

0 commit comments

Comments
 (0)