From 68f68bcd28be45977ecd823449e2174e729a0761 Mon Sep 17 00:00:00 2001 From: Arthur Semenyutin Date: Wed, 24 Nov 2021 15:41:39 +1100 Subject: [PATCH] Remove PulseCore dependency --- Package.resolved | 18 ------------------ Package.swift | 5 ++--- Sources/APIClient/APIClient.swift | 1 - 3 files changed, 2 insertions(+), 22 deletions(-) diff --git a/Package.resolved b/Package.resolved index a753e28..6763371 100644 --- a/Package.resolved +++ b/Package.resolved @@ -9,24 +9,6 @@ "revision": "352066f1a29108548386487ae083b4115e94c1fb", "version": "2.5.4" } - }, - { - "package": "Pulse", - "repositoryURL": "https://github.com/kean/Pulse", - "state": { - "branch": null, - "revision": "f944ac0095f5a844501015fb5ad45411a41c133d", - "version": "0.20.0" - } - }, - { - "package": "swift-log", - "repositoryURL": "https://github.com/apple/swift-log.git", - "state": { - "branch": null, - "revision": "5d66f7ba25daf4f94100e7022febf3c75e37a6c7", - "version": "1.4.2" - } } ] }, diff --git a/Package.swift b/Package.swift index eec607f..a801020 100644 --- a/Package.swift +++ b/Package.swift @@ -10,11 +10,10 @@ let package = Package( .library(name: "APIClient", targets: ["APIClient"]), ], dependencies: [ - .package(url: "https://github.com/WeTransfer/Mocker.git", from: "2.3.0"), - .package(url: "https://github.com/kean/Pulse", from: "0.20.0") + .package(url: "https://github.com/WeTransfer/Mocker.git", from: "2.3.0") ], targets: [ - .target(name: "APIClient", dependencies: [.product(name: "PulseCore", package: "Pulse")]), + .target(name: "APIClient"), .testTarget(name: "APIClientTests", dependencies: ["APIClient", "Mocker"], resources: [.process("Resources")]), ] ) diff --git a/Sources/APIClient/APIClient.swift b/Sources/APIClient/APIClient.swift index 693cfa7..3833811 100644 --- a/Sources/APIClient/APIClient.swift +++ b/Sources/APIClient/APIClient.swift @@ -3,7 +3,6 @@ // Copyright (c) 2021 Alexander Grebenyuk (github.com/kean). import Foundation -import PulseCore public protocol APIClientDelegate { func client(_ client: APIClient, willSendRequest request: inout URLRequest)