mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Bump the RustSDK to v1.0.75
This commit is contained in:
parent
36980840ed
commit
ed4063a222
@ -8195,7 +8195,7 @@
|
|||||||
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
|
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = 1.0.74;
|
version = 1.0.75;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
||||||
|
@ -149,8 +149,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "66d32e79ae20dd31201cd16eced53cfcc0c3239d",
|
"revision" : "6b14c048543bac9effe5e44fa90333bfa7dd9435",
|
||||||
"version" : "1.0.74"
|
"version" : "1.0.75"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -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
|
//MARK: - url
|
||||||
|
|
||||||
var urlUnderlyingCallsCount = 0
|
var urlUnderlyingCallsCount = 0
|
||||||
|
@ -61,7 +61,7 @@ packages:
|
|||||||
# Element/Matrix dependencies
|
# Element/Matrix dependencies
|
||||||
MatrixRustSDK:
|
MatrixRustSDK:
|
||||||
url: https://github.com/element-hq/matrix-rust-components-swift
|
url: https://github.com/element-hq/matrix-rust-components-swift
|
||||||
exactVersion: 1.0.74
|
exactVersion: 1.0.75
|
||||||
# path: ../matrix-rust-sdk
|
# path: ../matrix-rust-sdk
|
||||||
Compound:
|
Compound:
|
||||||
url: https://github.com/element-hq/compound-ios
|
url: https://github.com/element-hq/compound-ios
|
||||||
|
Loading…
x
Reference in New Issue
Block a user