Skip to content

Commit

Permalink
dump latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Sep 24, 2024
1 parent 9398f55 commit 08adda4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Sources/LibXMTP/libxmtp-version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 34d32499
Branch: main
Date: 2024-09-19 21:05:16 +0000
Version: 43814c43
Branch: offsite/scw-libxmtp
Date: 2024-09-24 20:50:30 +0000
22 changes: 16 additions & 6 deletions Sources/LibXMTP/xmtpv3.swift
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ public protocol FfiGroupProtocol: AnyObject {

func isSuperAdmin(inboxId: String) throws -> Bool

func listMembers() throws -> [FfiGroupMember]
func listMembers() async throws -> [FfiGroupMember]

func processStreamedGroupMessage(envelopeBytes: Data) async throws -> FfiMessage

Expand Down Expand Up @@ -1002,10 +1002,20 @@ open class FfiGroup:
})
}

open func listMembers() throws -> [FfiGroupMember] {
return try FfiConverterSequenceTypeFfiGroupMember.lift(rustCallWithError(FfiConverterTypeGenericError.lift) {
uniffi_xmtpv3_fn_method_ffigroup_list_members(self.uniffiClonePointer(), $0)
})
open func listMembers() async throws -> [FfiGroupMember] {
return
try await uniffiRustCallAsync(
rustFutureFunc: {
uniffi_xmtpv3_fn_method_ffigroup_list_members(
self.uniffiClonePointer()
)
},
pollFunc: ffi_xmtpv3_rust_future_poll_rust_buffer,
completeFunc: ffi_xmtpv3_rust_future_complete_rust_buffer,
freeFunc: ffi_xmtpv3_rust_future_free_rust_buffer,
liftFunc: FfiConverterSequenceTypeFfiGroupMember.lift,
errorHandler: FfiConverterTypeGenericError.lift
)
}

open func processStreamedGroupMessage(envelopeBytes: Data) async throws -> FfiMessage {
Expand Down Expand Up @@ -5478,7 +5488,7 @@ private var initializationResult: InitializationResult = {
if uniffi_xmtpv3_checksum_method_ffigroup_is_super_admin() != 61614 {
return InitializationResult.apiChecksumMismatch
}
if uniffi_xmtpv3_checksum_method_ffigroup_list_members() != 61034 {
if uniffi_xmtpv3_checksum_method_ffigroup_list_members() != 3945 {
return InitializationResult.apiChecksumMismatch
}
if uniffi_xmtpv3_checksum_method_ffigroup_process_streamed_group_message() != 19069 {
Expand Down

0 comments on commit 08adda4

Please sign in to comment.