Skip to content

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed Apr 22, 2024
1 parent d53e10d commit 2f52b71
Show file tree
Hide file tree
Showing 56 changed files with 85 additions and 85 deletions.
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Common/KeyPoint.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif


Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Common/NodeDetails.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class NodeDetails {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Common/PrivateKey.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class PrivateKey {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Common/ShareStore.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class ShareStore {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Common/TssOptions.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class TssOptions {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/GenerateShareStoreResult.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class GenerateShareStoreResult {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/KeyDetails.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class KeyDetails {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/KeyPointArray.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public class KeyPointArray {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/KeyReconstructionDetails.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class KeyReconstructionDetails: Codable {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/LocalMetadataTransitions.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class LocalMetadataTransitions {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Metadata.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class Metadata {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Modules/PrivateKeysModule.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public struct KeyData: Decodable {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Modules/SecurityQuestionModule.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class SecurityQuestionModule {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Modules/SeedPhraseModule.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public struct SeedPhrase: Codable {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Modules/ShareSerializationModule.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class ShareSerializationModule {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Modules/ShareTransferModule.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class ShareTransferModule {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Modules/TssModule.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Foundation

import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif
import FetchNodeDetails
import TorusUtils
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Polynomial.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class Polynomial {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/PublicPolynomial.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class PublicPolynomial {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/RssComm.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class RssComm {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/ServiceProvider.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation
import TorusUtils
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif
import FetchNodeDetails

Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/ShareMap.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class ShareMap {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/ShareStoreArray.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public class ShareStoreArray {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/ShareStoreMap.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class ShareStoreMap {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/ShareStorePolyIdIndexMap.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class ShareStorePolyIdIndexMap {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/ShareTransferStore.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

public final class ShareTransferStore {
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/StorageLayer.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif


Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/ThresholdKey.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif
import FetchNodeDetails
import TorusUtils
Expand Down
4 changes: 2 additions & 2 deletions Sources/ThresholdKey/Version.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
#if canImport(tkey)
import tkey
#if canImport(lib)
import lib
#endif

/// Returns the library version.
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/IntegrationTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FetchNodeDetails
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import TorusUtils
import XCTest

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgPrivateKeyModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgSecurityQuestionModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgSeedPhraseModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgShareSerializationModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgShareTransferModuleTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_base.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import TorusUtils

class tkey_baseTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgGenerateShareStoreResultTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgKeyDetailsTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgKeyPointArrayTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgKeyPointTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgKeyReconstructionDetailsTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgLocalMetadataTransitionsTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgMetadataTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgMetadataTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgNodeDetailsTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgNodeDetailsTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_mpc_swift
@testable import tkey
import Foundation

final class tkey_pkgPolynomialTests: XCTestCase {
Expand Down
Loading

0 comments on commit 2f52b71

Please sign in to comment.