Skip to content

Commit cc010fc

Browse files
committed
Bump to version 25.02.11 (matrix-rust-sdk/main 2999d10fb91b94c6987e6e735e128801571cb8d0)
1 parent bc819f0 commit cc010fc

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-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 = "4d7101162303081dec68b8dfe38cc1d9603da99a8a1c0d1164175d0a5ea41a22"
5-
let version = "25.02.07"
4+
let checksum = "4d05263bbda4e61060454186a12a4e7a56bb40f53be2ba7e3cdb5a5ba7163b10"
5+
let version = "25.02.11"
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: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11712,6 +11712,11 @@ public func FfiConverterTypeUnreadNotificationsCount_lower(_ value: UnreadNotifi
1171211712
*/
1171311713
public protocol UserIdentityProtocol : AnyObject {
1171411714

11715+
/**
11716+
* Was this identity previously verified, and is no longer?
11717+
*/
11718+
func hasVerificationViolation() -> Bool
11719+
1171511720
/**
1171611721
* Is the user identity considered to be verified.
1171711722
*
@@ -11748,6 +11753,14 @@ public protocol UserIdentityProtocol : AnyObject {
1174811753
*/
1174911754
func pin() async throws
1175011755

11756+
/**
11757+
* True if we verified this identity at some point in the past.
11758+
*
11759+
* To reset this latch back to `false`, one must call
11760+
* [`UserIdentity::withdraw_verification()`].
11761+
*/
11762+
func wasPreviouslyVerified() -> Bool
11763+
1175111764
/**
1175211765
* Remove the requirement for this identity to be verified.
1175311766
*
@@ -11803,6 +11816,16 @@ open class UserIdentity:
1180311816

1180411817

1180511818

11819+
/**
11820+
* Was this identity previously verified, and is no longer?
11821+
*/
11822+
open func hasVerificationViolation() -> Bool {
11823+
return try! FfiConverterBool.lift(try! rustCall() {
11824+
uniffi_matrix_sdk_ffi_fn_method_useridentity_has_verification_violation(self.uniffiClonePointer(),$0
11825+
)
11826+
})
11827+
}
11828+
1180611829
/**
1180711830
* Is the user identity considered to be verified.
1180811831
*
@@ -11864,6 +11887,19 @@ open func pin()async throws {
1186411887
)
1186511888
}
1186611889

11890+
/**
11891+
* True if we verified this identity at some point in the past.
11892+
*
11893+
* To reset this latch back to `false`, one must call
11894+
* [`UserIdentity::withdraw_verification()`].
11895+
*/
11896+
open func wasPreviouslyVerified() -> Bool {
11897+
return try! FfiConverterBool.lift(try! rustCall() {
11898+
uniffi_matrix_sdk_ffi_fn_method_useridentity_was_previously_verified(self.uniffiClonePointer(),$0
11899+
)
11900+
})
11901+
}
11902+
1186711903
/**
1186811904
* Remove the requirement for this identity to be verified.
1186911905
*
@@ -33060,6 +33096,9 @@ private var initializationResult: InitializationResult = {
3306033096
if (uniffi_matrix_sdk_ffi_checksum_method_unreadnotificationscount_notification_count() != 35655) {
3306133097
return InitializationResult.apiChecksumMismatch
3306233098
}
33099+
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_has_verification_violation() != 2948) {
33100+
return InitializationResult.apiChecksumMismatch
33101+
}
3306333102
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_is_verified() != 61954) {
3306433103
return InitializationResult.apiChecksumMismatch
3306533104
}
@@ -33069,6 +33108,9 @@ private var initializationResult: InitializationResult = {
3306933108
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_pin() != 62925) {
3307033109
return InitializationResult.apiChecksumMismatch
3307133110
}
33111+
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_was_previously_verified() != 41686) {
33112+
return InitializationResult.apiChecksumMismatch
33113+
}
3307233114
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_withdraw_verification() != 3578) {
3307333115
return InitializationResult.apiChecksumMismatch
3307433116
}

0 commit comments

Comments
 (0)