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

Commit 5817275

Browse files
authored
Remove Web5-related code (#30)
1 parent 75c21f7 commit 5817275

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2
-3829
lines changed

Package.swift

Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -14,68 +14,23 @@ let package = Package(
1414
)
1515
],
1616
dependencies: [
17-
.package(url: "https://github.com/GigaBitcoin/secp256k1.swift.git", from: "0.14.0"),
18-
.package(url: "https://github.com/swift-extras/swift-extras-base64.git", from: "0.7.0"),
19-
.package(url: "https://github.com/pointfreeco/swift-custom-dump.git", from: "1.1.2"),
2017
.package(url: "https://github.com/Frizlab/swift-typeid.git", from: "0.3.0"),
2118
.package(url: "https://github.com/flight-school/anycodable.git", from: "0.6.7"),
22-
.package(url: "https://github.com/WeTransfer/Mocker.git", .upToNextMajor(from: "3.0.1")),
19+
.package(url: "https://github.com/TBD54566975/web5-swift", exact: "0.0.1"),
2320
],
2421
targets: [
25-
// Web5 Library target
26-
.target(
27-
name: "Web5",
28-
dependencies: [
29-
.product(name: "secp256k1", package: "secp256k1.swift"),
30-
.product(name: "ExtrasBase64", package: "swift-extras-base64"),
31-
]
32-
),
33-
// Web5 test utilities target
34-
.target(
35-
name: "Web5TestUtilities",
36-
dependencies: [
37-
.product(name: "CustomDump", package: "swift-custom-dump")
38-
]
39-
),
40-
// Web5 unit test target
41-
.testTarget(
42-
name: "Web5Tests",
43-
dependencies: [
44-
"Web5",
45-
"Web5TestUtilities",
46-
]
47-
),
48-
// Web5 test vectors target
49-
.testTarget(
50-
name: "Web5TestVectors",
51-
dependencies: [
52-
"Web5",
53-
"Web5TestUtilities",
54-
.product(name: "Mocker", package: "Mocker"),
55-
],
56-
resources: [
57-
.copy("Resources/crypto_ed25519"),
58-
.copy("Resources/crypto_es256k"),
59-
.copy("Resources/did_jwk"),
60-
.copy("Resources/did_web"),
61-
.copy("Resources/did"),
62-
]
63-
),
64-
// tbDEX library target
6522
.target(
6623
name: "tbDEX",
6724
dependencies: [
68-
"Web5",
25+
.product(name: "Web5", package: "web5-swift"),
6926
.product(name: "TypeID", package: "swift-typeid"),
7027
.product(name: "AnyCodable", package: "anycodable"),
7128
]
7229
),
73-
// tbDEX unit test target
7430
.testTarget(
7531
name: "tbDEXTests",
7632
dependencies: [
7733
"tbDEX",
78-
"Web5TestUtilities",
7934
]
8035
),
8136
]

Sources/Web5/Common/Base64URL.swift

Lines changed: 0 additions & 26 deletions
This file was deleted.

Sources/Web5/Common/OneOrMany.swift

Lines changed: 0 additions & 33 deletions
This file was deleted.

Sources/Web5/Common/Regex.swift

Lines changed: 0 additions & 31 deletions
This file was deleted.

Sources/Web5/Common/ZBase32.swift

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)