diff --git a/Sources/HyperCheckout/Routes/HyperOrderRoutes.swift b/Sources/HyperCheckout/Routes/HyperOrderRoutes.swift index e7fc04b..a95304e 100644 --- a/Sources/HyperCheckout/Routes/HyperOrderRoutes.swift +++ b/Sources/HyperCheckout/Routes/HyperOrderRoutes.swift @@ -23,7 +23,7 @@ import NIOHTTP1 /// /// print("Order Status: \(order.status)") /// ``` -public protocol HyperOrderRoutes { +public protocol HyperOrderRoutes: Sendable { /// Retrieves the status of an order. /// /// - Parameters: diff --git a/Sources/HyperCheckout/Routes/HyperRefundRoutes.swift b/Sources/HyperCheckout/Routes/HyperRefundRoutes.swift index b77489e..b5f63e2 100644 --- a/Sources/HyperCheckout/Routes/HyperRefundRoutes.swift +++ b/Sources/HyperCheckout/Routes/HyperRefundRoutes.swift @@ -31,7 +31,7 @@ import NIOHTTP1 /// /// print("Refund Status: \(response.status)") /// ``` -public protocol HyperRefundRoutes { +public protocol HyperRefundRoutes: Sendable { /// Requests a refund for an order. /// /// - Parameters: diff --git a/Sources/HyperCheckout/Routes/HyperSessionRoutes.swift b/Sources/HyperCheckout/Routes/HyperSessionRoutes.swift index cff5a2f..b5efc33 100644 --- a/Sources/HyperCheckout/Routes/HyperSessionRoutes.swift +++ b/Sources/HyperCheckout/Routes/HyperSessionRoutes.swift @@ -29,7 +29,7 @@ import NIOHTTP1 /// /// let response = try await hyperCheckout.sessions.create(session: session) /// ``` -public protocol HyperSessionRoutes { +public protocol HyperSessionRoutes: Sendable { /// Creates a new payment session. /// /// - Parameter session: The session configuration.