Skip to content

Commit

Permalink
Declare jobType property of AuthenticationRequest as an optional (#61)
Browse files Browse the repository at this point in the history
* make `JobType` optional

* Bump version
  • Loading branch information
JubrilO authored Aug 16, 2023
1 parent 3a5f14e commit d2b13ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 10.0.0-beta06

### Changed
- Declare `jobType` property of `AuthenticationRequest` as optional

## 10.0.0-beta05

### Changed
Expand Down
4 changes: 2 additions & 2 deletions SmileID.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = 'SmileID'
s.version = '10.0.0-beta05'
s.version = '10.0.0-beta06'
s.summary = 'The Official Smile Identity iOS SDK.'
s.homepage = "https://docs.smileidentity.com/mobile/ios"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Jubril O' => 'jubril@smileidentity.com', 'Japhet' => 'japhet@smileidentity.com', 'Juma Allan' => 'juma@smileidentity.com'}
s.source = { :git => "https://github.com/smileidentity/ios.git", :tag => "v10.0.0-beta05" }
s.source = { :git => "https://github.com/smileidentity/ios.git", :tag => "v10.0.0-beta06" }
s.ios.deployment_target = '13.0'
s.dependency 'Zip', '~> 2.1.0'
s.swift_version = '5.5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

public struct AuthenticationRequest: Codable {
public var jobType: JobType
public var jobType: JobType?
public var enrollment: Bool
public var updateEnrolledImage: Bool?
public var jobId: String?
Expand All @@ -23,7 +23,7 @@ public struct AuthenticationRequest: Codable {
case authToken = "auth_token"
}

public init(jobType: JobType,
public init(jobType: JobType?,
enrollment: Bool,
updateEnrolledImage: Bool? = nil,
jobId: String?,
Expand Down
2 changes: 1 addition & 1 deletion Sources/SmileID/Classes/SmileID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class SmileID {
}()

private init() {}
public static let version = "10.0.0-beta05"
public static let version = "10.0.0-beta06"
public private(set) static var config: Config!
public private(set) static var useSandbox = true
public private(set) static var theme: SmileIdTheme = DefaultTheme()
Expand Down

0 comments on commit d2b13ba

Please sign in to comment.