Skip to content

StripeKit 4.0.0

Compare
Choose a tag to compare
@Andrewangeta Andrewangeta released this 26 Dec 21:14
7b99ff8

⚠️Breaking changes⚠️

This release allows initializing a StripeClient with a preconfigured HTTPClient and a specified EventLoop to have internal API requests/work to be executed and have EventLoopFutures returned on.

let specialConfig = HTTPClient.Configuration(....)
let client = HTTPClient(specialConfig)
let stripe = StripeClient(httpClient: client, eventLoop: myEventLoop, apiKey: "sk_123")