diff --git a/Package.resolved b/Package.resolved index ada20c98..94c761de 100644 --- a/Package.resolved +++ b/Package.resolved @@ -41,8 +41,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/xmtp/libxmtp-swift", "state" : { - "revision" : "c5e9ed9d3ee9de55beec4d7a8f76861c9d43230d", - "version" : "0.5.1-beta1" + "revision" : "957945a1886bce6e290a7e763866d80ec6ba475b", + "version" : "0.5.3-beta2" } }, { diff --git a/Package.swift b/Package.swift index fa22bcd0..8d1a9fdf 100644 --- a/Package.swift +++ b/Package.swift @@ -25,7 +25,7 @@ let package = Package( .package(url: "https://github.com/1024jp/GzipSwift", from: "5.2.0"), .package(url: "https://github.com/bufbuild/connect-swift", exact: "0.12.0"), .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.0.0"), - .package(url: "https://github.com/xmtp/libxmtp-swift", exact: "0.5.3-beta1"), + .package(url: "https://github.com/xmtp/libxmtp-swift", exact: "0.5.3-beta2"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/Tests/XMTPTests/GroupTests.swift b/Tests/XMTPTests/GroupTests.swift index b040bdea..7bc44494 100644 --- a/Tests/XMTPTests/GroupTests.swift +++ b/Tests/XMTPTests/GroupTests.swift @@ -100,6 +100,8 @@ class GroupTests: XCTestCase { XCTAssertEqual(try aliceGroup.members.count, 3) XCTAssertEqual(try bobGroup.members.count, 3) + + try await bobGroup.addAdmin(inboxId: fixtures.aliceClient.inboxID) try await aliceGroup.removeMembers(addresses: [fixtures.fred.address]) try await bobGroup.sync() @@ -109,6 +111,9 @@ class GroupTests: XCTestCase { try await bobGroup.addMembers(addresses: [fixtures.fred.address]) try await aliceGroup.sync() + + try await bobGroup.removeAdmin(inboxId: fixtures.aliceClient.inboxID) + try await aliceGroup.sync() XCTAssertEqual(try aliceGroup.members.count, 3) XCTAssertEqual(try bobGroup.members.count, 3) diff --git a/XMTP.podspec b/XMTP.podspec index 3579d380..b85d075a 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "XMTP" - spec.version = "0.12.3" + spec.version = "0.12.4" spec.summary = "XMTP SDK Cocoapod" # This description is used to generate tags and improve search results. @@ -44,5 +44,5 @@ Pod::Spec.new do |spec| spec.dependency "web3.swift" spec.dependency "GzipSwift" spec.dependency "Connect-Swift", "= 0.12.0" - spec.dependency 'LibXMTP', '= 0.5.3-beta1' + spec.dependency 'LibXMTP', '= 0.5.3-beta2' end