Skip to content

Commit

Permalink
Revert latest rust bump (#279)
Browse files Browse the repository at this point in the history
* revert the latest rust bump

* fix up the tests
  • Loading branch information
nplasterer authored Mar 8, 2024
1 parent 6ae4e37 commit f00f3f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.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.4.2-beta5"),
.package(url: "https://github.com/xmtp/libxmtp-swift", exact: "0.4.2-beta4"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
Expand Down
15 changes: 2 additions & 13 deletions Tests/XMTPTests/GroupTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ class GroupTests: XCTestCase {
let fixtures = try await localFixtures()

let expectation1 = expectation(description: "got a conversation")
expectation1.expectedFulfillmentCount = 4
expectation1.expectedFulfillmentCount = 2
let convo = try await fixtures.bobClient.conversations.newConversation(with: fixtures.alice.address)
let group = try await fixtures.bobClient.conversations.newGroup(with: [fixtures.alice.address])
try await fixtures.aliceClient.conversations.sync()
Expand All @@ -444,11 +444,6 @@ class GroupTests: XCTestCase {

_ = try await group.send(content: "hi")
_ = try await convo.send(content: "hi")
let group2 = try await fixtures.fredClient.conversations.newGroup(with: [fixtures.alice.address])
let convo2 = try await fixtures.fredClient.conversations.newConversation(with: fixtures.alice.address)

_ = try await group2.send(content: "hi")
_ = try await convo2.send(content: "hi")

await waitForExpectations(timeout: 3)
}
Expand All @@ -457,7 +452,7 @@ class GroupTests: XCTestCase {
let fixtures = try await localFixtures()

let expectation1 = expectation(description: "got a conversation")
expectation1.expectedFulfillmentCount = 4
expectation1.expectedFulfillmentCount = 2
let convo = try await fixtures.bobClient.conversations.newConversation(with: fixtures.alice.address)
let group = try await fixtures.bobClient.conversations.newGroup(with: [fixtures.alice.address])
try await fixtures.aliceClient.conversations.sync()
Expand All @@ -469,12 +464,6 @@ class GroupTests: XCTestCase {

_ = try await group.send(content: "hi")
_ = try await convo.send(content: "hi")

let group2 = try await fixtures.fredClient.conversations.newGroup(with: [fixtures.alice.address])
let convo2 = try await fixtures.fredClient.conversations.newConversation(with: fixtures.alice.address)

_ = try await group2.send(content: "hi")
_ = try await convo2.send(content: "hi")

await waitForExpectations(timeout: 3)
}
Expand Down
4 changes: 2 additions & 2 deletions XMTP.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#

spec.name = "XMTP"
spec.version = "0.8.16"
spec.version = "0.8.17"
spec.summary = "XMTP SDK Cocoapod"

# This description is used to generate tags and improve search results.
Expand Down Expand Up @@ -44,5 +44,5 @@ Pod::Spec.new do |spec|
spec.dependency "web3.swift"
spec.dependency "GzipSwift"
spec.dependency "Connect-Swift", "= 0.3.0"
spec.dependency 'LibXMTP', '= 0.4.2-beta5'
spec.dependency 'LibXMTP', '= 0.4.2-beta4'
end
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/xmtp/libxmtp-swift",
"state" : {
"revision" : "a4111b1bb5485e7cd0d1606d8e6fde1a4b6a1783",
"version" : "0.4.2-beta5"
"revision" : "28ee27a4ded8b996a74850e366247e9fe51d782a",
"version" : "0.4.2-beta4"
}
},
{
Expand Down

0 comments on commit f00f3f1

Please sign in to comment.