Skip to content

Commit

Permalink
Update dependencies declared in Podfile and Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
BitriseBot authored and EgorovEI committed Nov 11, 2024
1 parent 60eac36 commit 0212a21
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion GliaWidgets.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ Pod::Spec.new do |s|
}
s.exclude_files = ['GliaWidgets/Window/**']

s.dependency 'GliaCoreSDK', '1.5.5'
s.dependency 'GliaCoreSDK', '2.0.0'
end
8 changes: 6 additions & 2 deletions GliaWidgets/Sources/CoreSDKClient/CoreSDKClient.Mock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -483,15 +483,19 @@ extension CoreSdkClient.Engagement {
source: EngagementSource = .coreEngagement,
fetchSurvey: @escaping FetchSurvey = { _, _ in },
restartedFromEngagementId: String? = nil,
media: Engagement.Media = .init(audio: nil, video: nil)
media: Engagement.Media = .init(audio: nil, video: nil),
status: Status = .unknown("mock"),
capabilities: Capabilities = .init(text: false)
) -> CoreSdkClient.Engagement {
.init(
id: id,
engagedOperator: engagedOperator,
source: source,
fetchSurvey: fetchSurvey,
restartedFromEngagementId: restartedFromEngagementId,
mediaStreams: media
mediaStreams: media,
status: status,
capabilities: capabilities
)
}
}
Expand Down
4 changes: 4 additions & 0 deletions GliaWidgets/Sources/Interactor/Interactor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,10 @@ extension Interactor: CoreSdkClient.Interactable {
}
}

var onLiveToSecureConversationsEngagementTransferring: CoreSdkClient.EngagementTransferringBlock {
return {}
}

var onOperatorTypingStatusUpdate: CoreSdkClient.OperatorTypingStatusUpdate {
return { [weak self] operatorTypingStatus in
self?.notify(.typingStatusUpdated(operatorTypingStatus))
Expand Down
6 changes: 2 additions & 4 deletions GliaWidgetsTests/CallVisualizer/CallVisualizerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class CallVisualizerTests: XCTestCase {
var environmentMock = CallVisualizer.Environment.mock
environmentMock.screenShareHandler = screenShareHandlerMock
environmentMock.getCurrentEngagement = {
.init(id: "", engagedOperator: nil, source: .callVisualizer, fetchSurvey: { _, _ in }, mediaStreams: .init(audio: nil, video: nil))
.mock(source: .callVisualizer)
}
let interactorMock = Interactor.mock()
environmentMock.interactorProviding = { interactorMock }
Expand Down Expand Up @@ -63,9 +63,7 @@ final class CallVisualizerTests: XCTestCase {
}
var environmentMock = CallVisualizer.Environment.mock
environmentMock.screenShareHandler = screenShareHandlerMock
environmentMock.getCurrentEngagement = {
.init(id: "", engagedOperator: nil, source: .coreEngagement, fetchSurvey: { _, _ in }, mediaStreams: .init(audio: nil, video: nil))
}
environmentMock.getCurrentEngagement = { .mock() }

let callVisualizer = CallVisualizer(environment: environmentMock)
callVisualizer.startObservingInteractorEvents()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ import XCTest
class EngagementCoordinatorSurveyTests: XCTestCase {
func test_surveyCompletesWithUnexpectedError() {
let coreSdkClient = CoreSdkClient.failing
let engagement = CoreSdkClient.Engagement(
id: "",
engagedOperator: nil,
source: .coreEngagement,
let engagement = CoreSdkClient.Engagement.mock(
fetchSurvey: { _, callback in
callback(.failure(.mock()))
},
mediaStreams: .init(audio: .none, video: .oneWay)
media: .init(audio: .none, video: .oneWay)
)
let interactor = Interactor.mock(environment: .init(coreSdk: coreSdkClient, gcd: .failing, log: .failing))
interactor.currentEngagement = engagement
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ let package = Package(
),
.binaryTarget(
name: "GliaCoreSDK",
url: "https://github.com/salemove/ios-bundle/releases/download/1.5.5/GliaCoreSDK.xcframework.zip",
checksum: "21132a5eeb2ce1f4a4e75f4d2ea1c8c77ac4aead2c3ed000dadffbe9489ff899"
url: "https://github.com/salemove/ios-bundle/releases/download/2.0.0/GliaCoreSDK.xcframework.zip",
checksum: "7a5c6430c5ad291870208052ec8abf99b4d8706bbc038e635a84bbc19c1a0131"
),
.binaryTarget(
name: "GliaWidgetsSDKXcf",
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PODS:
- AccessibilitySnapshot/Core
- SnapshotTesting (~> 1.0)
- GliaCoreDependency (2.3.0)
- GliaCoreSDK (1.5.5):
- GliaCoreSDK (2.0.0):
- GliaCoreDependency (= 2.3.0)
- TwilioVoice (= 6.8.0)
- WebRTC-lib (= 119.0.0)
Expand Down Expand Up @@ -35,7 +35,7 @@ SPEC REPOS:
SPEC CHECKSUMS:
AccessibilitySnapshot: a91e4a69f870188b51f43863d9fc7269d07cdd93
GliaCoreDependency: 37f48a5a32e2646617b87cbe9d4b30eedd123f6f
GliaCoreSDK: b03e775f43b7c4c144bd208e4b4338d7e06a6812
GliaCoreSDK: ee6b34ec68fe7f7593e4bcbeac0c9ecfb51405d0
SnapshotTesting: 6141c48b6aa76ead61431ca665c14ab9a066c53b
SwiftLint: eb47480d47c982481592c195c221d11013a679cc
TwilioVoice: 9563c9ad71b9ab7bbad0b59b67cfe4be96c75d23
Expand Down

0 comments on commit 0212a21

Please sign in to comment.