Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
fe0badf
Enable experimental feature
andrii-vysotskyi-cko Jul 8, 2024
8227ec3
Fix warning
andrii-vysotskyi-cko Jul 8, 2024
2585d05
Merge branch 'master' into fix/POM-393/concurrency-warnings
andrii-vysotskyi-cko Jul 16, 2024
4eb11a9
Update auto completion template
andrii-vysotskyi-cko Jul 18, 2024
274092b
Resolve core warnings
andrii-vysotskyi-cko Jul 18, 2024
c5c3ad4
Enable strict concurrency check on Swift 5.X
andrii-vysotskyi-cko Jul 18, 2024
73c4f86
Fix linter issues
andrii-vysotskyi-cko Jul 18, 2024
7205fad
Resolve connector warnings
andrii-vysotskyi-cko Jul 18, 2024
49aa2af
Repository warnings
andrii-vysotskyi-cko Jul 18, 2024
b589f52
Resolve services warnings
andrii-vysotskyi-cko Jul 18, 2024
7011666
Update generated files
andrii-vysotskyi-cko Jul 18, 2024
eb2356b
Ensure ProcessOut singleton is thread safe
andrii-vysotskyi-cko Jul 18, 2024
4eba9b6
Resolve resource symbols warnings
andrii-vysotskyi-cko Jul 19, 2024
6df5120
Resolve core warnings
andrii-vysotskyi-cko Jul 19, 2024
6ecad35
Resolve backport warnings
andrii-vysotskyi-cko Jul 19, 2024
94bed61
Resolve design system warnings
andrii-vysotskyi-cko Jul 19, 2024
77b81ec
Resolve UI module warnings
andrii-vysotskyi-cko Jul 26, 2024
b36cef1
Resolve warnings
andrii-vysotskyi-cko Jul 26, 2024
2512625
Merge branch 'release/5.0.0' into fix/POM-393/concurrency-warnings
andrii-vysotskyi-cko Jul 26, 2024
df52c85
Resolve additional warnings
andrii-vysotskyi-cko Jul 26, 2024
a2ebd6a
Resolve linter warning
andrii-vysotskyi-cko Jul 26, 2024
d923b51
Revert example changes
andrii-vysotskyi-cko Jul 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 11 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// swift-tools-version: 5.9
// swift-tools-version: 6.0

import PackageDescription

let swiftSettings: [SwiftSetting] = [
.enableUpcomingFeature("StrictConcurrency")
]

let package = Package(
name: "ProcessOut",
defaultLocalization: "en",
Expand All @@ -26,7 +30,8 @@ let package = Package(
exclude: ["swiftgen.yml"],
resources: [
.process("Resources")
]
],
swiftSettings: swiftSettings
),
.target(
name: "ProcessOutCheckout3DS",
Expand All @@ -45,7 +50,8 @@ let package = Package(
],
resources: [
.process("Resources")
]
],
swiftSettings: swiftSettings
),
.target(
name: "ProcessOutCoreUI",
Expand All @@ -54,7 +60,8 @@ let package = Package(
],
resources: [
.process("Resources")
]
],
swiftSettings: swiftSettings
),
.binaryTarget(name: "cmark", path: "Vendor/cmark.xcframework")
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Foundation
final class ProcessOutHttpConnectorBuilder {

/// Connector configuration provider.
var configuration: (() -> HttpConnectorRequestMapperConfiguration)?
var configuration: (@Sendable () -> HttpConnectorRequestMapperConfiguration)?

/// Retry strategy to use for failing requests.
var retryStrategy: RetryStrategy? = .exponential(maximumRetries: 3, interval: 0.1, rate: 3)
Expand Down Expand Up @@ -89,7 +89,7 @@ final class ProcessOutHttpConnectorBuilder {

extension ProcessOutHttpConnectorBuilder {

func with(configuration: @escaping () -> HttpConnectorRequestMapperConfiguration) -> Self {
func with(configuration: @escaping @Sendable () -> HttpConnectorRequestMapperConfiguration) -> Self {
self.configuration = configuration
return self
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

import Foundation

@_spi(PO) public struct PODeepLinkReceivedEvent: POEventEmitterEvent {
@_spi(PO)
public struct PODeepLinkReceivedEvent: POEventEmitterEvent {

/// Url representing deep link or universal link.
public let url: URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public typealias ProcessOutApiConfiguration = ProcessOutConfiguration
/// Defines configuration parameters that are used to create API singleton. In order to create instance
/// of this structure one should use ``ProcessOutConfiguration/production(projectId:appVersion:isDebug:)``
/// method.
public struct ProcessOutConfiguration {
public struct ProcessOutConfiguration: Sendable {

public struct Application {
public struct Application: Sendable {

/// Application name.
public let name: String?
Expand Down
Loading