Skip to content

Commit 7fb8ca4

Browse files
committed
Bump to version 25.12.09 (matrix-rust-sdk/main 183116a4b1888039ad4d1714ac0d97f1375cc45a)
1 parent 9fc6389 commit 7fb8ca4

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
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 = "97c960bb01bd17301fc3ecb6fc5c14b96971ea86fc35e811b138fcf462ca1b87"
5-
let version = "25.12.07"
4+
let checksum = "0c20e338d1a905fd030ae841f574a2f8b08a932361524e615a255acb813fb2ba"
5+
let version = "25.12.09"
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: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7220,6 +7220,12 @@ public protocol QrCodeDataProtocol: AnyObject, Sendable {
72207220
*/
72217221
func serverName() -> String?
72227222

7223+
/**
7224+
* Serialize the [`QrCodeData`] into a byte vector for encoding as a QR
7225+
* code.
7226+
*/
7227+
func toBytes() -> Data
7228+
72237229
}
72247230
/**
72257231
* Data for the QR code login mechanism.
@@ -7308,6 +7314,18 @@ open func serverName() -> String? {
73087314
})
73097315
}
73107316

7317+
/**
7318+
* Serialize the [`QrCodeData`] into a byte vector for encoding as a QR
7319+
* code.
7320+
*/
7321+
open func toBytes() -> Data {
7322+
return try! FfiConverterData.lift(try! rustCall() {
7323+
uniffi_matrix_sdk_ffi_fn_method_qrcodedata_to_bytes(
7324+
self.uniffiCloneHandle(),$0
7325+
)
7326+
})
7327+
}
7328+
73117329

73127330

73137331
}
@@ -46656,6 +46674,9 @@ private let initializationResult: InitializationResult = {
4665646674
if (uniffi_matrix_sdk_ffi_checksum_method_qrcodedata_server_name() != 52906) {
4665746675
return InitializationResult.apiChecksumMismatch
4665846676
}
46677+
if (uniffi_matrix_sdk_ffi_checksum_method_qrcodedata_to_bytes() != 22532) {
46678+
return InitializationResult.apiChecksumMismatch
46679+
}
4665946680
if (uniffi_matrix_sdk_ffi_checksum_method_knockrequestactions_accept() != 60529) {
4666046681
return InitializationResult.apiChecksumMismatch
4666146682
}

0 commit comments

Comments
 (0)