diff --git a/Core/PixelEvent.swift b/Core/PixelEvent.swift index a4f7696458..d4854fc730 100644 --- a/Core/PixelEvent.swift +++ b/Core/PixelEvent.swift @@ -412,10 +412,6 @@ extension Pixel { case networkProtectionClientFailedToParseRegisteredServersResponse case networkProtectionClientFailedToFetchLocations case networkProtectionClientFailedToParseLocationsResponse - case networkProtectionClientFailedToEncodeRedeemRequest - case networkProtectionClientInvalidInviteCode - case networkProtectionClientFailedToRedeemInviteCode - case networkProtectionClientFailedToParseRedeemResponse case networkProtectionClientInvalidAuthToken case networkProtectionKeychainErrorFailedToCastKeychainValueToData @@ -1239,10 +1235,6 @@ extension Pixel.Event { case .networkProtectionClientFailedToFetchLocations: return "m_netp_backend_api_error_failed_to_fetch_locations" case .networkProtectionClientFailedToParseLocationsResponse: return "m_netp_backend_api_error_parsing_locations_response_failed" - case .networkProtectionClientFailedToEncodeRedeemRequest: return "m_netp_backend_api_error_encoding_redeem_request_body_failed" - case .networkProtectionClientInvalidInviteCode: return "m_netp_backend_api_error_invalid_invite_code" - case .networkProtectionClientFailedToRedeemInviteCode: return "m_netp_backend_api_error_failed_to_redeem_invite_code" - case .networkProtectionClientFailedToParseRedeemResponse: return "m_netp_backend_api_error_parsing_redeem_response_failed" case .networkProtectionClientInvalidAuthToken: return "m_netp_backend_api_error_invalid_auth_token" case .networkProtectionKeychainErrorFailedToCastKeychainValueToData: return "m_netp_keychain_error_failed_to_cast_keychain_value_to_data" case .networkProtectionKeychainReadError: return "m_netp_keychain_error_read_failed" diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 4357d37e88..22894a1e24 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -10986,7 +10986,7 @@ repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit"; requirement = { kind = exactVersion; - version = 204.0.0; + version = 205.0.0; }; }; 9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = { diff --git a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index be8c7990a9..0f6dfac4bc 100644 --- a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -32,8 +32,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/DuckDuckGo/BrowserServicesKit", "state" : { - "revision" : "14594b6f3f3ddbea65be2818298e2e79305d8a26", - "version" : "204.0.0" + "revision" : "1d228b8fde43e7ab5f28e7a511f440676e6b05a8", + "version" : "205.0.0" } }, { diff --git a/DuckDuckGo/EventMapping+NetworkProtectionError.swift b/DuckDuckGo/EventMapping+NetworkProtectionError.swift index ad32ee887e..cb40508afb 100644 --- a/DuckDuckGo/EventMapping+NetworkProtectionError.swift +++ b/DuckDuckGo/EventMapping+NetworkProtectionError.swift @@ -36,16 +36,6 @@ extension EventMapping where Event == NetworkProtectionError { case .failedToParseLocationListResponse(let error): pixelEvent = .networkProtectionClientFailedToParseLocationsResponse pixelError = error - case .failedToEncodeRedeemRequest: - pixelEvent = .networkProtectionClientFailedToEncodeRedeemRequest - case .invalidInviteCode: - pixelEvent = .networkProtectionClientInvalidInviteCode - case .failedToRedeemInviteCode(let error): - pixelEvent = .networkProtectionClientFailedToRedeemInviteCode - pixelError = error - case .failedToParseRedeemResponse(let error): - pixelEvent = .networkProtectionClientFailedToParseRedeemResponse - pixelError = error case .invalidAuthToken: pixelEvent = .networkProtectionClientInvalidAuthToken case .failedToCastKeychainValueToData(field: let field): @@ -85,7 +75,6 @@ extension EventMapping where Event == NetworkProtectionError { .wireGuardInvalidState, .wireGuardDnsResolution, .wireGuardSetNetworkSettings, - .failedToRetrieveAuthToken, .failedToFetchServerStatus, .failedToParseServerStatusResponse: pixelEvent = .networkProtectionUnhandledError diff --git a/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift b/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift index 67e8253bfe..6634a20201 100644 --- a/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift +++ b/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift @@ -316,9 +316,6 @@ final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider { pixelError = eventError case .failedToParseRegisteredServersResponse: pixelEvent = .networkProtectionClientFailedToParseRegisteredServersResponse - case .failedToEncodeRedeemRequest, .invalidInviteCode, .failedToRedeemInviteCode, .failedToParseRedeemResponse: - pixelEvent = .networkProtectionUnhandledError - // Should never be sent from the extension case .invalidAuthToken: pixelEvent = .networkProtectionClientInvalidAuthToken case .serverListInconsistency: @@ -366,8 +363,6 @@ final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider { params[PixelParameters.function] = function params[PixelParameters.line] = String(line) pixelError = error - case .failedToRetrieveAuthToken: - return case .failedToFetchLocationList: return case .failedToParseLocationListResponse: