diff --git a/Sources/DSBridge/UIDelegate.swift b/Sources/DSBridge/UIDelegate.swift index 4b78841..7069cb8 100644 --- a/Sources/DSBridge/UIDelegate.swift +++ b/Sources/DSBridge/UIDelegate.swift @@ -12,7 +12,7 @@ open class UIDelegate: NSObject, WKUIDelegate { open var invocationHandler: (String, String?) -> JSON public let prefix: String - init( + public init( prefix: String, invocationHandler: @escaping (String, String?) -> JSON ) {