Fix a potential bug where the token couldn't be refreshed when the cached server /versions had expired. (#4687)

* Update SDK mocks for UniFFI 0.30.0

* Update the SDK.

* Update the SDK again

Includes a temporary workaround that patches the SDK's generated Swift files so that our tests don't crash:
3f0075fb8a
This commit is contained in:
Doug
2025-11-03 19:09:31 +00:00
committed by GitHub
parent 32edde00de
commit bf533e0572
16 changed files with 1062 additions and 535 deletions

View File

@@ -225,11 +225,11 @@ import {{ import }}
{% call accessLevel type.accessLevel %}class {{ type.name | replace:"Protocol","" }}SDKMock: MatrixRustSDK.{{ type.name }}, @unchecked Sendable {
{% if type.accessLevel == "open" %}
init() {
super.init(noPointer: .init())
super.init(noHandle: .init())
}
public required init(unsafeFromRawPointer pointer: UnsafeMutableRawPointer) {
fatalError("init(unsafeFromRawPointer:) has not been implemented")
public required init(unsafeFromHandle handle: UInt64) {
fatalError("init(unsafeFromHandle:) has not been implemented")
}
{% endif %}