diff --git a/Package.resolved b/Package.resolved index dacbf1a7..bfb176db 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/attaswift/BigInt.git", "state" : { - "revision" : "793a7fac0bfc318e85994bf6900652e827aef33e", - "version" : "5.4.1" + "revision" : "0ed110f7555c34ff468e72e1686e59721f2b0da6", + "version" : "5.3.0" } }, { @@ -14,8 +14,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/tkey/curvelib.swift", "state" : { - "revision" : "9f88bd5e56d1df443a908f7a7e81ae4f4d9170ea", - "version" : "1.0.1" + "revision" : "432bf1abe7ff505fc2ac9fcf697341ff5b2dc6d0", + "version" : "2.0.0" } }, { @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/torusresearch/fetch-node-details-swift", "state" : { - "branch" : "encapsulate_torusnetwork", - "revision" : "2fcd108ea89a48f092a955017977a299129d20c7" + "revision" : "52fb5efaa94e0fe3775913ab00964bcb51601c2a", + "version" : "8.0.0" } }, { @@ -41,8 +41,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-crypto.git", "state" : { - "revision" : "ffca28be3c9c6a86a579949d23f68818a4b9b5d8", - "version" : "3.8.0" + "revision" : "f0525da24dc3c6cbb2b6b338b65042bc91cbc4bb", + "version" : "3.3.0" } } ], diff --git a/Package.swift b/Package.swift index 5baef24c..0d3281cc 100644 --- a/Package.swift +++ b/Package.swift @@ -4,15 +4,15 @@ import PackageDescription let package = Package( name: "TorusUtils", - platforms: [.iOS(.v13), .macOS(.v10_15)], + platforms: [.iOS(.v14), .macOS(.v10_15)], products: [ .library( name: "TorusUtils", targets: ["TorusUtils"]) ], dependencies: [ - .package(url: "https://github.com/tkey/curvelib.swift", from: "1.0.1"), - .package(url: "https://github.com/torusresearch/fetch-node-details-swift", branch: "encapsulate_torusnetwork"), // TODO: Update to 7.0.0 + .package(url: "https://github.com/tkey/curvelib.swift", from: "2.0.0"), + .package(url: "https://github.com/torusresearch/fetch-node-details-swift", from: "8.0.0"), // NB: jwt-kit may only be a dependency in tests or it will break cocoapod support .package(url: "https://github.com/vapor/jwt-kit.git", from: "4.0.0"), ], diff --git a/README.md b/README.md index 3cbecc7f..1518a411 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ You can install the TorusUtils using Swift Package Manager: ... dependencies: [ ... - .package(url: "https://github.com/torusresearch/torus-utils-swift", from: "9.0.0") + .package(url: "https://github.com/torusresearch/torus-utils-swift", from: "10.0.0") ], targets: [ .target( name: "", @@ -30,7 +30,7 @@ Or CocoaPods: ``` ... - pod 'Torus-utils', '~> 9.0.0' + pod 'Torus-utils', '~> 10.0.0' ... ``` @@ -38,7 +38,7 @@ Or CocoaPods: Initialize the `TorusUtils` class by passing `TorusOptions` as params. Params includes `TorusNetwork`, `enableOneKey`, and your `clientId`. `enableOneKey` if true, adds the nonce value to the key, to make it compatible with v2 users. The package supports both legacy and sapphire networks. ```swift - let torusUtils = TorusUtils(params: TorusOptions(clientId: "YOUR_CLIENT_ID", network: .sapphire(.SAPPHIRE_MAINNET), enableOneKey: true)) + let torusUtils = TorusUtils(params: TorusOptions(clientId: "YOUR_CLIENT_ID", network: .SAPPHIRE_MAINNET, enableOneKey: true)) ``` diff --git a/Torus-utils.podspec b/Torus-utils.podspec index 2de94961..d55823b1 100644 --- a/Torus-utils.podspec +++ b/Torus-utils.podspec @@ -10,6 +10,6 @@ Pod::Spec.new do |spec| spec.module_name = "TorusUtils" spec.source = { :git => "https://github.com/torusresearch/torus-utils-swift.git", :tag => spec.version } spec.source_files = "Sources/TorusUtils/*.{swift,json}","Sources/TorusUtils/**/*.{swift,json}" - spec.dependency 'Torus-fetchNodeDetails', '~> 7.0.0' - spec.dependency 'curvelib.swift', '~> 1.0.1' + spec.dependency 'Torus-fetchNodeDetails', '~> 8.0.0' + spec.dependency 'curvelib.swift', '~> 2.0.0' end diff --git a/cocoapods/Podfile.lock b/cocoapods/Podfile.lock index b2c3d277..55b97770 100644 --- a/cocoapods/Podfile.lock +++ b/cocoapods/Podfile.lock @@ -1,11 +1,11 @@ PODS: - BigInt (5.2.0) - - curvelib.swift (1.0.1) - - Torus-fetchNodeDetails (6.0.3): + - curvelib.swift (2.0.0) + - Torus-fetchNodeDetails (8.0.0): - BigInt (~> 5.2.0) - - Torus-utils (9.0.0): - - curvelib.swift (~> 1.0.1) - - Torus-fetchNodeDetails (~> 6.0.3) + - Torus-utils (10.0.0): + - curvelib.swift (~> 2.0.0) + - Torus-fetchNodeDetails (~> 8.0.0) DEPENDENCIES: - Torus-utils (from `../`) @@ -22,10 +22,10 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: BigInt: f668a80089607f521586bbe29513d708491ef2f7 - curvelib.swift: d0746ae82bee34016c06da3567a97e493b3c979f - Torus-fetchNodeDetails: 6c349f47cbca36a4b3f276fe26d03c1b39b20949 - Torus-utils: 0f993fffd66a66a0423092c9ddea2cbff4d298df + curvelib.swift: b9223e5cac801effed8a5fe8968e952b3fe427a5 + Torus-fetchNodeDetails: 2a5fbb222ec28af4128d64e4c2d520c7db456b78 + Torus-utils: 4a1db3d9c1aa221df312ffa7ec154e7e4719850a PODFILE CHECKSUM: 2d35466879f2d32f53c6ccbca958796c381f0e62 -COCOAPODS: 1.13.0 +COCOAPODS: 1.15.2