Skip to content

Commit 043fcb8

Browse files
committed
Bump to version v1.0.82 (matrix-rust-sdk/main 512a2d2)
1 parent 7c3d3ab commit 043fcb8

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-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 = "2a88973522320c619565fc97183a63436baac89e42ed8b2638ab938ee58457f5"
5-
let version = "v1.0.81"
4+
let checksum = "4c3e89a36d710d3889799524c3bc4d07331f76c63f91f0d2a8b380a8b5f7d64d"
5+
let version = "v1.0.82"
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: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5345,6 +5345,12 @@ public protocol RoomProtocol : AnyObject {
53455345

53465346
func resetPowerLevels() async throws -> RoomPowerLevels
53475347

5348+
/**
5349+
* Return a debug representation for the internal room events data
5350+
* structure, one line per entry in the resulting vector.
5351+
*/
5352+
func roomEventsDebugString() async throws -> [String]
5353+
53485354
func roomInfo() async throws -> RoomInfo
53495355

53505356
/**
@@ -6455,6 +6461,27 @@ open func resetPowerLevels()async throws -> RoomPowerLevels {
64556461
)
64566462
}
64576463

6464+
/**
6465+
* Return a debug representation for the internal room events data
6466+
* structure, one line per entry in the resulting vector.
6467+
*/
6468+
open func roomEventsDebugString()async throws -> [String] {
6469+
return
6470+
try await uniffiRustCallAsync(
6471+
rustFutureFunc: {
6472+
uniffi_matrix_sdk_ffi_fn_method_room_room_events_debug_string(
6473+
self.uniffiClonePointer()
6474+
6475+
)
6476+
},
6477+
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
6478+
completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_rust_buffer,
6479+
freeFunc: ffi_matrix_sdk_ffi_rust_future_free_rust_buffer,
6480+
liftFunc: FfiConverterSequenceString.lift,
6481+
errorHandler: FfiConverterTypeClientError.lift
6482+
)
6483+
}
6484+
64586485
open func roomInfo()async throws -> RoomInfo {
64596486
return
64606487
try await uniffiRustCallAsync(
@@ -19594,6 +19621,7 @@ public enum Membership {
1959419621
case joined
1959519622
case left
1959619623
case knocked
19624+
case banned
1959719625
}
1959819626

1959919627

@@ -19612,6 +19640,8 @@ public struct FfiConverterTypeMembership: FfiConverterRustBuffer {
1961219640

1961319641
case 4: return .knocked
1961419642

19643+
case 5: return .banned
19644+
1961519645
default: throw UniffiInternalError.unexpectedEnumCase
1961619646
}
1961719647
}
@@ -19635,6 +19665,10 @@ public struct FfiConverterTypeMembership: FfiConverterRustBuffer {
1963519665
case .knocked:
1963619666
writeInt(&buf, Int32(4))
1963719667

19668+
19669+
case .banned:
19670+
writeInt(&buf, Int32(5))
19671+
1963819672
}
1963919673
}
1964019674
}
@@ -30496,6 +30530,9 @@ private var initializationResult: InitializationResult = {
3049630530
if (uniffi_matrix_sdk_ffi_checksum_method_room_reset_power_levels() != 63622) {
3049730531
return InitializationResult.apiChecksumMismatch
3049830532
}
30533+
if (uniffi_matrix_sdk_ffi_checksum_method_room_room_events_debug_string() != 37832) {
30534+
return InitializationResult.apiChecksumMismatch
30535+
}
3049930536
if (uniffi_matrix_sdk_ffi_checksum_method_room_room_info() != 41146) {
3050030537
return InitializationResult.apiChecksumMismatch
3050130538
}

0 commit comments

Comments
 (0)