Skip to content

Commit

Permalink
updating starscream to 4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
RishavG96 committed Jun 27, 2024
1 parent 87b9436 commit 9787ce2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Clickstream.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
s.dependency "SwiftProtobuf", "~> 1.21.0"
s.dependency "ReachabilitySwift", '>= 5.0.0'
s.dependency "GRDB.swift", "~> 6.7.0"
s.dependency "Starscream", "4.0.4"
s.dependency "Starscream", "4.0.5"

s.default_subspec = 'Core'

Expand Down
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def clickstream_pods
pod 'SwiftProtobuf', '~> 1.21.0'
pod 'ReachabilitySwift', '5.2.3'
pod 'GRDB.swift', '~> 6.7.0'
pod 'Starscream', '4.0.4'
pod 'Starscream', '4.0.5'
end

target 'Clickstream' do
Expand Down
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ PODS:
- GRDB.swift/standard (= 6.7.0)
- GRDB.swift/standard (6.7.0)
- ReachabilitySwift (5.2.3)
- Starscream (4.0.4)
- Starscream (4.0.5)
- SwiftProtobuf (1.21.0)

DEPENDENCIES:
- GRDB.swift (~> 6.7.0)
- ReachabilitySwift (= 5.2.3)
- Starscream (= 4.0.4)
- Starscream (= 4.0.5)
- SwiftProtobuf (~> 1.21.0)

SPEC REPOS:
Expand All @@ -22,9 +22,9 @@ SPEC REPOS:
SPEC CHECKSUMS:
GRDB.swift: df2fdb0752e88383fc314e1e5d7c3a76d52054eb
ReachabilitySwift: 7f151ff156cea1481a8411701195ac6a984f4979
Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9
Starscream: 97a24f0636451d134fbb932f2b15cefd89b1a040
SwiftProtobuf: afced68785854575756db965e9da52bbf3dc45e7

PODFILE CHECKSUM: 213a1f773842b7f54321fed274b2d0f1244f4fa5
PODFILE CHECKSUM: bcf76ba85fc978b95b39ff51e219ec03c033cde1

COCOAPODS: 1.15.2
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ extension DefaultSocketHandler {
checkedSelf.connectionCallback?(.success(.cancelled))
case .viabilityChanged(let status):
checkedSelf.isConnectionRequestOpen = status
// case .peerClosed:
// checkedSelf.isConnectionRequestOpen = false
case .peerClosed:
checkedSelf.isConnectionRequestOpen = false
default:
break
}
Expand Down Expand Up @@ -263,11 +263,11 @@ extension DefaultSocketHandler {
guard Tracker.debugMode else { return }
if let error = error, case HTTPUpgradeError.notAnUpgrade(let code) = error {

if code == 401 {
if code.0 == 401 {
let event = HealthAnalysisEvent(eventName: eventName,
reason: FailureReason.AuthenticationError.rawValue)
Tracker.sharedInstance?.record(event: event)
} else if code == 1008 {
} else if code.0 == 1008 {
let event = HealthAnalysisEvent(eventName: eventName,
reason: FailureReason.DuplicateID.rawValue)
Tracker.sharedInstance?.record(event: event)
Expand Down

0 comments on commit 9787ce2

Please sign in to comment.