We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c5a1b8 commit e2e5e74Copy full SHA for e2e5e74
mithril-client-wasm/src/client_wasm.rs
@@ -15,6 +15,8 @@ use mithril_client::{
15
use crate::certificate_verification_cache::LocalStorageCertificateVerifierCache;
16
use crate::WasmResult;
17
18
+const CLIENT_TYPE_WASM: &str = "WASM";
19
+
20
#[wasm_bindgen]
21
struct JSBroadcastChannelFeedbackReceiver {
22
channel: String,
@@ -100,6 +102,7 @@ impl MithrilClient {
100
102
.add_feedback_receiver(feedback_receiver)
101
103
.with_options(client_options.clone())
104
.with_origin_tag(client_options.origin_tag.clone())
105
+ .with_client_type(Some(CLIENT_TYPE_WASM.to_string()))
106
.with_certificate_verifier_cache(certificate_verifier_cache.clone())
107
.build()
108
.map_err(|err| format!("{err:?}"))
0 commit comments