forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor Wasm WebSocket transport * Move boilerplate code from connection states to the WsContext * Fix the bug when the WsIncomingReceiver is opened, but the transport closes * Configure the Electrum client to work in the browser * Remove host_electrum_connect, host_electrum_is_connected, host_electrum_request, host_electrum_reply from defined-in-js.js * Implement the rpc_clients::connect_loop wasm version * Add wasm_ws::ws_transport that filters and maps the incoming WebSocketEvent * Extend the wasm_build's index.html example * Fix electrum_request timeout on WASM * Add the 'FutureTimeoutExt' trait that works on WASM * Fix electrum metrics * Roll back prices.rs portfolio.rs * Add WS and WSS protocols to the electrum request * Add the handling of the WS closure reason * Add the 'reason' field to 'WebSocketEvent::Closing', 'WebSocketEvent::Closed' * Add the 'ClosureReason' variant
- Loading branch information
1 parent
aefe61a
commit 7773ae5
Showing
17 changed files
with
836 additions
and
536 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.