mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update SDK to 1.0.75-alpha (#1075)
* Update SDK to 1.0.75-alpha * Fix mocks
This commit is contained in:
@@ -4856,7 +4856,7 @@
|
|||||||
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = "1.0.74-alpha";
|
version = "1.0.75-alpha";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = {
|
96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = {
|
||||||
|
|||||||
@@ -102,8 +102,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "97a5fcc18cc201ee97239a76c1556dcbd0ff27fa",
|
"revision" : "c6e794f305a34453ed081be131b2eea719154bc5",
|
||||||
"version" : "1.0.74-alpha"
|
"version" : "1.0.75-alpha"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -421,6 +421,27 @@ class SDKClientMock: SDKClientProtocol {
|
|||||||
return roomsReturnValue
|
return roomsReturnValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//MARK: - `roomList`
|
||||||
|
|
||||||
|
public var roomListThrowableError: Error?
|
||||||
|
public var roomListCallsCount = 0
|
||||||
|
public var roomListCalled: Bool {
|
||||||
|
return roomListCallsCount > 0
|
||||||
|
}
|
||||||
|
public var roomListReturnValue: RoomList!
|
||||||
|
public var roomListClosure: (() throws -> RoomList)?
|
||||||
|
|
||||||
|
public func `roomList`() throws -> RoomList {
|
||||||
|
if let error = roomListThrowableError {
|
||||||
|
throw error
|
||||||
|
}
|
||||||
|
roomListCallsCount += 1
|
||||||
|
if let roomListClosure = roomListClosure {
|
||||||
|
return try roomListClosure()
|
||||||
|
} else {
|
||||||
|
return roomListReturnValue
|
||||||
|
}
|
||||||
|
}
|
||||||
//MARK: - `searchUsers`
|
//MARK: - `searchUsers`
|
||||||
|
|
||||||
public var searchUsersSearchTermLimitThrowableError: Error?
|
public var searchUsersSearchTermLimitThrowableError: Error?
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ include:
|
|||||||
packages:
|
packages:
|
||||||
MatrixRustSDK:
|
MatrixRustSDK:
|
||||||
url: https://github.com/matrix-org/matrix-rust-components-swift
|
url: https://github.com/matrix-org/matrix-rust-components-swift
|
||||||
exactVersion: 1.0.74-alpha
|
exactVersion: 1.0.75-alpha
|
||||||
# path: ../matrix-rust-sdk
|
# path: ../matrix-rust-sdk
|
||||||
DesignKit:
|
DesignKit:
|
||||||
path: DesignKit
|
path: DesignKit
|
||||||
|
|||||||
Reference in New Issue
Block a user