Skip to content

Commit

Permalink
fix: put back convenience init(apiKey: String, baseURL: URL)
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed May 2, 2024
1 parent 815fea8 commit 23e0e8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions HCaptcha/Classes/HCaptcha.swift
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ public class HCaptcha: NSObject {
try self.init(apiKey: apiKey, locale: nil)
}

@objc
public convenience init(apiKey: String, baseURL: URL) throws {
try self.init(apiKey: apiKey, baseURL: baseURL, locale: nil)
}

@objc
public convenience init(apiKey: String, passiveApiKey: Bool) throws {
try self.init(apiKey: apiKey, passiveApiKey: passiveApiKey)
Expand Down

0 comments on commit 23e0e8c

Please sign in to comment.