Skip to content

Commit

Permalink
Added AsyncHTTPClient as a dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewangeta committed Aug 3, 2019
1 parent a6142b3 commit 8fdcd89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
.package(url: "https://github.com/vapor/swift-nio-http-client.git", from: "0.0.0")
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0-alpha.1"),
],
targets: [
.target(name: "StripeKit", dependencies: ["NIOHTTPClient", "NIOFoundationCompat"]),
.testTarget(name: "StripeKitTests", dependencies: ["NIOHTTPClient", "StripeKit"])
.target(name: "StripeKit", dependencies: ["AsyncHTTPClient", "NIOFoundationCompat"]),
.testTarget(name: "StripeKitTests", dependencies: ["AsyncHTTPClient", "StripeKit"])
]
)
2 changes: 1 addition & 1 deletion Sources/StripeKit/API/StripeClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import NIO
import NIOHTTPClient
import AsyncHTTPClient

public final class StripeClient {
public var balances: BalanceRoutes
Expand Down
2 changes: 1 addition & 1 deletion Sources/StripeKit/API/StripeRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation
import NIO
import NIOFoundationCompat
import NIOHTTP1
import NIOHTTPClient
import AsyncHTTPClient

public protocol StripeAPIHandler {
func send<SM: StripeModel>(method: HTTPMethod,
Expand Down

0 comments on commit 8fdcd89

Please sign in to comment.