v0.5.1-pre.008
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: kb-app-demo-desktop/src/tauri.rs
|
||||
// version: 37
|
||||
// version: 38
|
||||
|
||||
//! Tauri runtime assembly and private command wrappers.
|
||||
|
||||
@@ -257,7 +257,7 @@ fn open_demo_http_window(
|
||||
#[tauri::command]
|
||||
fn demo_http_list_pool_clients(
|
||||
state: tauri::State<'_, crate::AppState>,
|
||||
) -> std::vec::Vec<ks_onchain_transport::HttpPoolClientSnapshot> {
|
||||
) -> std::vec::Vec<crate::DemoHttpEndpointPayload> {
|
||||
return crate::demo_http_list_pool_clients(state);
|
||||
}
|
||||
|
||||
@@ -284,10 +284,7 @@ fn open_demo_ws_window(
|
||||
#[tauri::command]
|
||||
fn demo_ws_list_pool_clients(
|
||||
state: tauri::State<'_, crate::AppState>,
|
||||
) -> std::result::Result<
|
||||
std::vec::Vec<ks_onchain_transport::WsPoolClientSnapshot>,
|
||||
std::string::String,
|
||||
> {
|
||||
) -> std::result::Result<std::vec::Vec<crate::DemoWsEndpointPayload>, std::string::String> {
|
||||
return crate::demo_ws_list_pool_clients(state);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user