diff --git a/Example/Package.resolved b/Example/Package.resolved index 966fff3..570c208 100644 --- a/Example/Package.resolved +++ b/Example/Package.resolved @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/GetAutomaApp/swift-any-codable.git", "state" : { - "branch" : "main", - "revision" : "7905b4c8bf6aaee39ba6bed715deee6a99839d1a" + "revision" : "10e1be7ea48a0bc3a6eff01a117cc8cafd4dd0e2", + "version" : "1.0.2" } }, { @@ -45,6 +45,24 @@ "version" : "1.1.4" } }, + { + "identity" : "swift-http-structured-headers", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-http-structured-headers.git", + "state" : { + "revision" : "8e769facea6b7d46ea60e5e93635a384fd573480", + "version" : "1.2.1" + } + }, + { + "identity" : "swift-http-types", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-http-types.git", + "state" : { + "revision" : "ef18d829e8b92d731ad27bb81583edd2094d1ce3", + "version" : "1.3.1" + } + }, { "identity" : "swift-log", "kind" : "remoteSourceControl", @@ -68,8 +86,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-extras.git", "state" : { - "revision" : "fb70a0f5e984f23be48b11b4f1909f3bee016178", - "version" : "1.19.1" + "revision" : "00f3f72d2f9942d0e2dc96057ab50a37ced150d4", + "version" : "1.25.0" } }, { @@ -116,6 +134,15 @@ "revision" : "a34201439c74b53f0fd71ef11741af7e7caf01e1", "version" : "1.4.2" } + }, + { + "identity" : "swiftwebdriver", + "kind" : "remoteSourceControl", + "location" : "https://github.com/GetAutomaApp/SwiftWebDriver.git", + "state" : { + "revision" : "bbc35781fe30bfaa1dc8ca57fb3eb7c603bf6583", + "version" : "0.2.1" + } } ], "version" : 2 diff --git a/Example/Package.swift b/Example/Package.swift index c9e34ef..ac2034a 100644 --- a/Example/Package.swift +++ b/Example/Package.swift @@ -9,7 +9,7 @@ let package = Package( .macOS(.v12), ], dependencies: [ - .package(name: "SwiftWebDriver", path: "../"), + .package(url: "https://github.com/GetAutomaApp/SwiftWebDriver.git", from: "0.2.0") ], targets: [ .executableTarget( diff --git a/Package.resolved b/Package.resolved index ec5b7b1..c1eef21 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "991c442680adc239891b03e66c20788a5c85d7ceb2fe27ef352a9002f745bec7", + "originHash" : "d4a26a5c94eaff56111cd94951b6d365f68202f4571faf25c762433afc21823c", "pins" : [ { "identity" : "async-http-client", @@ -24,8 +24,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/GetAutomaApp/swift-any-codable.git", "state" : { - "branch" : "main", - "revision" : "10e1be7ea48a0bc3a6eff01a117cc8cafd4dd0e2" + "revision" : "10e1be7ea48a0bc3a6eff01a117cc8cafd4dd0e2", + "version" : "1.0.2" } }, { diff --git a/README.md b/README.md index 6d18bd4..e642019 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Adding the dependency Add the following entry in your Package.swift to start using SwiftWebDriver: ```swift -.package(url: "https://github.com/GetAutomaApp/SwiftWebDriver.git", branch: "master) +.package(url: "https://github.com/GetAutomaApp/SwiftWebDriver.git", branch: "master") ``` and add dependency to your target: diff --git a/Sources/SwiftWebDriver/API/APIClient.swift b/Sources/SwiftWebDriver/API/APIClient.swift index 21f28b5..4d246b2 100644 --- a/Sources/SwiftWebDriver/API/APIClient.swift +++ b/Sources/SwiftWebDriver/API/APIClient.swift @@ -10,7 +10,7 @@ import AsyncHTTPClient import Foundation import NIO import NIOFoundationCompat -@preconcurrency import NIOHTTP1 +import NIOHTTP1 enum APIResponseError: Error, Codable { case massage