Skip to content

Commit

Permalink
Merge pull request omise#223 from omise/develop
Browse files Browse the repository at this point in the history
Hotfix: 4.24.3
  • Loading branch information
vault087 committed Oct 3, 2023
2 parents 633122e + e7c93b0 commit 21e5eb1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OmiseSDK/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ extension Client {

// MARK: - Constants
extension Client {
static let sdkVersion: String = "4.24.2"
static let sdkVersion: String = "4.24.3"

static let currentPlatform: String = ProcessInfo.processInfo.operatingSystemVersionString
static let currentDevice: String = UIDevice.current.model
Expand Down
3 changes: 2 additions & 1 deletion OmiseSDK/CreditCardFormViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ public class CreditCardFormViewController: UIViewController, PaymentChooserUI, P
@IBOutlet private var requestingIndicatorView: UIActivityIndicatorView!
@objc public static let defaultErrorMessageTextColor = UIColor.error

/// Deprecated.
/// Built in support for Card.ios was removed. You can implement it in your app and call the setCreditCardInformation(number:name:expiration:) method
/// A boolean flag that enables/disables Card.IO integration.
@available(*, unavailable, message: "Built in support for Card.ios was removed. You can implement it in your app and call the setCreditCardInformation(number:name:expiration:) method")
@objc public var cardIOEnabled = true

/// Factory method for creating CreditCardFormController with given public key.
Expand Down
2 changes: 1 addition & 1 deletion OmiseSDK/Helpers/Property Wrappers/ProxyProperty.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct ProxyProperty<EnclosingType, Value> {
}
}

@available(*, unavailable, message: "@Proxy can only be applied to classes")
/// Proxy can only be applied to classes
var wrappedValue: Value {
get { fatalError("Can't use wrappedValue on ProxyProperty") }
// swiftlint:disable:next unused_setter_value
Expand Down

0 comments on commit 21e5eb1

Please sign in to comment.