Skip to content

Commit

Permalink
fixing AviaryInsights
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed May 8, 2024
1 parent 2b9b12f commit a8a1527
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ import PackageDescription
// swiftlint:disable:next explicit_top_level_acl explicit_acl
let package = Package(
name: "AviaryInsights",
platforms: [.macOS(.v10_15)],
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.macCatalyst(.v13),
.tvOS(.v13),
.visionOS(.v1),
.watchOS(.v6)
],
products: [
.library(
name: "AviaryInsights",
Expand Down
2 changes: 1 addition & 1 deletion Sources/AviaryInsights/Event.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
//

public struct Event {
public struct Event: Sendable {
public static let pageview = "pageview"
public let name: String
public let domain: String?
Expand Down
2 changes: 1 addition & 1 deletion Sources/AviaryInsights/Plausible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import OpenAPIURLSession
import FoundationNetworking
#endif

public struct Plausible {
public struct Plausible: Sendable {
// swiftlint:disable:next force_try
public static let defaultServerURL = try! Servers.server1()

Expand Down
2 changes: 1 addition & 1 deletion Sources/AviaryInsights/Revenue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
//

public struct Revenue {
public struct Revenue: Sendable {
public let currency: String
public let amount: Double

Expand Down

0 comments on commit a8a1527

Please sign in to comment.