diff --git a/CustomAuth.podspec b/CustomAuth.podspec index c2ebec7..5c12d39 100644 --- a/CustomAuth.podspec +++ b/CustomAuth.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "CustomAuth" - spec.version = "11.0.0" + spec.version = "11.0.1" spec.platform = :ios, "14.0" spec.summary = "Swift SDK that allows applications to directly interact with the Torus Network, similar to how Torus Wallet does." spec.homepage = "https://github.com/torusresearch/customauth-swift-sdk" diff --git a/Sources/CustomAuth/CustomAuth.swift b/Sources/CustomAuth/CustomAuth.swift index 3eeb158..2ea27aa 100644 --- a/Sources/CustomAuth/CustomAuth.swift +++ b/Sources/CustomAuth/CustomAuth.swift @@ -159,7 +159,7 @@ public class CustomAuth { /// - Returns: `TorusKey` /// /// - Throws: `CASDKError`, `TorusUtilError`, `FetchNodeError` - func getTorusKey(verifier: String, verifier_id: String, verifierParams: VerifierParams, idToken: String, extraParams: TorusUtilsExtraParams? = nil) async throws -> TorusKey { + public func getTorusKey(verifier: String, verifier_id: String, verifierParams: VerifierParams, idToken: String, extraParams: TorusUtilsExtraParams? = nil) async throws -> TorusKey { let nodeDetails = try await nodeDetailManager.getNodeDetails(verifier: verifier, verifierID: verifier_id) return try await torus.retrieveShares(endpoints: nodeDetails.getTorusNodeEndpoints(), verifier: verifier, verifierParams: verifierParams, idToken: idToken) @@ -175,7 +175,7 @@ public class CustomAuth { /// - Returns: `TorusKey` /// /// - Throws: `CASDKError`, `TorusUtilError`, `FetchNodeError` - func getAggregateTorusKey(verifier: String, verifierParams: VerifierParams, subVerifierInfoArray: [TorusSubVerifierInfo]) async throws -> TorusKey { + public func getAggregateTorusKey(verifier: String, verifierParams: VerifierParams, subVerifierInfoArray: [TorusSubVerifierInfo]) async throws -> TorusKey { let nodeDetails = try await nodeDetailManager.getNodeDetails(verifier: verifier, verifierID: verifierParams.verifier_id) var aggregateIdTokenSeeds: [String] = []