Skip to content

Commit

Permalink
refactor: rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed Jan 10, 2024
1 parent e2ab8ad commit 3600c92
Show file tree
Hide file tree
Showing 28 changed files with 32 additions and 32 deletions.
10 changes: 5 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
import PackageDescription

let package = Package(
name: "tkey_pkg",
name: "tkey-mpc-swift",
platforms: [
.iOS(SupportedPlatform.IOSVersion.v14),
.iOS(SupportedPlatform.IOSVersion.v15)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "ThresholdKey",
targets: ["tkey-pkg"]),
targets: ["tkey-mpc-swift"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
Expand All @@ -33,13 +33,13 @@ let package = Package(
path: "Sources/libtkey"
),
.target(
name: "tkey-pkg",
name: "tkey-mpc-swift",
dependencies: ["lib", "TorusUtils"],
path: "Sources/ThresholdKey"
),
.testTarget(
name: "tkey-pkgTests",
dependencies: ["tkey-pkg", "CryptoSwift", .product(name: "JWTKit", package: "jwt-kit")],
dependencies: ["tkey-mpc-swift", "CryptoSwift", .product(name: "JWTKit", package: "jwt-kit")],
path: "Tests/tkeypkgTests"
),
]
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/IntegrationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import FetchNodeDetails
import Foundation
import TorusUtils
import XCTest
@testable import tkey_pkg
@testable import tkey_mpc_swift

final class integrationTests: XCTestCase {
func test_TssModule() async throws {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
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_pkg
@testable import tkey_mpc_swift
import Foundation

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

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

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

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

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

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

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

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

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

final class tkey_pkgThresholdKeyTests: XCTestCase {
func test_basic_threshold_key_reconstruct() async {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgTssOptionsTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_mpc_swift
import Foundation

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

final class tkey_pkgVersionTests: XCTestCase {
func test_library_version() {
Expand Down

0 comments on commit 3600c92

Please sign in to comment.