Skip to content

Commit 7214d09

Browse files
committed
refactor: update dependency
1 parent 8b3fce3 commit 7214d09

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
dependencies: [
1313
.package(name: "BigInt", url: "https://github.com/attaswift/BigInt.git", from: "5.3.0"),
1414
.package(name: "CryptoSwift", url: "https://github.com/krzyzanowskim/CryptoSwift.git",from: "1.7.2"),
15-
.package(name: "curvelib.swift", url: "https://github.com/tkey/curvelib.swift", .branch("extension")),
15+
.package(name: "curvelib.swift", url: "https://github.com/tkey/curvelib.swift", from: "0.1.0"),
1616
.package(name: "SocketIO", url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "16.0.1")),
1717
],
1818
targets: [
@@ -25,7 +25,7 @@ let package = Package(
2525
),
2626
.target(
2727
name: "tss-client-swift",
28-
dependencies: ["BigInt", "CryptoSwift", "curvelib.swift", "SocketIO", "dkls"]),
28+
dependencies: ["BigInt", "CryptoSwift", .product(name: "curveSecp256k1", package: "curvelib.swift"), "SocketIO", "dkls"]),
2929
.testTarget(
3030
name: "tss-client-swiftTests",
3131
dependencies: ["tss-client-swift", "BigInt"]),

Sources/tss-client-swift/Helpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import BigInt
2-
import curvelib_swift
32
import CryptoKit
43
import CryptoSwift
54
import Foundation
5+
import curveSecp256k1
66

77
public class TSSHelpers {
88
// singleton class

Sources/tss-client-swift/dkls/ChaChaRng.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Foundation
2-
import curvelib_swift
2+
import curveSecp256k1
33
#if canImport(dkls)
44
import dkls
55
#endif

Tests/tss-client-swiftTests/tss_client_swiftTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import BigInt
22
import tss_client_swift
3-
import curvelib_swift
3+
import curveSecp256k1
44
import XCTest
55

66
final class tss_client_swiftTests: XCTestCase {

0 commit comments

Comments
 (0)