From 185f34fc7c7a6e7d0adf307f6b6fd1ff4ca63d18 Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Tue, 19 Mar 2024 14:02:23 +0100 Subject: [PATCH] savepoint --- Sources/WalletConnectSign/Sign/SignClient.swift | 2 +- Sources/Web3Wallet/Web3WalletClient.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/WalletConnectSign/Sign/SignClient.swift b/Sources/WalletConnectSign/Sign/SignClient.swift index 64ed1a1f7..9bc4c4db5 100644 --- a/Sources/WalletConnectSign/Sign/SignClient.swift +++ b/Sources/WalletConnectSign/Sign/SignClient.swift @@ -361,7 +361,7 @@ public final class SignClient: SignClientProtocol { return try SIWEFromCacaoPayloadFormatter().formatMessage(from: cacaoPayload) } - public func buildSignedAuthObject(authPayload: AuthPayload, signature: WalletConnectUtils.CacaoSignature, account: Account) throws -> AuthObject { + public func buildSignedAuthObject(authPayload: AuthPayload, signature: CacaoSignature, account: Account) throws -> AuthObject { try CacaosBuilder.makeCacao(authPayload: authPayload, signature: signature, account: account) } diff --git a/Sources/Web3Wallet/Web3WalletClient.swift b/Sources/Web3Wallet/Web3WalletClient.swift index bde5bc345..5cc7b864f 100644 --- a/Sources/Web3Wallet/Web3WalletClient.swift +++ b/Sources/Web3Wallet/Web3WalletClient.swift @@ -197,7 +197,7 @@ public class Web3WalletClient { signClient.getSessions() } - public func formatAuthMessage(payload: WalletConnectSign.AuthPayload, account: Account) throws -> String { + public func formatAuthMessage(payload: AuthPayload, account: Account) throws -> String { try signClient.formatAuthMessage(payload: payload, account: account) }