Skip to content

Commit 06b32cf

Browse files
authored
Merge branch 'argentlabs:develop' into patch-1
2 parents e01c1c2 + 942d18d commit 06b32cf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

web3swift/src/Account/TypedData.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ extension TypedData {
8989

9090
let recursiveEncoded: [UInt8] = try valueTypes.flatMap { variable -> [UInt8] in
9191

92-
// Decomposit the type if it is array type
92+
// Decomposite the type if it is array type
9393
let components = variable.type.components(separatedBy: CharacterSet(charactersIn: "[]"))
9494
let parsedType = components[0]
9595

@@ -128,7 +128,7 @@ extension TypedData {
128128
}
129129

130130
private func getParsedType(primaryType: String) -> String {
131-
// Decomposit the type if it is an array type
131+
// Decomposite the type if it is an array type
132132
let components = primaryType.components(separatedBy: CharacterSet(charactersIn: "[]"))
133133
let parsedType = components[0]
134134

web3swift/src/SIWE/SiweMessage+String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ extension SiweMessage: CustomStringConvertible {
8282
/// - https://example.com/my-web2-claim.json
8383
/// ```
8484
/// - Parameter description: the SIWE string message following EIP-4361 standard.
85-
/// - Throws: `SiweMessage.RegExError` if an error occured while parsing the string;
85+
/// - Throws: `SiweMessage.RegExError` if an error occurred while parsing the string;
8686
/// `SiweMessage.ValidationError` in case regex parsing was successful but data in the message was invalid;
8787
/// might throw `DecodingError` since we use `Decodable` to transform parsed values into `SiweMessage`.
8888
public init(_ description: String) throws {

web3swift/src/SIWE/SiweVerifier.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Foundation
88

99
/// An object which will verify if a given `SiweMessage` and signature match with the EVM address provided
1010
public class SiweVerifier {
11-
/// Errors thrown when verifing a given message agains a signature
11+
/// Errors thrown when verifing a given message against a signature
1212
public enum Error: Swift.Error {
1313
/// The provided message is from a different network than the client's.
1414
case differentNetwork

0 commit comments

Comments
 (0)