From 80fabe8d21b7d163bdc971a1345a5fa2793105f9 Mon Sep 17 00:00:00 2001 From: Precious OSSAI Date: Tue, 23 Apr 2024 15:35:36 +0100 Subject: [PATCH] fix: add default value for frames options --- Sources/Risk/RiskSDKConfig.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Risk/RiskSDKConfig.swift b/Sources/Risk/RiskSDKConfig.swift index e5f1d5b..813a041 100644 --- a/Sources/Risk/RiskSDKConfig.swift +++ b/Sources/Risk/RiskSDKConfig.swift @@ -20,7 +20,7 @@ public struct RiskConfig { let environment: RiskEnvironment let framesOptions: FramesOptions? - public init(publicKey: String, environment: RiskEnvironment, framesOptions: FramesOptions?) { + public init(publicKey: String, environment: RiskEnvironment, framesOptions: FramesOptions? = nil) { self.publicKey = publicKey self.environment = environment self.framesOptions = framesOptions