Skip to content

Commit 143df31

Browse files
committed
Bump to version 25.05.07 (matrix-rust-sdk/main b5b2450eac3b82a968aa1d379318b3f051cf3abc)
1 parent 3869f6d commit 143df31

File tree

2 files changed

+28
-15
lines changed

2 files changed

+28
-15
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 = "9bbd5175bd39b3d5a4878db9bf4516dd00ac180c8c9972655b0e08fa2b7739ac"
5-
let version = "0.0.3-element-call"
4+
let checksum = "e5889dd7de09c818bfb17d21f929bb92ac2a86afadf7bf783a5783631832266e"
5+
let version = "25.05.07"
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: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5337,6 +5337,15 @@ public func FfiConverterTypeNotificationSettings_lower(_ value: NotificationSett
53375337
*/
53385338
public protocol QrCodeDataProtocol : AnyObject {
53395339

5340+
/**
5341+
* The server name contained within the scanned QR code data.
5342+
*
5343+
* Note: This value is only present when scanning a QR code the belongs to
5344+
* a logged in client. The mode where the new client shows the QR code
5345+
* will return `None`.
5346+
*/
5347+
func serverName() -> String?
5348+
53405349
}
53415350

53425351
/**
@@ -5399,6 +5408,20 @@ public static func fromBytes(bytes: Data)throws -> QrCodeData {
53995408

54005409

54015410

5411+
/**
5412+
* The server name contained within the scanned QR code data.
5413+
*
5414+
* Note: This value is only present when scanning a QR code the belongs to
5415+
* a logged in client. The mode where the new client shows the QR code
5416+
* will return `None`.
5417+
*/
5418+
open func serverName() -> String? {
5419+
return try! FfiConverterOptionString.lift(try! rustCall() {
5420+
uniffi_matrix_sdk_ffi_fn_method_qrcodedata_server_name(self.uniffiClonePointer(),$0
5421+
)
5422+
})
5423+
}
5424+
54025425

54035426
}
54045427

@@ -28768,11 +28791,6 @@ public enum WidgetEventFilter {
2876828791
*/
2876928792
case stateWithTypeAndStateKey(eventType: String, stateKey: String
2877028793
)
28771-
/**
28772-
* Matches to-device events with the given `event_type`.
28773-
*/
28774-
case toDevice(eventType: String
28775-
)
2877628794
}
2877728795

2877828796

@@ -28795,9 +28813,6 @@ public struct FfiConverterTypeWidgetEventFilter: FfiConverterRustBuffer {
2879528813
case 4: return .stateWithTypeAndStateKey(eventType: try FfiConverterString.read(from: &buf), stateKey: try FfiConverterString.read(from: &buf)
2879628814
)
2879728815

28798-
case 5: return .toDevice(eventType: try FfiConverterString.read(from: &buf)
28799-
)
28800-
2880128816
default: throw UniffiInternalError.unexpectedEnumCase
2880228817
}
2880328818
}
@@ -28826,11 +28841,6 @@ public struct FfiConverterTypeWidgetEventFilter: FfiConverterRustBuffer {
2882628841
FfiConverterString.write(eventType, into: &buf)
2882728842
FfiConverterString.write(stateKey, into: &buf)
2882828843

28829-
28830-
case let .toDevice(eventType):
28831-
writeInt(&buf, Int32(5))
28832-
FfiConverterString.write(eventType, into: &buf)
28833-
2883428844
}
2883528845
}
2883628846
}
@@ -34584,6 +34594,9 @@ private var initializationResult: InitializationResult = {
3458434594
if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_unmute_room() != 47580) {
3458534595
return InitializationResult.apiChecksumMismatch
3458634596
}
34597+
if (uniffi_matrix_sdk_ffi_checksum_method_qrcodedata_server_name() != 30173) {
34598+
return InitializationResult.apiChecksumMismatch
34599+
}
3458734600
if (uniffi_matrix_sdk_ffi_checksum_method_room_active_members_count() != 61905) {
3458834601
return InitializationResult.apiChecksumMismatch
3458934602
}

0 commit comments

Comments
 (0)