Skip to content

Commit

Permalink
Break the Subscription module’s dependency on BSK (#2721)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1199230911884351/1207201481522088/f
Tech Design URL:
CC:

Description:

Client PR for duckduckgo/BrowserServicesKit#802.
  • Loading branch information
samsymons authored May 1, 2024
1 parent 71e3c0c commit 401b0e9
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12738,7 +12738,7 @@
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 142.0.0;
version = 143.0.0;
};
};
9FF521422BAA8FF300B9819B /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/BrowserServicesKit",
"state" : {
"revision" : "2681b5271a4e0582f175771737617adb8a4d6e78",
"version" : "142.0.0"
"revision" : "7c41d69a93bbe80639fb7489e2018e5957ac2b5c",
"version" : "143.0.0"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions DuckDuckGo/NavigationBar/View/AddressBarTextField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import Combine
import Common
import Suggestions
import Subscription
import BrowserServicesKit

final class AddressBarTextField: NSTextField {

Expand Down
1 change: 0 additions & 1 deletion DuckDuckGo/NavigationBar/View/MoreOptionsMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import Combine
import Common
import BrowserServicesKit
import PixelKit

import NetworkProtection
import Subscription

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import NetworkProtection
import NetworkProtectionIPC
import Common
import Subscription
import BrowserServicesKit

extension NetworkProtectionDeviceManager {

Expand Down
1 change: 1 addition & 0 deletions DuckDuckGo/Preferences/Model/PreferencesSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import Foundation
import SwiftUI
import Subscription
import BrowserServicesKit

struct PreferencesSection: Hashable, Identifiable {
let id: PreferencesSectionIdentifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import Foundation
import Subscription
import BrowserServicesKit

extension DefaultSubscriptionFeatureAvailability {
convenience init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import Navigation
import Foundation
import Subscription
import BrowserServicesKit

struct RedirectNavigationResponder: NavigationResponder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import AppKit
import Foundation
import Subscription
import BrowserServicesKit
import PixelKit

final class WaitlistThankYouPromptPresenter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import Foundation
import UserNotifications
import Subscription
import BrowserServicesKit

protocol WaitlistViewControllerPresenter {
static func show(completion: (() -> Void)?)
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/DataBrokerProtection/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
targets: ["DataBrokerProtection"])
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "142.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "143.0.0"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../XPCHelper"),
],
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/NetworkProtectionMac/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let package = Package(
.library(name: "NetworkProtectionUI", targets: ["NetworkProtectionUI"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "142.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "143.0.0"),
.package(url: "https://github.com/airbnb/lottie-spm", exact: "4.4.1"),
.package(path: "../XPCHelper"),
.package(path: "../SwiftUIExtensions"),
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/SubscriptionUI/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let package = Package(
targets: ["SubscriptionUI"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "142.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "143.0.0"),
.package(path: "../SwiftUIExtensions")
],
targets: [
Expand Down

0 comments on commit 401b0e9

Please sign in to comment.