Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the RustSDK to v1.0.75 #3557

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ElementX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8195,7 +8195,7 @@
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
requirement = {
kind = exactVersion;
version = 1.0.74;
version = 1.0.75;
};
};
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
"state" : {
"revision" : "66d32e79ae20dd31201cd16eced53cfcc0c3239d",
"version" : "1.0.74"
"revision" : "6b14c048543bac9effe5e44fa90333bfa7dd9435",
"version" : "1.0.75"
}
},
{
Expand Down
65 changes: 0 additions & 65 deletions ElementX/Sources/Mocks/Generated/SDKGeneratedMocks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8248,71 +8248,6 @@ open class MediaSourceSDKMock: MatrixRustSDK.MediaSource {
{
}

//MARK: - toJson

var toJsonUnderlyingCallsCount = 0
open var toJsonCallsCount: Int {
get {
if Thread.isMainThread {
return toJsonUnderlyingCallsCount
} else {
var returnValue: Int? = nil
DispatchQueue.main.sync {
returnValue = toJsonUnderlyingCallsCount
}

return returnValue!
}
}
set {
if Thread.isMainThread {
toJsonUnderlyingCallsCount = newValue
} else {
DispatchQueue.main.sync {
toJsonUnderlyingCallsCount = newValue
}
}
}
}
open var toJsonCalled: Bool {
return toJsonCallsCount > 0
}

var toJsonUnderlyingReturnValue: String!
open var toJsonReturnValue: String! {
get {
if Thread.isMainThread {
return toJsonUnderlyingReturnValue
} else {
var returnValue: String? = nil
DispatchQueue.main.sync {
returnValue = toJsonUnderlyingReturnValue
}

return returnValue!
}
}
set {
if Thread.isMainThread {
toJsonUnderlyingReturnValue = newValue
} else {
DispatchQueue.main.sync {
toJsonUnderlyingReturnValue = newValue
}
}
}
}
open var toJsonClosure: (() -> String)?

open override func toJson() -> String {
toJsonCallsCount += 1
if let toJsonClosure = toJsonClosure {
return toJsonClosure()
} else {
return toJsonReturnValue
}
}

//MARK: - url

var urlUnderlyingCallsCount = 0
Expand Down
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ packages:
# Element/Matrix dependencies
MatrixRustSDK:
url: https://github.com/element-hq/matrix-rust-components-swift
exactVersion: 1.0.74
exactVersion: 1.0.75
# path: ../matrix-rust-sdk
Compound:
url: https://github.com/element-hq/compound-ios
Expand Down
Loading