Skip to content

Commit

Permalink
Bump SDK version to 0.2.33 (matrix-rust-sdk to 730d5a38035be6e03f7988…
Browse files Browse the repository at this point in the history
…9c9361b4900777f3cd)
  • Loading branch information
github-actions committed Jul 19, 2024
1 parent 76e08b3 commit b4a7202
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 25 deletions.
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 = 32
const val patchVersion = 33
}
Original file line number Diff line number Diff line change
Expand Up @@ -2080,6 +2080,8 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(








Expand Down Expand Up @@ -2277,6 +2279,8 @@ internal interface UniffiLib : Library {
): Long
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_disable_automatic_token_refresh(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_disable_built_in_root_certificates(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_disable_ssl_verification(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_enable_cross_process_refresh_lock(`ptr`: Pointer,`processId`: RustBuffer.ByValue,`sessionDelegate`: Long,uniffi_out_err: UniffiRustCallStatus,
Expand All @@ -2297,6 +2301,8 @@ internal interface UniffiLib : Library {
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_set_session_delegate(`ptr`: Pointer,`sessionDelegate`: Long,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_simplified_sliding_sync(`ptr`: Pointer,`enable`: Byte,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_sliding_sync_proxy(`ptr`: Pointer,`slidingSyncProxy`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_clientbuilder_user_agent(`ptr`: Pointer,`userAgent`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
Expand Down Expand Up @@ -2695,8 +2701,6 @@ internal interface UniffiLib : Library {
): Long
fun uniffi_matrix_sdk_ffi_fn_method_roomlistitem_subscribe(`ptr`: Pointer,`settings`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_method_roomlistitem_unsubscribe(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_clone_roomlistservice(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_free_roomlistservice(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
Expand Down Expand Up @@ -3005,7 +3009,7 @@ internal interface UniffiLib : Library {
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_func_generate_webview_url(`widgetSettings`: RustBuffer.ByValue,`room`: Pointer,`props`: RustBuffer.ByValue,
): Long
fun uniffi_matrix_sdk_ffi_fn_func_get_element_call_required_permissions(`ownUserId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
fun uniffi_matrix_sdk_ffi_fn_func_get_element_call_required_permissions(`ownUserId`: RustBuffer.ByValue,`ownDeviceId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_func_log_event(`file`: RustBuffer.ByValue,`line`: RustBuffer.ByValue,`level`: RustBuffer.ByValue,`target`: RustBuffer.ByValue,`message`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): Unit
Expand Down Expand Up @@ -3323,6 +3327,8 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_automatic_token_refresh(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_built_in_root_certificates(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_ssl_verification(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_enable_cross_process_refresh_lock(
Expand All @@ -3343,6 +3349,8 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_set_session_delegate(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_simplified_sliding_sync(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_sliding_sync_proxy(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_user_agent(
Expand Down Expand Up @@ -3683,8 +3691,6 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_subscribe(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_unsubscribe(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_all_rooms(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_room(
Expand Down Expand Up @@ -3952,7 +3958,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_func_generate_webview_url() != 6844.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_func_get_element_call_required_permissions() != 51419.toShort()) {
if (lib.uniffi_matrix_sdk_ffi_checksum_func_get_element_call_required_permissions() != 30181.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_func_log_event() != 62286.toShort()) {
Expand Down Expand Up @@ -4201,6 +4207,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_automatic_token_refresh() != 43839.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_built_in_root_certificates() != 47525.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_ssl_verification() != 2334.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -4231,6 +4240,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_set_session_delegate() != 8576.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_simplified_sliding_sync() != 7554.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_sliding_sync_proxy() != 15622.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -4741,9 +4753,6 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_subscribe() != 60003.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_unsubscribe() != 45026.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_all_rooms() != 49704.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -7253,6 +7262,13 @@ public interface ClientBuilderInterface {

fun `disableAutomaticTokenRefresh`(): ClientBuilder

/**
* Don't trust any system root certificates, only trust the certificates
* provided through
* [`add_root_certificates`][ClientBuilder::add_root_certificates].
*/
fun `disableBuiltInRootCertificates`(): ClientBuilder

fun `disableSslVerification`(): ClientBuilder

fun `enableCrossProcessRefreshLock`(`processId`: kotlin.String, `sessionDelegate`: ClientSessionDelegate): ClientBuilder
Expand Down Expand Up @@ -7280,6 +7296,8 @@ public interface ClientBuilderInterface {

fun `setSessionDelegate`(`sessionDelegate`: ClientSessionDelegate): ClientBuilder

fun `simplifiedSlidingSync`(`enable`: kotlin.Boolean): ClientBuilder

fun `slidingSyncProxy`(`slidingSyncProxy`: kotlin.String?): ClientBuilder

fun `userAgent`(`userAgent`: kotlin.String): ClientBuilder
Expand Down Expand Up @@ -7502,6 +7520,23 @@ open class ClientBuilder: Disposable, AutoCloseable, ClientBuilderInterface {
}



/**
* Don't trust any system root certificates, only trust the certificates
* provided through
* [`add_root_certificates`][ClientBuilder::add_root_certificates].
*/override fun `disableBuiltInRootCertificates`(): ClientBuilder {
return FfiConverterTypeClientBuilder.lift(
callWithPointer {
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_clientbuilder_disable_built_in_root_certificates(
it, _status)
}
}
)
}


override fun `disableSslVerification`(): ClientBuilder {
return FfiConverterTypeClientBuilder.lift(
callWithPointer {
Expand Down Expand Up @@ -7629,6 +7664,18 @@ open class ClientBuilder: Disposable, AutoCloseable, ClientBuilderInterface {
}


override fun `simplifiedSlidingSync`(`enable`: kotlin.Boolean): ClientBuilder {
return FfiConverterTypeClientBuilder.lift(
callWithPointer {
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_clientbuilder_simplified_sliding_sync(
it, FfiConverterBoolean.lower(`enable`),_status)
}
}
)
}


override fun `slidingSyncProxy`(`slidingSyncProxy`: kotlin.String?): ClientBuilder {
return FfiConverterTypeClientBuilder.lift(
callWithPointer {
Expand Down Expand Up @@ -14561,8 +14608,6 @@ public interface RoomListItemInterface {

fun `subscribe`(`settings`: RoomSubscription?)

fun `unsubscribe`()

companion object
}

Expand Down Expand Up @@ -14855,17 +14900,6 @@ open class RoomListItem: Disposable, AutoCloseable, RoomListItemInterface {



override fun `unsubscribe`()
=
callWithPointer {
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_roomlistitem_unsubscribe(
it, _status)
}
}






Expand Down Expand Up @@ -34777,11 +34811,11 @@ public object FfiConverterMapStringSequenceString: FfiConverterRustBuffer<Map<ko
* Editing and extending the capabilities from this function is also possible,
* but should only be done as temporal workarounds until this function is
* adjusted
*/ fun `getElementCallRequiredPermissions`(`ownUserId`: kotlin.String): WidgetCapabilities {
*/ fun `getElementCallRequiredPermissions`(`ownUserId`: kotlin.String, `ownDeviceId`: kotlin.String): WidgetCapabilities {
return FfiConverterTypeWidgetCapabilities.lift(
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_func_get_element_call_required_permissions(
FfiConverterString.lower(`ownUserId`),_status)
FfiConverterString.lower(`ownUserId`),FfiConverterString.lower(`ownDeviceId`),_status)
}
)
}
Expand Down

0 comments on commit b4a7202

Please sign in to comment.