Skip to content

Commit

Permalink
Metadata.redirect required on init
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-lsvk committed Nov 2, 2023
1 parent cbde018 commit f5ec6e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/WalletConnectPairing/Types/AppMetadata.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public struct AppMetadata: Codable, Equatable {

public struct Redirect: Codable, Equatable {
/// Native deeplink URL string.
public let native: String
public let native: String?

/// Universal link URL string.
public let universal: String?
Expand Down Expand Up @@ -61,7 +61,7 @@ public struct AppMetadata: Codable, Equatable {
description: String,
url: String,
icons: [String],
redirect: Redirect?
redirect: Redirect
) {
self.name = name
self.description = description
Expand Down

0 comments on commit f5ec6e9

Please sign in to comment.