Skip to content

Commit f1fc74b

Browse files
committed
Bump to version 25.06.24 (matrix-rust-sdk/main 877a7d678f49c4326ec31779a58181bf396d8713)
1 parent f622048 commit f1fc74b

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
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 = "fcf1efdb946da643e719e94d2fbe20136e3c18ddde3a29b88d7d996ece0dd85b"
5-
let version = "25.06.23"
4+
let checksum = "b30ef487fd8eaf8388f059b95d739de73e35bbe4643852b84b2cf3ff1ed36bc8"
5+
let version = "25.06.24"
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: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2737,6 +2737,11 @@ public protocol ClientBuilderProtocol : AnyObject {
27372737

27382738
func crossProcessStoreLocksHolderName(holderName: String) -> ClientBuilder
27392739

2740+
/**
2741+
* Set the trust requirement to be used when decrypting events.
2742+
*/
2743+
func decryptionSettings(decryptionSettings: DecryptionSettings) -> ClientBuilder
2744+
27402745
func disableAutomaticTokenRefresh() -> ClientBuilder
27412746

27422747
/**
@@ -2767,11 +2772,6 @@ public protocol ClientBuilderProtocol : AnyObject {
27672772
*/
27682773
func requestConfig(config: RequestConfig) -> ClientBuilder
27692774

2770-
/**
2771-
* Set the trust requirement to be used when decrypting events.
2772-
*/
2773-
func roomDecryptionTrustRequirement(trustRequirement: TrustRequirement) -> ClientBuilder
2774-
27752775
/**
27762776
* Set the strategy to be used for picking recipient devices when sending
27772777
* an encrypted message.
@@ -3002,6 +3002,17 @@ open func crossProcessStoreLocksHolderName(holderName: String) -> ClientBuilder
30023002
FfiConverterString.lower(holderName),$0
30033003
)
30043004
})
3005+
}
3006+
3007+
/**
3008+
* Set the trust requirement to be used when decrypting events.
3009+
*/
3010+
open func decryptionSettings(decryptionSettings: DecryptionSettings) -> ClientBuilder {
3011+
return try! FfiConverterTypeClientBuilder.lift(try! rustCall() {
3012+
uniffi_matrix_sdk_ffi_fn_method_clientbuilder_decryption_settings(self.uniffiClonePointer(),
3013+
FfiConverterTypeDecryptionSettings_lower(decryptionSettings),$0
3014+
)
3015+
})
30053016
}
30063017

30073018
open func disableAutomaticTokenRefresh() -> ClientBuilder {
@@ -3076,17 +3087,6 @@ open func requestConfig(config: RequestConfig) -> ClientBuilder {
30763087
FfiConverterTypeRequestConfig.lower(config),$0
30773088
)
30783089
})
3079-
}
3080-
3081-
/**
3082-
* Set the trust requirement to be used when decrypting events.
3083-
*/
3084-
open func roomDecryptionTrustRequirement(trustRequirement: TrustRequirement) -> ClientBuilder {
3085-
return try! FfiConverterTypeClientBuilder.lift(try! rustCall() {
3086-
uniffi_matrix_sdk_ffi_fn_method_clientbuilder_room_decryption_trust_requirement(self.uniffiClonePointer(),
3087-
FfiConverterTypeTrustRequirement_lower(trustRequirement),$0
3088-
)
3089-
})
30903090
}
30913091

30923092
/**
@@ -37661,6 +37661,9 @@ private var initializationResult: InitializationResult = {
3766137661
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_cross_process_store_locks_holder_name() != 46627) {
3766237662
return InitializationResult.apiChecksumMismatch
3766337663
}
37664+
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_decryption_settings() != 34715) {
37665+
return InitializationResult.apiChecksumMismatch
37666+
}
3766437667
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_automatic_token_refresh() != 43839) {
3766537668
return InitializationResult.apiChecksumMismatch
3766637669
}
@@ -37685,9 +37688,6 @@ private var initializationResult: InitializationResult = {
3768537688
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_request_config() != 58783) {
3768637689
return InitializationResult.apiChecksumMismatch
3768737690
}
37688-
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_room_decryption_trust_requirement() != 2776) {
37689-
return InitializationResult.apiChecksumMismatch
37690-
}
3769137691
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_room_key_recipient_strategy() != 41183) {
3769237692
return InitializationResult.apiChecksumMismatch
3769337693
}

0 commit comments

Comments
 (0)