diff --git a/CHANGELOG.md b/CHANGELOG.md index 0685227a..796c8726 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### 0.9.24 +- **Fix**: Make `ApiRequestParameters` properties public. + ### 0.9.23 - **Add**: Rounding for `Decimal`. - **Add**: `doubleValue` property for `Decimal`. diff --git a/LeadKit.podspec b/LeadKit.podspec index ae7a0d9a..04619f0e 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.9.23" + s.version = "0.9.24" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKit" s.license = "Apache License, Version 2.0" diff --git a/Sources/Info-iOS.plist b/Sources/Info-iOS.plist index 4b8f7be2..c1c8f16b 100644 --- a/Sources/Info-iOS.plist +++ b/Sources/Info-iOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.23 + 0.9.24 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Info-tvOS.plist b/Sources/Info-tvOS.plist index 4b8f7be2..c1c8f16b 100644 --- a/Sources/Info-tvOS.plist +++ b/Sources/Info-tvOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.23 + 0.9.24 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Info-watchOS.plist b/Sources/Info-watchOS.plist index 4b8f7be2..c1c8f16b 100644 --- a/Sources/Info-watchOS.plist +++ b/Sources/Info-watchOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.23 + 0.9.24 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Structures/Api/ApiRequestParameters.swift b/Sources/Structures/Api/ApiRequestParameters.swift index 5da64760..5381a1e3 100644 --- a/Sources/Structures/Api/ApiRequestParameters.swift +++ b/Sources/Structures/Api/ApiRequestParameters.swift @@ -31,16 +31,16 @@ public struct ApiRequestParameters { /// /// - dictionary: dictionary parameter /// - array: array parameter - enum RequestParameters { + public enum RequestParameters { case dictionary(Parameters) case array([Any]) } - let method: HTTPMethod - let url: URLConvertible - let parameters: RequestParameters? - let encoding: ParameterEncoding - let headers: HTTPHeaders? + public let url: URLConvertible + public let parameters: RequestParameters? + public let method: HTTPMethod + public let encoding: ParameterEncoding + public let headers: HTTPHeaders? public init(url: URLConvertible, method: HTTPMethod = .get,