Skip to content

Commit 6b14c04

Browse files
committed
Bump to version v1.0.75 (matrix-rust-sdk/main ca397dc)
1 parent 66d32e7 commit 6b14c04

File tree

2 files changed

+5
-28
lines changed

2 files changed

+5
-28
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 = "9952b52411c5cce8281b380a702b8a7aaceaf98a9dd1085cc826f454d64d00a0"
5-
let version = "v1.0.74"
4+
let checksum = "e02e7ab58c3161a810ead8d7495a3172e092afd609d8d86fea7c33d45d246a7b"
5+
let version = "v1.0.75"
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: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3828,8 +3828,6 @@ public func FfiConverterTypeMediaFileHandle_lower(_ value: MediaFileHandle) -> U
38283828

38293829
public protocol MediaSourceProtocol : AnyObject {
38303830

3831-
func toJson() -> String
3832-
38333831
func url() -> String
38343832

38353833
}
@@ -3873,23 +3871,8 @@ open class MediaSource:
38733871
}
38743872

38753873

3876-
public static func fromJson(json: String)throws -> MediaSource {
3877-
return try FfiConverterTypeMediaSource.lift(try rustCallWithError(FfiConverterTypeClientError.lift) {
3878-
uniffi_matrix_sdk_ffi_fn_constructor_mediasource_from_json(
3879-
FfiConverterString.lower(json),$0
3880-
)
3881-
})
3882-
}
3883-
38843874

38853875

3886-
open func toJson() -> String {
3887-
return try! FfiConverterString.lift(try! rustCall() {
3888-
uniffi_matrix_sdk_ffi_fn_method_mediasource_to_json(self.uniffiClonePointer(),$0
3889-
)
3890-
})
3891-
}
3892-
38933876
open func url() -> String {
38943877
return try! FfiConverterString.lift(try! rustCall() {
38953878
uniffi_matrix_sdk_ffi_fn_method_mediasource_url(self.uniffiClonePointer(),$0
@@ -28953,12 +28936,6 @@ private var initializationResult: InitializationResult = {
2895328936
if (uniffi_matrix_sdk_ffi_checksum_func_suggested_role_for_power_level() != 48532) {
2895428937
return InitializationResult.apiChecksumMismatch
2895528938
}
28956-
if (uniffi_matrix_sdk_ffi_checksum_method_mediasource_to_json() != 2998) {
28957-
return InitializationResult.apiChecksumMismatch
28958-
}
28959-
if (uniffi_matrix_sdk_ffi_checksum_method_mediasource_url() != 34026) {
28960-
return InitializationResult.apiChecksumMismatch
28961-
}
2896228939
if (uniffi_matrix_sdk_ffi_checksum_method_roommessageeventcontentwithoutrelation_with_mentions() != 8867) {
2896328940
return InitializationResult.apiChecksumMismatch
2896428941
}
@@ -29340,6 +29317,9 @@ private var initializationResult: InitializationResult = {
2934029317
if (uniffi_matrix_sdk_ffi_checksum_method_mediafilehandle_persist() != 12883) {
2934129318
return InitializationResult.apiChecksumMismatch
2934229319
}
29320+
if (uniffi_matrix_sdk_ffi_checksum_method_mediasource_url() != 62692) {
29321+
return InitializationResult.apiChecksumMismatch
29322+
}
2934329323
if (uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_notification() != 2524) {
2934429324
return InitializationResult.apiChecksumMismatch
2934529325
}
@@ -29994,9 +29974,6 @@ private var initializationResult: InitializationResult = {
2999429974
if (uniffi_matrix_sdk_ffi_checksum_method_widgetdriverhandle_send() != 18689) {
2999529975
return InitializationResult.apiChecksumMismatch
2999629976
}
29997-
if (uniffi_matrix_sdk_ffi_checksum_constructor_mediasource_from_json() != 29216) {
29998-
return InitializationResult.apiChecksumMismatch
29999-
}
3000029977
if (uniffi_matrix_sdk_ffi_checksum_constructor_clientbuilder_new() != 27991) {
3000129978
return InitializationResult.apiChecksumMismatch
3000229979
}

0 commit comments

Comments
 (0)