Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Remove Web5-related code (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
amika-sq authored Jan 31, 2024
1 parent 75c21f7 commit 5817275
Show file tree
Hide file tree
Showing 56 changed files with 2 additions and 3,829 deletions.
49 changes: 2 additions & 47 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,68 +14,23 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/GigaBitcoin/secp256k1.swift.git", from: "0.14.0"),
.package(url: "https://github.com/swift-extras/swift-extras-base64.git", from: "0.7.0"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump.git", from: "1.1.2"),
.package(url: "https://github.com/Frizlab/swift-typeid.git", from: "0.3.0"),
.package(url: "https://github.com/flight-school/anycodable.git", from: "0.6.7"),
.package(url: "https://github.com/WeTransfer/Mocker.git", .upToNextMajor(from: "3.0.1")),
.package(url: "https://github.com/TBD54566975/web5-swift", exact: "0.0.1"),
],
targets: [
// Web5 Library target
.target(
name: "Web5",
dependencies: [
.product(name: "secp256k1", package: "secp256k1.swift"),
.product(name: "ExtrasBase64", package: "swift-extras-base64"),
]
),
// Web5 test utilities target
.target(
name: "Web5TestUtilities",
dependencies: [
.product(name: "CustomDump", package: "swift-custom-dump")
]
),
// Web5 unit test target
.testTarget(
name: "Web5Tests",
dependencies: [
"Web5",
"Web5TestUtilities",
]
),
// Web5 test vectors target
.testTarget(
name: "Web5TestVectors",
dependencies: [
"Web5",
"Web5TestUtilities",
.product(name: "Mocker", package: "Mocker"),
],
resources: [
.copy("Resources/crypto_ed25519"),
.copy("Resources/crypto_es256k"),
.copy("Resources/did_jwk"),
.copy("Resources/did_web"),
.copy("Resources/did"),
]
),
// tbDEX library target
.target(
name: "tbDEX",
dependencies: [
"Web5",
.product(name: "Web5", package: "web5-swift"),
.product(name: "TypeID", package: "swift-typeid"),
.product(name: "AnyCodable", package: "anycodable"),
]
),
// tbDEX unit test target
.testTarget(
name: "tbDEXTests",
dependencies: [
"tbDEX",
"Web5TestUtilities",
]
),
]
Expand Down
26 changes: 0 additions & 26 deletions Sources/Web5/Common/Base64URL.swift

This file was deleted.

33 changes: 0 additions & 33 deletions Sources/Web5/Common/OneOrMany.swift

This file was deleted.

31 changes: 0 additions & 31 deletions Sources/Web5/Common/Regex.swift

This file was deleted.

105 changes: 0 additions & 105 deletions Sources/Web5/Common/ZBase32.swift

This file was deleted.

Loading

0 comments on commit 5817275

Please sign in to comment.