-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove wait clients connected, refactor push protocol method
- Loading branch information
1 parent
3938dfc
commit 81c4fd7
Showing
6 changed files
with
23 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
Sources/WalletConnectPairing/Push/PushProposeProtocolMethod.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import Foundation | ||
import WalletConnectNetworking | ||
|
||
struct PushProposeProtocolMethod: ProtocolMethod { | ||
let method: String = "wc_pushPropose" | ||
|
||
let requestConfig: RelayConfig = RelayConfig(tag: 111, prompt: true, ttl: 300) | ||
|
||
let responseConfig: RelayConfig = RelayConfig(tag: 112, prompt: true, ttl: 300) | ||
} | ||
|
||
struct PushRequestParams: Codable {} |
26 changes: 0 additions & 26 deletions
26
Sources/WalletConnectPairing/Push/PushProtocolMethod.swift
This file was deleted.
Oops, something went wrong.