From a5bd0cedefda0dc49260fcca78f495015c366bfb Mon Sep 17 00:00:00 2001 From: metalurgical <97008724+metalurgical@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:24:46 +0200 Subject: [PATCH 1/2] fix: add codable to LoginParams --- Sources/SingleFactorAuth/LoginParams.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SingleFactorAuth/LoginParams.swift b/Sources/SingleFactorAuth/LoginParams.swift index bcc7331..5cd3d95 100644 --- a/Sources/SingleFactorAuth/LoginParams.swift +++ b/Sources/SingleFactorAuth/LoginParams.swift @@ -1,4 +1,4 @@ -public class LoginParams { +public class LoginParams: Codable { public let verifier: String public let verifierId: String public let idToken: String @@ -16,7 +16,7 @@ public class LoginParams { } } -public struct TorusSubVerifierInfo { +public struct TorusSubVerifierInfo: Codable { public var verifier: String public var idToken: String From 20e77e0a4ccd7cdad324eddbc1128bce6a8cb07b Mon Sep 17 00:00:00 2001 From: metalurgical <97008724+metalurgical@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:25:01 +0200 Subject: [PATCH 2/2] Update SingleFactorAuth.podspec --- SingleFactorAuth.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SingleFactorAuth.podspec b/SingleFactorAuth.podspec index 9a41e28..6837221 100644 --- a/SingleFactorAuth.podspec +++ b/SingleFactorAuth.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "SingleFactorAuth" - spec.version = "9.0.2" + spec.version = "9.0.3" spec.ios.deployment_target = "14.0" spec.summary = "Enable one key flow for Web3Auth" spec.homepage = "https://github.com/Web3Auth/single-factor-auth-swift"