Skip to content

Commit

Permalink
1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Apr 7, 2024
1 parent 94ba278 commit 2bc7523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ import PackageDescription
let package = Package(
name: "SomeProject",
dependencies: [
.package(url: "https://github.com/dankinsoid/swift-api-client.git", from: "1.5.0")
.package(url: "https://github.com/dankinsoid/swift-api-client.git", from: "1.5.1")
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftAPIClient/Modifiers/TimeoutModifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public extension APIClient {
) -> APIClient where C.Duration == Duration {
self.timeout(
timeout,
seconds: { Double($0.components.seconds) + Double($0.components.attoseconds) * pow(10, -18) },
seconds: { Double($0.components.seconds) + Double($0.components.attoseconds) * pow(10.0, -18.0) },
sleep: { try await clock.sleep(for: $0, tolerance: tolerance) },
fileID: fileID,
line: line
Expand Down

0 comments on commit 2bc7523

Please sign in to comment.