Skip to content

Commit

Permalink
Merge pull request #4 from vamsii777/fix
Browse files Browse the repository at this point in the history
Refactor RazorpayClient to Actor Model
  • Loading branch information
vamsii777 authored Dec 21, 2024
2 parents 747892e + 6a9c16d commit c5b141f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ let package = Package(
dependencies: [
.product(name: "AsyncHTTPClient", package: "async-http-client")
],
exclude: ["Documentation.docc"],
swiftSettings: swiftSettings
),
.testTarget(
Expand All @@ -37,4 +36,4 @@ var swiftSettings: [SwiftSetting] {
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("FullTypedThrows"),
]
}
}
2 changes: 1 addition & 1 deletion Sources/RazorpayKit/RazorpayClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import AsyncHTTPClient
/// - ``iin``
/// - ``qrCode``
/// - ``webhook``
public final class RazorpayClient {
public actor RazorpayClient {

/// Routes for managing Razorpay accounts
public var account: RazorpayAccountRoutes
Expand Down

0 comments on commit c5b141f

Please sign in to comment.