Skip to content

Commit 6f8e453

Browse files
committed
Bump to v1.1.51 (matrix-rust-sdk/main 8eafaa58fb2149d5d9296ba60a853d1dfbd02718)
1 parent e6b350d commit 6f8e453

File tree

5 files changed

+1226
-881
lines changed

5 files changed

+1226
-881
lines changed

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let checksum = "353fa2feeec0963d3d18c8477077dbad553e98e11895133d40da7f0ca3091cfc"
7-
let version = "v1.1.50"
6+
let checksum = "2981174dd2b76c8a4963036c8803a47cc85f78aff4acf5dc82bd6ea3dfdbebc2"
7+
let version = "v1.1.51"
88
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
99

1010
let package = Package(

Sources/MatrixRustSDK/matrix_sdk.swift

+17-21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// This file was autogenerated by some hot garbage in the `uniffi` crate.
22
// Trust me, you don't want to mess with it!
3+
4+
// swiftlint:disable all
35
import Foundation
46

57
// Depending on the consumer's build setup, the low-level FFI code
@@ -473,44 +475,34 @@ public struct RoomPowerLevelChanges {
473475
public init(
474476
/**
475477
* The level required to ban a user.
476-
*/
477-
ban: Int64? = nil,
478+
*/ban: Int64? = nil,
478479
/**
479480
* The level required to invite a user.
480-
*/
481-
invite: Int64? = nil,
481+
*/invite: Int64? = nil,
482482
/**
483483
* The level required to kick a user.
484-
*/
485-
kick: Int64? = nil,
484+
*/kick: Int64? = nil,
486485
/**
487486
* The level required to redact an event.
488-
*/
489-
redact: Int64? = nil,
487+
*/redact: Int64? = nil,
490488
/**
491489
* The default level required to send message events.
492-
*/
493-
eventsDefault: Int64? = nil,
490+
*/eventsDefault: Int64? = nil,
494491
/**
495492
* The default level required to send state events.
496-
*/
497-
stateDefault: Int64? = nil,
493+
*/stateDefault: Int64? = nil,
498494
/**
499495
* The default power level for every user in the room.
500-
*/
501-
usersDefault: Int64? = nil,
496+
*/usersDefault: Int64? = nil,
502497
/**
503498
* The level required to change the room's name.
504-
*/
505-
roomName: Int64? = nil,
499+
*/roomName: Int64? = nil,
506500
/**
507501
* The level required to change the room's avatar.
508-
*/
509-
roomAvatar: Int64? = nil,
502+
*/roomAvatar: Int64? = nil,
510503
/**
511504
* The level required to change the room's topic.
512-
*/
513-
roomTopic: Int64? = nil) {
505+
*/roomTopic: Int64? = nil) {
514506
self.ban = ban
515507
self.invite = invite
516508
self.kick = kick
@@ -620,6 +612,7 @@ public func FfiConverterTypeRoomPowerLevelChanges_lower(_ value: RoomPowerLevelC
620612
/**
621613
* The role of a member in a room.
622614
*/
615+
623616
public enum RoomMemberRole {
624617

625618
/**
@@ -636,6 +629,7 @@ public enum RoomMemberRole {
636629
case user
637630
}
638631

632+
639633
public struct FfiConverterTypeRoomMemberRole: FfiConverterRustBuffer {
640634
typealias SwiftType = RoomMemberRole
641635

@@ -735,4 +729,6 @@ private func uniffiEnsureInitialized() {
735729
case .apiChecksumMismatch:
736730
fatalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
737731
}
738-
}
732+
}
733+
734+
// swiftlint:enable all

Sources/MatrixRustSDK/matrix_sdk_base.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// This file was autogenerated by some hot garbage in the `uniffi` crate.
22
// Trust me, you don't want to mess with it!
3+
4+
// swiftlint:disable all
35
import Foundation
46

57
// Depending on the consumer's build setup, the low-level FFI code
@@ -435,4 +437,6 @@ private func uniffiEnsureInitialized() {
435437
case .apiChecksumMismatch:
436438
fatalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
437439
}
438-
}
440+
}
441+
442+
// swiftlint:enable all

0 commit comments

Comments
 (0)