From c9cd55a90b45f6a86e20033beee0b3c9cb6951d0 Mon Sep 17 00:00:00 2001 From: metalurgical <97008724+metalurgical@users.noreply.github.com> Date: Wed, 10 Jan 2024 07:45:44 +0200 Subject: [PATCH] refactor: remove dashes from package name --- Package.swift | 10 +++++----- Tests/tkeypkgTests/IntegrationTests.swift | 2 +- .../modules/tkey_pkgPrivateKeysModuleTests.swift | 2 +- .../modules/tkey_pkgSecurityQuestionModuleTests.swift | 2 +- .../modules/tkey_pkgSeedPhraseModuleTests.swift | 2 +- .../tkey_pkgShareSerializationModuleTests.swift | 2 +- .../modules/tkey_pkgShareTransferModuleTests.swift | 2 +- Tests/tkeypkgTests/tkey_base.swift | 2 +- .../tkey_pkgGenerateShareStoreResultTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift | 2 +- Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift | 2 +- .../tkey_pkgKeyReconstructionDetailsTests.swift | 2 +- .../tkey_pkgLocalMetadataTransitionsTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgMetadataTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgNodeDetailsTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift | 2 +- .../tkey_pkgShareStorePolyIdIndexMapTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgTssOptionsTests.swift | 2 +- Tests/tkeypkgTests/tkey_pkgVersionTests.swift | 2 +- 28 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Package.swift b/Package.swift index a9a4b92..1cccda2 100644 --- a/Package.swift +++ b/Package.swift @@ -4,15 +4,15 @@ import PackageDescription let package = Package( - name: "tkey-mpc-swift", + name: "tKeyMPCSwift", platforms: [ .iOS(SupportedPlatform.IOSVersion.v15) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( - name: "tkey-mpc-swift", - targets: ["tkey-mpc-swift"]), + name: "tKeyMPCSwift", + targets: ["tKeyMPCSwift"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. @@ -33,13 +33,13 @@ let package = Package( path: "Sources/libtkey" ), .target( - name: "tkey-mpc-swift", + name: "tKeyMPCSwift", dependencies: ["lib", "TorusUtils"], path: "Sources/ThresholdKey" ), .testTarget( name: "tkey-pkgTests", - dependencies: ["tkey-mpc-swift", "CryptoSwift", .product(name: "JWTKit", package: "jwt-kit")], + dependencies: ["tKeyMPCSwift", "CryptoSwift", .product(name: "JWTKit", package: "jwt-kit")], path: "Tests/tkeypkgTests" ), ] diff --git a/Tests/tkeypkgTests/IntegrationTests.swift b/Tests/tkeypkgTests/IntegrationTests.swift index 964764c..a927bb5 100644 --- a/Tests/tkeypkgTests/IntegrationTests.swift +++ b/Tests/tkeypkgTests/IntegrationTests.swift @@ -3,7 +3,7 @@ import FetchNodeDetails import Foundation import TorusUtils import XCTest -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift final class integrationTests: XCTestCase { func test_TssModule() async throws { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift index b54c4c6..7b4f369 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgPrivateKeyModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift index 3ec78ca..c3cd6fb 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgSecurityQuestionModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift index e0e0333..a3256ef 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgSeedPhraseModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift index c6ff2b7..aff5fb5 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgShareSerializationModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift index 06e23ee..6857c3f 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgShareTransferModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_base.swift b/Tests/tkeypkgTests/tkey_base.swift index da98a90..393349a 100644 --- a/Tests/tkeypkgTests/tkey_base.swift +++ b/Tests/tkeypkgTests/tkey_base.swift @@ -8,7 +8,7 @@ import Foundation import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import TorusUtils class tkey_baseTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift b/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift index 1834045..b27d481 100644 --- a/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgGenerateShareStoreResultTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift b/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift index ed0777c..8e09b2d 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgKeyDetailsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift b/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift index 16992fc..ce05b0b 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgKeyPointArrayTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift b/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift index 7384f09..2ba02f8 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgKeyPointTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift b/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift index bac4944..8454e77 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgKeyReconstructionDetailsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift b/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift index d74fc08..8aac800 100644 --- a/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgLocalMetadataTransitionsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift b/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift index fb029cf..26148f8 100644 --- a/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgMetadataTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgNodeDetailsTests.swift b/Tests/tkeypkgTests/tkey_pkgNodeDetailsTests.swift index f325a4c..632d4f9 100644 --- a/Tests/tkeypkgTests/tkey_pkgNodeDetailsTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgNodeDetailsTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgNodeDetailsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift b/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift index 51372fe..fac6f40 100644 --- a/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgPolynomialTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift b/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift index 2d33d73..d9e0837 100644 --- a/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgPrivateKeyTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift b/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift index 0a34349..9bcb2a6 100644 --- a/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgPublicPolynomialTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift b/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift index 07fdee9..3b412ec 100644 --- a/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgServiceProviderTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift index 0d65220..2f62642 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgShareStoreArrayTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift index fbae2c3..c20530f 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgShareStoreMapTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift index b49f9d2..fd2fbf6 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgShareStorePolyIdIndexMapTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift index be2a0ed..369fba3 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgShareStoreTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift b/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift index d52e46f..1b8a4e5 100644 --- a/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgStorageLayerTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift b/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift index 2a78f9d..3bb0a60 100644 --- a/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift final class tkey_pkgThresholdKeyTests: XCTestCase { func test_basic_threshold_key_reconstruct() async { diff --git a/Tests/tkeypkgTests/tkey_pkgTssOptionsTests.swift b/Tests/tkeypkgTests/tkey_pkgTssOptionsTests.swift index ba34f43..95b5a57 100644 --- a/Tests/tkeypkgTests/tkey_pkgTssOptionsTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgTssOptionsTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift import Foundation final class tkey_pkgTssOptionsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgVersionTests.swift b/Tests/tkeypkgTests/tkey_pkgVersionTests.swift index e3dbe46..c61bec4 100644 --- a/Tests/tkeypkgTests/tkey_pkgVersionTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgVersionTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_mpc_swift +@testable import tKeyMPCSwift final class tkey_pkgVersionTests: XCTestCase { func test_library_version() {