Skip to content

Commit 8cffa32

Browse files
Merge pull request #694 from JeneaVranceanu/fix/module-name
fix: module name
2 parents 28f7531 + a16c3d7 commit 8cffa32

File tree

159 files changed

+88
-88
lines changed

Some content is hidden

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

159 files changed

+88
-88
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ let package = Package(
1818
targets: [
1919
.target(name: "secp256k1"),
2020
.target(
21-
name: "Core",
21+
name: "Web3Core",
2222
dependencies: ["BigInt", "secp256k1", "CryptoSwift"]
2323
),
2424
.target(
2525
name: "web3swift",
26-
dependencies: ["Core", "BigInt", "secp256k1"],
26+
dependencies: ["Web3Core", "BigInt", "secp256k1"],
2727
resources: [
2828
.copy("./Browser/browser.js"),
2929
.copy("./Browser/browser.min.js"),

README.md

Lines changed: 1 addition & 1 deletion

Sources/Core/EthereumABI/ABIElements.swift renamed to Sources/Web3Core/EthereumABI/ABIElements.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ extension ABI.Element {
262262

263263
extension ABI.Element.Function {
264264
public func decodeInputData(_ rawData: Data) -> [String: Any]? {
265-
return Core.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
265+
return Web3Core.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
266266
}
267267

268268
/// Decodes data returned by a function call. Able to decode `revert(string)`, `revert CustomError(...)` and `require(expression, string)` calls.
@@ -432,7 +432,7 @@ extension ABI.Element.Function {
432432

433433
extension ABI.Element.Constructor {
434434
public func decodeInputData(_ rawData: Data) -> [String: Any]? {
435-
return Core.decodeInputData(rawData, inputs: inputs)
435+
return Web3Core.decodeInputData(rawData, inputs: inputs)
436436
}
437437
}
438438

0 commit comments

Comments
 (0)