Skip to content

Commit 196cb55

Browse files
Updated StreamChat dependency (#526)
1 parent a9bc868 commit 196cb55

File tree

8 files changed

+9
-5
lines changed

8 files changed

+9
-5
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
)
1717
],
1818
dependencies: [
19-
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.57.0"),
19+
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.58.0"),
2020
],
2121
targets: [
2222
.target(

Sources/StreamChatSwiftUI/StreamChat.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public class StreamChat {
1717
appearance: Appearance = Appearance(),
1818
utils: Utils = Utils()
1919
) {
20+
StreamRuntimeCheck._isDatabaseObserverItemReusingEnabled = false
2021
self.chatClient = chatClient
2122
self.appearance = appearance
2223
self.utils = utils

StreamChatSwiftUI-XCFramework.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pod::Spec.new do |spec|
1919

2020
spec.framework = 'Foundation', 'UIKit', 'SwiftUI'
2121

22-
spec.dependency 'StreamChat-XCFramework', '~> 4.57.0'
22+
spec.dependency 'StreamChat-XCFramework', '~> 4.58.0'
2323

2424
spec.cocoapods_version = '>= 1.11.0'
2525
end

StreamChatSwiftUI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Pod::Spec.new do |spec|
1919

2020
spec.framework = 'Foundation', 'UIKit', 'SwiftUI'
2121

22-
spec.dependency 'StreamChat', '~> 4.57.0'
22+
spec.dependency 'StreamChat', '~> 4.58.0'
2323
end

StreamChatSwiftUI.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3705,7 +3705,7 @@
37053705
repositoryURL = "https://github.com/GetStream/stream-chat-swift.git";
37063706
requirement = {
37073707
kind = upToNextMajorVersion;
3708-
minimumVersion = 4.57.0;
3708+
minimumVersion = 4.58.0;
37093709
};
37103710
};
37113711
E3A1C01A282BAC66002D1E26 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {

StreamChatSwiftUITests/Tests/ChatChannel/ReactionsOverlayView_Tests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class ReactionsOverlayView_Tests: StreamChatTestCase {
7272
// Given
7373
let author = ChatUser.mock(id: .unique, name: "Martin")
7474
let reaction = ChatMessageReaction(
75+
id: .unique,
7576
type: .init(rawValue: "love"),
7677
score: 1,
7778
createdAt: Date(),

StreamChatSwiftUITests/Tests/ChatChannel/ReactionsUsersView_Tests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class ReactionsUsersView_Tests: StreamChatTestCase {
1515
// Given
1616
let author = ChatUser.mock(id: .unique, name: "Martin")
1717
let reaction = ChatMessageReaction(
18+
id: .unique,
1819
type: .init(rawValue: "love"),
1920
score: 1,
2021
createdAt: Date(),
@@ -44,6 +45,7 @@ class ReactionsUsersView_Tests: StreamChatTestCase {
4445
for _ in 0..<8 {
4546
let author = ChatUser.mock(id: .unique, name: "Martin")
4647
let reaction = ChatMessageReaction(
48+
id: .unique,
4749
type: .init(rawValue: "love"),
4850
score: 1,
4951
createdAt: Date(),

StreamChatSwiftUITestsAppTests/Tests/Base TestCase/StreamTestCase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ extension StreamTestCase {
9090
return
9191
}
9292
server.stop()
93-
MockServerConfiguration.port = Int.random(in: 61000..<62000)
93+
MockServerConfiguration.port = UInt16(Int.random(in: 61000..<62000))
9494
}
9595

9696
mockServerCrashed = true

0 commit comments

Comments
 (0)