Skip to content

Commit

Permalink
Merge pull request WalletConnect#844 from WalletConnect/verify-api-co…
Browse files Browse the repository at this point in the history
…coapods

Add verify cocoapods imports
  • Loading branch information
Alexander Lisovik authored May 17, 2023
2 parents 2eb9643 + 9c1515b commit 4b56ab8
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion Sources/WalletConnectVerify/AppAttestationRegistrer.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Foundation
import DeviceCheck
import WalletConnectUtils
import CryptoKit

class AppAttestationRegistrer {
Expand Down
1 change: 0 additions & 1 deletion Sources/WalletConnectVerify/AttestKeyGenerator.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import DeviceCheck
import Foundation
import WalletConnectUtils

protocol AttestKeyGenerating {
func generateKeys() async throws -> String
Expand Down
1 change: 0 additions & 1 deletion Sources/WalletConnectVerify/OriginVerifier.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
import WalletConnectNetworking

public final class OriginVerifier {
enum Errors: Error {
Expand Down
1 change: 0 additions & 1 deletion Sources/WalletConnectVerify/Register/VerifyService.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
import WalletConnectNetworking

enum VerifyAPI: HTTPService {
case resolve(assertionId: String)
Expand Down
3 changes: 0 additions & 3 deletions Sources/WalletConnectVerify/VerifyClient.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import DeviceCheck
import Foundation

import WalletConnectUtils
import WalletConnectNetworking

public actor VerifyClient {
enum Errors: Error {
case attestationNotSupported
Expand Down
1 change: 0 additions & 1 deletion Sources/WalletConnectVerify/VerifyClientFactory.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
import WalletConnectUtils

public class VerifyClientFactory {
public static func create(verifyHost: String?) throws -> VerifyClient? {
Expand Down
4 changes: 4 additions & 0 deletions Sources/WalletConnectVerify/VerifyImports.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#if !CocoaPods
@_exported import WalletConnectUtils
@_exported import WalletConnectNetworking
#endif

0 comments on commit 4b56ab8

Please sign in to comment.