Skip to content

Commit e870ed0

Browse files
authored
Release 3.1.0 (#35)
1 parent 0f20417 commit e870ed0

25 files changed

+204
-150
lines changed

Checkout3DS.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Checkout3DS"
3-
s.version = "3.0.0"
3+
s.version = "3.1.0"
44
s.summary = "Checkout 3DS SDK"
55
s.description = <<-DESC
66
The Checkout.com 3D Secure (3DS) mobile SDK allows you to provide a native 3DS2 experience in your mobile app, with visual styling that you can control.

Checkout3DS.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-simulator</string>
9+
<string>ios-arm64</string>
1010
<key>LibraryPath</key>
1111
<string>Checkout3DS.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>x86_64</string>
1615
</array>
1716
<key>SupportedPlatform</key>
1817
<string>ios</string>
19-
<key>SupportedPlatformVariant</key>
20-
<string>simulator</string>
2118
</dict>
2219
<dict>
2320
<key>LibraryIdentifier</key>
24-
<string>ios-arm64</string>
21+
<string>ios-arm64_x86_64-simulator</string>
2522
<key>LibraryPath</key>
2623
<string>Checkout3DS.framework</string>
2724
<key>SupportedArchitectures</key>
2825
<array>
2926
<string>arm64</string>
27+
<string>x86_64</string>
3028
</array>
3129
<key>SupportedPlatform</key>
3230
<string>ios</string>
31+
<key>SupportedPlatformVariant</key>
32+
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>
Binary file not shown.
Binary file not shown.

Checkout3DS.xcframework/ios-arm64/Checkout3DS.framework/Headers/Checkout3DS-Swift.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ SWIFT_CLASS("_TtC11Checkout3DS18Checkout3DSService")
576576
///
577577
/// \param error If authentication fails, an <code>NSError</code> indicating the reason for failure, otherwise <code>nil</code>.
578578
///
579-
- (void)authenticateWithAuthenticationParameters:(Checkout3DSAuthenticationParameters * _Nonnull)authenticationParameters completionHandler:(void (^ _Nonnull)(NSError * _Nullable))completionHandler;
579+
- (void)authenticateWithAuthenticationParameters:(Checkout3DSAuthenticationParameters * _Nonnull)authenticationParameters completionHandler:(void (^ _Nonnull)(NSError * _Nullable))completionHandler SWIFT_DEPRECATED_MSG("Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)");
580580
/// A method your app can optionally call to bring the challenge UI to the foreground.
581581
/// That’s useful when the user is returning from their banking app (when they call your appURL) as part of an out-of-band challenge.
582582
/// The method will return true if an active authentication session is found, or will otherwise return false.
Binary file not shown.

Checkout3DS.xcframework/ios-arm64/Checkout3DS.framework/Modules/Checkout3DS.swiftmodule/arm64-apple-ios.swiftinterface

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
2727
@available(swift, obsoleted: 1.0)
2828
@objc convenience override dynamic public init()
2929
@objc convenience public init(environment: Checkout3DS.Environment = .production, locale: Foundation.Locale = .autoupdatingCurrent, uiCustomization: Checkout3DS.UICustomization = DefaultUICustomization(), appURL: Foundation.URL? = nil)
30+
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
31+
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
3032
@available(swift, obsoleted: 1.0)
3133
@objc final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Swift.Error?) -> Swift.Void)
34+
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
3235
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Checkout3DS.AuthenticationError?) -> Swift.Void)
3336
@objc public static func handleAppURL(url: Foundation.URL) -> Swift.Bool
3437
@available(swift, obsoleted: 1.0)
@@ -44,10 +47,10 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
4447
@objc public init(sessionID: Swift.String, sessionSecret: Swift.String, scheme: Swift.String)
4548
@objc deinit
4649
}
47-
public struct ChallengeResult : Swift.Equatable {
50+
public struct AuthenticationResult : Swift.Equatable {
4851
public let sdkTransactionID: Swift.String
49-
public let transactionStatus: Swift.String
50-
public static func == (a: Checkout3DS.ChallengeResult, b: Checkout3DS.ChallengeResult) -> Swift.Bool
52+
public let transactionStatus: Swift.String?
53+
public static func == (a: Checkout3DS.AuthenticationResult, b: Checkout3DS.AuthenticationResult) -> Swift.Bool
5154
}
5255
extension Checkout3DS.Standalone3DSService {
5356
public enum Constants {
@@ -518,7 +521,7 @@ extension QuartzCore.CALayerCornerCurve : Swift.Codable {
518521
}
519522
public protocol Transaction {
520523
func getAuthenticationRequestParameters(completion: @escaping (Swift.Result<Checkout3DS.AuthenticationRequestParameters, Checkout3DS.AuthenticationError>) -> Swift.Void)
521-
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.ChallengeResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
524+
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
522525
func close()
523526
}
524527
@objc(Checkout3DSEntrySelectionCustomization) public protocol EntrySelectionCustomization : Checkout3DS.Customization {

Checkout3DS.xcframework/ios-arm64/Checkout3DS.framework/Modules/Checkout3DS.swiftmodule/arm64.swiftinterface

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
2727
@available(swift, obsoleted: 1.0)
2828
@objc convenience override dynamic public init()
2929
@objc convenience public init(environment: Checkout3DS.Environment = .production, locale: Foundation.Locale = .autoupdatingCurrent, uiCustomization: Checkout3DS.UICustomization = DefaultUICustomization(), appURL: Foundation.URL? = nil)
30+
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
31+
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
3032
@available(swift, obsoleted: 1.0)
3133
@objc final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Swift.Error?) -> Swift.Void)
34+
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
3235
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Checkout3DS.AuthenticationError?) -> Swift.Void)
3336
@objc public static func handleAppURL(url: Foundation.URL) -> Swift.Bool
3437
@available(swift, obsoleted: 1.0)
@@ -44,10 +47,10 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
4447
@objc public init(sessionID: Swift.String, sessionSecret: Swift.String, scheme: Swift.String)
4548
@objc deinit
4649
}
47-
public struct ChallengeResult : Swift.Equatable {
50+
public struct AuthenticationResult : Swift.Equatable {
4851
public let sdkTransactionID: Swift.String
49-
public let transactionStatus: Swift.String
50-
public static func == (a: Checkout3DS.ChallengeResult, b: Checkout3DS.ChallengeResult) -> Swift.Bool
52+
public let transactionStatus: Swift.String?
53+
public static func == (a: Checkout3DS.AuthenticationResult, b: Checkout3DS.AuthenticationResult) -> Swift.Bool
5154
}
5255
extension Checkout3DS.Standalone3DSService {
5356
public enum Constants {
@@ -518,7 +521,7 @@ extension QuartzCore.CALayerCornerCurve : Swift.Codable {
518521
}
519522
public protocol Transaction {
520523
func getAuthenticationRequestParameters(completion: @escaping (Swift.Result<Checkout3DS.AuthenticationRequestParameters, Checkout3DS.AuthenticationError>) -> Swift.Void)
521-
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.ChallengeResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
524+
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
522525
func close()
523526
}
524527
@objc(Checkout3DSEntrySelectionCustomization) public protocol EntrySelectionCustomization : Checkout3DS.Customization {

0 commit comments

Comments
 (0)