diff --git a/.gitignore b/.gitignore index d38b3c2..02a0436 100644 --- a/.gitignore +++ b/.gitignore @@ -77,8 +77,6 @@ docs fastlane/ Gemfile -#config file -Tests/config.json snyk_output.log -talisman_output.log \ No newline at end of file +talisman_output.log diff --git a/CHANGELOG.md b/CHANGELOG.md index 2eb7f16..8fd93f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## v2.3.1 + +### Date: 03-Nov-2025 + +- Github issues fixed + ## v2.3.0 ### Date: 29-Sep-2025 diff --git a/Sources/ImageTransformError.swift b/Sources/ImageTransformError.swift index b95f99c..64f6775 100644 --- a/Sources/ImageTransformError.swift +++ b/Sources/ImageTransformError.swift @@ -9,7 +9,7 @@ import Foundation /// Information regarding an error received from Contentstack's Image Delivery API. public struct ImageTransformError: Error, CustomDebugStringConvertible { /// Human redable error Message - internal let message: String + public let message: String public var debugDescription: String { return message diff --git a/Sources/Stack.swift b/Sources/Stack.swift index 438855c..0925761 100644 --- a/Sources/Stack.swift +++ b/Sources/Stack.swift @@ -409,7 +409,6 @@ extension Stack { /// } /// } ///``` - @available(*, deprecated, message: "This method will be deprecated soon. Please use seqSync instead") public func sync(_ syncStack: SyncStack = SyncStack(), syncTypes: [SyncStack.SyncableTypes] = [.all], then completion: @escaping (_ result: Result) -> Void) { diff --git a/Sources/Utils.swift b/Sources/Utils.swift index 5fe8369..28aed2c 100644 --- a/Sources/Utils.swift +++ b/Sources/Utils.swift @@ -29,7 +29,7 @@ internal extension Array { } } -internal extension String { +public extension String { // Will make a `URL` from the current `String` instance if possible. func toURL() throws -> URL { guard var urlComponents = URLComponents(string: self) else { @@ -90,7 +90,7 @@ internal extension String { return url } - func isHexColor() -> Bool { + internal func isHexColor() -> Bool { let hexColorRegex3Deci = "[0-9A-Fa-f]{3}" let hexColorPred3Deci = NSPredicate(format: "SELF MATCHES %@", hexColorRegex3Deci) diff --git a/Tests/config.json b/Tests/config.json deleted file mode 100644 index e41a1dc..0000000 --- a/Tests/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "api_key" : "", - "delivery_token" : "", - "environment" : "" -}