Skip to content

Commit

Permalink
Bump to v1.1.51 (matrix-rust-sdk/main 8eafaa58fb2149d5d9296ba60a853d1…
Browse files Browse the repository at this point in the history
…dfbd02718)
  • Loading branch information
Velin92 committed Mar 20, 2024
1 parent e6b350d commit 6f8e453
Show file tree
Hide file tree
Showing 5 changed files with 1,226 additions and 881 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import PackageDescription

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

let package = Package(
Expand Down
38 changes: 17 additions & 21 deletions Sources/MatrixRustSDK/matrix_sdk.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// This file was autogenerated by some hot garbage in the `uniffi` crate.
// Trust me, you don't want to mess with it!

// swiftlint:disable all
import Foundation

// Depending on the consumer's build setup, the low-level FFI code
Expand Down Expand Up @@ -473,44 +475,34 @@ public struct RoomPowerLevelChanges {
public init(
/**
* The level required to ban a user.
*/
ban: Int64? = nil,
*/ban: Int64? = nil,
/**
* The level required to invite a user.
*/
invite: Int64? = nil,
*/invite: Int64? = nil,
/**
* The level required to kick a user.
*/
kick: Int64? = nil,
*/kick: Int64? = nil,
/**
* The level required to redact an event.
*/
redact: Int64? = nil,
*/redact: Int64? = nil,
/**
* The default level required to send message events.
*/
eventsDefault: Int64? = nil,
*/eventsDefault: Int64? = nil,
/**
* The default level required to send state events.
*/
stateDefault: Int64? = nil,
*/stateDefault: Int64? = nil,
/**
* The default power level for every user in the room.
*/
usersDefault: Int64? = nil,
*/usersDefault: Int64? = nil,
/**
* The level required to change the room's name.
*/
roomName: Int64? = nil,
*/roomName: Int64? = nil,
/**
* The level required to change the room's avatar.
*/
roomAvatar: Int64? = nil,
*/roomAvatar: Int64? = nil,
/**
* The level required to change the room's topic.
*/
roomTopic: Int64? = nil) {
*/roomTopic: Int64? = nil) {
self.ban = ban
self.invite = invite
self.kick = kick
Expand Down Expand Up @@ -620,6 +612,7 @@ public func FfiConverterTypeRoomPowerLevelChanges_lower(_ value: RoomPowerLevelC
/**
* The role of a member in a room.
*/

public enum RoomMemberRole {

/**
Expand All @@ -636,6 +629,7 @@ public enum RoomMemberRole {
case user
}


public struct FfiConverterTypeRoomMemberRole: FfiConverterRustBuffer {
typealias SwiftType = RoomMemberRole

Expand Down Expand Up @@ -735,4 +729,6 @@ private func uniffiEnsureInitialized() {
case .apiChecksumMismatch:
fatalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
}
}

// swiftlint:enable all
6 changes: 5 additions & 1 deletion Sources/MatrixRustSDK/matrix_sdk_base.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// This file was autogenerated by some hot garbage in the `uniffi` crate.
// Trust me, you don't want to mess with it!

// swiftlint:disable all
import Foundation

// Depending on the consumer's build setup, the low-level FFI code
Expand Down Expand Up @@ -435,4 +437,6 @@ private func uniffiEnsureInitialized() {
case .apiChecksumMismatch:
fatalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
}
}

// swiftlint:enable all
Loading

0 comments on commit 6f8e453

Please sign in to comment.