Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Sources/Web3Modal/Core/W3MAPIInteractor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ final class W3MAPIInteractor: ObservableObject {
search: search,
projectId: Web3Modal.config.projectId,
metadata: Web3Modal.config.metadata,
recommendedIds: Web3Modal.config.recommendedWalletIds,
excludedIds: Web3Modal.config.excludedWalletIds
includeIds: Web3Modal.config.recommendedWalletIds,
excludeIds: Web3Modal.config.excludedWalletIds
)

let httpClient = HTTPNetworkClient(host: "api.web3modal.com")
Expand Down Expand Up @@ -113,8 +113,8 @@ final class W3MAPIInteractor: ObservableObject {
search: "",
projectId: Web3Modal.config.projectId,
metadata: Web3Modal.config.metadata,
recommendedIds: Web3Modal.config.recommendedWalletIds,
excludedIds: Web3Modal.config.excludedWalletIds
includeIds: Web3Modal.config.recommendedWalletIds,
excludeIds: Web3Modal.config.excludedWalletIds
)
)
)
Expand Down
8 changes: 4 additions & 4 deletions Sources/Web3Modal/Networking/Web3ModalAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ enum Web3ModalAPI: HTTPService {
let search: String?
let projectId: String
let metadata: AppMetadata
let recommendedIds: [String]
let excludedIds: [String]
let includeIds: [String]
let excludeIds: [String]
}

struct GetIosDataParams {
Expand Down Expand Up @@ -44,8 +44,8 @@ enum Web3ModalAPI: HTTPService {
"page": "\(params.page)",
"entries": "\(params.entries)",
"search": params.search ?? "",
"recommendedIds": params.recommendedIds.joined(separator: ","),
"excludedIds": params.excludedIds.joined(separator: ","),
"include": params.includeIds.joined(separator: ","),
"exclude": params.excludeIds.joined(separator: ","),
"platform": "ios",
]
.compactMapValues { value in
Expand Down