Skip to content

Commit

Permalink
Release 3.1.0 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehab-al-cko authored Aug 3, 2023
1 parent 0f20417 commit e870ed0
Show file tree
Hide file tree
Showing 25 changed files with 204 additions and 150 deletions.
2 changes: 1 addition & 1 deletion Checkout3DS.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Checkout3DS"
s.version = "3.0.0"
s.version = "3.1.0"
s.summary = "Checkout 3DS SDK"
s.description = <<-DESC
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.
Expand Down
10 changes: 5 additions & 5 deletions Checkout3DS.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Checkout3DS.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Checkout3DS.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ SWIFT_CLASS("_TtC11Checkout3DS18Checkout3DSService")
///
/// \param error If authentication fails, an <code>NSError</code> indicating the reason for failure, otherwise <code>nil</code>.
///
- (void)authenticateWithAuthenticationParameters:(Checkout3DSAuthenticationParameters * _Nonnull)authenticationParameters completionHandler:(void (^ _Nonnull)(NSError * _Nullable))completionHandler;
- (void)authenticateWithAuthenticationParameters:(Checkout3DSAuthenticationParameters * _Nonnull)authenticationParameters completionHandler:(void (^ _Nonnull)(NSError * _Nullable))completionHandler SWIFT_DEPRECATED_MSG("Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)");
/// A method your app can optionally call to bring the challenge UI to the foreground.
/// 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.
/// The method will return true if an active authentication session is found, or will otherwise return false.
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
@available(swift, obsoleted: 1.0)
@objc convenience override dynamic public init()
@objc convenience public init(environment: Checkout3DS.Environment = .production, locale: Foundation.Locale = .autoupdatingCurrent, uiCustomization: Checkout3DS.UICustomization = DefaultUICustomization(), appURL: Foundation.URL? = nil)
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
@available(swift, obsoleted: 1.0)
@objc final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Swift.Error?) -> Swift.Void)
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Checkout3DS.AuthenticationError?) -> Swift.Void)
@objc public static func handleAppURL(url: Foundation.URL) -> Swift.Bool
@available(swift, obsoleted: 1.0)
Expand All @@ -44,10 +47,10 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
@objc public init(sessionID: Swift.String, sessionSecret: Swift.String, scheme: Swift.String)
@objc deinit
}
public struct ChallengeResult : Swift.Equatable {
public struct AuthenticationResult : Swift.Equatable {
public let sdkTransactionID: Swift.String
public let transactionStatus: Swift.String
public static func == (a: Checkout3DS.ChallengeResult, b: Checkout3DS.ChallengeResult) -> Swift.Bool
public let transactionStatus: Swift.String?
public static func == (a: Checkout3DS.AuthenticationResult, b: Checkout3DS.AuthenticationResult) -> Swift.Bool
}
extension Checkout3DS.Standalone3DSService {
public enum Constants {
Expand Down Expand Up @@ -518,7 +521,7 @@ extension QuartzCore.CALayerCornerCurve : Swift.Codable {
}
public protocol Transaction {
func getAuthenticationRequestParameters(completion: @escaping (Swift.Result<Checkout3DS.AuthenticationRequestParameters, Checkout3DS.AuthenticationError>) -> Swift.Void)
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.ChallengeResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
func close()
}
@objc(Checkout3DSEntrySelectionCustomization) public protocol EntrySelectionCustomization : Checkout3DS.Customization {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
@available(swift, obsoleted: 1.0)
@objc convenience override dynamic public init()
@objc convenience public init(environment: Checkout3DS.Environment = .production, locale: Foundation.Locale = .autoupdatingCurrent, uiCustomization: Checkout3DS.UICustomization = DefaultUICustomization(), appURL: Foundation.URL? = nil)
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
@available(swift, obsoleted: 1.0)
@objc final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Swift.Error?) -> Swift.Void)
@available(*, deprecated, message: "Use authenticate function with compilation closure (Result<AuthenticationResult, AuthenticationError>) -> Void)")
final public func authenticate(authenticationParameters: Checkout3DS.AuthenticationParameters, completionHandler: @escaping (_ error: Checkout3DS.AuthenticationError?) -> Swift.Void)
@objc public static func handleAppURL(url: Foundation.URL) -> Swift.Bool
@available(swift, obsoleted: 1.0)
Expand All @@ -44,10 +47,10 @@ public struct AuthenticationRequestParameters : Swift.Encodable {
@objc public init(sessionID: Swift.String, sessionSecret: Swift.String, scheme: Swift.String)
@objc deinit
}
public struct ChallengeResult : Swift.Equatable {
public struct AuthenticationResult : Swift.Equatable {
public let sdkTransactionID: Swift.String
public let transactionStatus: Swift.String
public static func == (a: Checkout3DS.ChallengeResult, b: Checkout3DS.ChallengeResult) -> Swift.Bool
public let transactionStatus: Swift.String?
public static func == (a: Checkout3DS.AuthenticationResult, b: Checkout3DS.AuthenticationResult) -> Swift.Bool
}
extension Checkout3DS.Standalone3DSService {
public enum Constants {
Expand Down Expand Up @@ -518,7 +521,7 @@ extension QuartzCore.CALayerCornerCurve : Swift.Codable {
}
public protocol Transaction {
func getAuthenticationRequestParameters(completion: @escaping (Swift.Result<Checkout3DS.AuthenticationRequestParameters, Checkout3DS.AuthenticationError>) -> Swift.Void)
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.ChallengeResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
func doChallenge(challengeParameters: Checkout3DS.ChallengeParameters, completion: @escaping (Swift.Result<Checkout3DS.AuthenticationResult, Checkout3DS.AuthenticationError>) -> Swift.Void)
func close()
}
@objc(Checkout3DSEntrySelectionCustomization) public protocol EntrySelectionCustomization : Checkout3DS.Customization {
Expand Down
Loading

0 comments on commit e870ed0

Please sign in to comment.