File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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
1010public 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
You can’t perform that action at this time.
0 commit comments