Skip to content

Commit

Permalink
Bump SDK version to 0.2.20 (matrix-rust-sdk to 1c84026bd19791ece17528…
Browse files Browse the repository at this point in the history
…78eeb896ff1aec2a8b)
  • Loading branch information
SpiritCroc committed Jun 15, 2024
1 parent fa2612e commit f58e55c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 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 = 19
const val patchVersion = 20
}
Original file line number Diff line number Diff line change
Expand Up @@ -2764,6 +2764,8 @@ internal interface UniffiLib : Library {
): Long
fun uniffi_matrix_sdk_ffi_fn_method_timeline_force_send_read_receipt(`ptr`: Pointer,`receiptType`: RustBuffer.ByValue,`eventId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_method_timeline_fully_read_event_id(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_method_timeline_get_event_timeline_item_by_event_id(`ptr`: Pointer,`eventId`: RustBuffer.ByValue,
): Long
fun uniffi_matrix_sdk_ffi_fn_method_timeline_latest_event(`ptr`: Pointer,
Expand All @@ -2776,8 +2778,6 @@ internal interface UniffiLib : Library {
): Unit
fun uniffi_matrix_sdk_ffi_fn_method_timeline_retry_send(`ptr`: Pointer,`txnId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_method_timeline_sc_dbg_fully_read_event_id(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_method_timeline_send(`ptr`: Pointer,`msg`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_method_timeline_send_audio(`ptr`: Pointer,`url`: RustBuffer.ByValue,`audioInfo`: RustBuffer.ByValue,`caption`: RustBuffer.ByValue,`formattedCaption`: RustBuffer.ByValue,`progressWatcher`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
Expand Down Expand Up @@ -3676,6 +3676,8 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_force_send_read_receipt(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_fully_read_event_id(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_get_event_timeline_item_by_event_id(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_latest_event(
Expand All @@ -3688,8 +3690,6 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_retry_send(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_sc_dbg_fully_read_event_id(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_send(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_timeline_send_audio(
Expand Down Expand Up @@ -4745,6 +4745,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_force_send_read_receipt() != 1373.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_fully_read_event_id() != 40361.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_get_event_timeline_item_by_event_id() != 36555.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand All @@ -4763,9 +4766,6 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_retry_send() != 47520.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_sc_dbg_fully_read_event_id() != 18797.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_send() != 27762.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -17652,6 +17652,11 @@ public interface TimelineInterface {
*/
fun `forceSendReadReceipt`(`receiptType`: ReceiptType, `eventId`: kotlin.String)

/**
* SC: get fully_read marker event ID
*/
fun `fullyReadEventId`(): kotlin.String?

suspend fun `getEventTimelineItemByEventId`(`eventId`: kotlin.String): EventTimelineItem

suspend fun `latestEvent`(): EventTimelineItem?
Expand All @@ -17677,11 +17682,6 @@ public interface TimelineInterface {

fun `retrySend`(`txnId`: kotlin.String)

/**
* SC: get fully_read marker ID for debugging
*/
fun `scDbgFullyReadEventId`(): kotlin.String?

fun `send`(`msg`: RoomMessageEventContentWithoutRelation)

fun `sendAudio`(`url`: kotlin.String, `audioInfo`: AudioInfo, `caption`: kotlin.String?, `formattedCaption`: FormattedBody?, `progressWatcher`: ProgressWatcher?): SendAttachmentJoinHandle
Expand Down Expand Up @@ -17974,6 +17974,21 @@ open class Timeline: Disposable, AutoCloseable, TimelineInterface {



/**
* SC: get fully_read marker event ID
*/override fun `fullyReadEventId`(): kotlin.String? {
return FfiConverterOptionalString.lift(
callWithPointer {
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_timeline_fully_read_event_id(
it, _status)
}
}
)
}



@Throws(ClientException::class)
@Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")
override suspend fun `getEventTimelineItemByEventId`(`eventId`: kotlin.String) : EventTimelineItem {
Expand Down Expand Up @@ -18092,21 +18107,6 @@ open class Timeline: Disposable, AutoCloseable, TimelineInterface {




/**
* SC: get fully_read marker ID for debugging
*/override fun `scDbgFullyReadEventId`(): kotlin.String? {
return FfiConverterOptionalString.lift(
callWithPointer {
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_timeline_sc_dbg_fully_read_event_id(
it, _status)
}
}
)
}


override fun `send`(`msg`: RoomMessageEventContentWithoutRelation)
=
callWithPointer {
Expand Down

0 comments on commit f58e55c

Please sign in to comment.