From 95369bb83e01e29339176ed62a3c56e53b541608 Mon Sep 17 00:00:00 2001 From: Alexander Lisovyk Date: Wed, 17 May 2023 10:10:52 +0200 Subject: [PATCH] Add SPM special case --- Sources/Auth/Auth.swift | 3 +++ Sources/WalletConnectSign/Sign/Sign.swift | 2 ++ Sources/Web3Wallet/Web3Wallet.swift | 3 +++ 3 files changed, 8 insertions(+) diff --git a/Sources/Auth/Auth.swift b/Sources/Auth/Auth.swift index e613091da..fb91ed780 100644 --- a/Sources/Auth/Auth.swift +++ b/Sources/Auth/Auth.swift @@ -1,7 +1,10 @@ import Foundation import Combine +#if SWIFT_PACKAGE public typealias VerifyContext = WalletConnectVerify.VerifyContext +#endif + /// Auth instatnce wrapper /// /// ```Swift diff --git a/Sources/WalletConnectSign/Sign/Sign.swift b/Sources/WalletConnectSign/Sign/Sign.swift index b4935c681..b140c6fc9 100644 --- a/Sources/WalletConnectSign/Sign/Sign.swift +++ b/Sources/WalletConnectSign/Sign/Sign.swift @@ -1,7 +1,9 @@ import Foundation import Combine +#if SWIFT_PACKAGE public typealias VerifyContext = WalletConnectVerify.VerifyContext +#endif /// Sign instatnce wrapper /// diff --git a/Sources/Web3Wallet/Web3Wallet.swift b/Sources/Web3Wallet/Web3Wallet.swift index fdc122e76..4745d2989 100644 --- a/Sources/Web3Wallet/Web3Wallet.swift +++ b/Sources/Web3Wallet/Web3Wallet.swift @@ -1,7 +1,10 @@ import Foundation import Combine +#if SWIFT_PACKAGE public typealias VerifyContext = WalletConnectVerify.VerifyContext +#endif + /// Web3Wallet instance wrapper /// /// ```Swift