Skip to content

Commit

Permalink
Merge pull request #1382 from WalletConnect/link-mode-fix
Browse files Browse the repository at this point in the history
fix linkmode response encoding
  • Loading branch information
llbartekll authored Jul 14, 2024
2 parents d7dafbc + 73e39aa commit 1164e53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ final class LinkEnvelopesDispatcher {
}

private func serializeAndCreateUrl(peerUniversalLink: String, encodable: Encodable, envelopeType: Envelope.EnvelopeType, topic: String) throws -> URL {
let envelope = try serializer.serialize(topic: topic, encodable: encodable, envelopeType: envelopeType)
let envelope = try serializer.serialize(topic: topic, encodable: encodable, envelopeType: envelopeType, codingType: .base64UrlEncoded)

guard var components = URLComponents(string: peerUniversalLink) else { throw URLError(.badURL) }

Expand Down

0 comments on commit 1164e53

Please sign in to comment.