Skip to content

Commit

Permalink
Bump SDK version to 0.2.12 (matrix-rust-sdk to ce7143b833c5ca0e4a13df…
Browse files Browse the repository at this point in the history
…75d5bd4322a676c566)
  • Loading branch information
github-actions committed Mar 26, 2024
1 parent 34f475e commit 414c2e1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/BuildVersionsSDK.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
object BuildVersionsSDK {
const val majorVersion = 0
const val minorVersion = 2
const val patchVersion = 11
const val patchVersion = 12
}
Original file line number Diff line number Diff line change
Expand Up @@ -1698,6 +1698,8 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(








Expand Down Expand Up @@ -1969,6 +1971,8 @@ internal interface UniffiLib : Library {
): Pointer
fun uniffi_matrix_sdk_ffi_fn_free_homeserverlogindetails(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_method_homeserverlogindetails_sliding_sync_proxy(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_method_homeserverlogindetails_supports_oidc_login(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Byte
fun uniffi_matrix_sdk_ffi_fn_method_homeserverlogindetails_supports_password_login(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
Expand Down Expand Up @@ -2911,6 +2915,8 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_eventtimelineitem_transaction_id(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_homeserverlogindetails_sliding_sync_proxy(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_homeserverlogindetails_supports_oidc_login(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_homeserverlogindetails_supports_password_login(
Expand Down Expand Up @@ -3739,6 +3745,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_eventtimelineitem_transaction_id() != 40338.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_homeserverlogindetails_sliding_sync_proxy() != 46815.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_homeserverlogindetails_supports_oidc_login() != 46090.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -7563,6 +7572,12 @@ public object FfiConverterTypeEventTimelineItem: FfiConverter<EventTimelineItem,

public interface HomeserverLoginDetailsInterface {

/**
* The URL of the discovered or manually set sliding sync proxy,
* if any.
*/
fun `slidingSyncProxy`(): kotlin.String?

/**
* Whether the current homeserver supports login using OIDC.
*/
Expand Down Expand Up @@ -7663,6 +7678,21 @@ open class HomeserverLoginDetails: Disposable, AutoCloseable, HomeserverLoginDet
}


/**
* The URL of the discovered or manually set sliding sync proxy,
* if any.
*/override fun `slidingSyncProxy`(): kotlin.String? =
callWithPointer {
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_homeserverlogindetails_sliding_sync_proxy(it,

_status)
}
}.let {
FfiConverterOptionalString.lift(it)
}


/**
* Whether the current homeserver supports login using OIDC.
*/override fun `supportsOidcLogin`(): kotlin.Boolean =
Expand Down

0 comments on commit 414c2e1

Please sign in to comment.